Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange,fileNamePrefix="Buildings_latest_Buildings_ThermalZones_Detailed_BaseClasses_Examples_InfraredRadiationExchange",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange,fileNamePrefix="Buildings_latest_Buildings_ThermalZones_Detailed_BaseClasses_Examples_InfraredRadiationExchange",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004587/0.004587, allocations: 102.1 kB / 15.73 MB, free: 6.492 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001133/0.001133, allocations: 196.4 kB / 16.68 MB, free: 6.375 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.272/1.272, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.489/2.489, allocations: 461.9 MB / 0.7348 GB, free: 14.57 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001131/0.001131, allocations: 63.91 kB / 1.054 GB, free: 7.551 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2682/0.2694, allocations: 157.4 MB / 1.207 GB, free: 10.05 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange): time 0.00806/0.2775, allocations: 7.24 MB / 1.214 GB, free: 2.758 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.007471/0.285, allocations: 5.535 MB / 1.22 GB, free: 13.2 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001021/0.286, allocations: 51.75 kB / 1.22 GB, free: 13.15 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.004106/0.2902, allocations: 1.695 MB / 1.222 GB, free: 11.45 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001341/0.2916, allocations: 0.6281 MB / 1.222 GB, free: 10.82 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001135/0.2927, allocations: 384.9 kB / 1.223 GB, free: 10.44 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.002728/0.2954, allocations: 2.938 MB / 1.225 GB, free: 7.5 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000614/0.2961, allocations: 0.5566 MB / 1.226 GB, free: 6.922 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00129/0.2974, allocations: 1.102 MB / 1.227 GB, free: 5.816 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001586/0.299, allocations: 1.62 MB / 1.229 GB, free: 4.191 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0002888/0.2993, allocations: 196 kB / 1.229 GB, free: 4 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005707/0.2998, allocations: 323.8 kB / 1.229 GB, free: 3.684 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0005778/0.3004, allocations: 0.6971 MB / 1.23 GB, free: 2.984 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.001073/0.3015, allocations: 1.205 MB / 1.231 GB, free: 1.773 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.002816/0.3043, allocations: 3.672 MB / 1.235 GB, free: 14.09 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.3043, allocations: 7.922 kB / 1.235 GB, free: 14.08 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.242e-06/0.3044, allocations: 0 / 1.235 GB, free: 14.08 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.596e-05/0.3044, allocations: 0 / 1.235 GB, free: 14.08 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 112 * Number of variables: 112 Notification: Performance of Generate backend data structure: time 0.005517/0.3099, allocations: 3.466 MB / 1.238 GB, free: 10.55 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.045e-05/0.31, allocations: 8.625 kB / 1.238 GB, free: 10.54 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.959e-05/0.3101, allocations: 86.72 kB / 1.238 GB, free: 10.45 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000322/0.3104, allocations: 249.8 kB / 1.238 GB, free: 10.2 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002705/0.3131, allocations: 1.987 MB / 1.24 GB, free: 8.148 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.437e-05/0.3131, allocations: 65 kB / 1.24 GB, free: 8.086 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001829/0.3133, allocations: 88 kB / 1.24 GB, free: 8 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009276/0.3143, allocations: 0.7168 MB / 1.241 GB, free: 7.277 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.19e-05/0.3143, allocations: 0 / 1.241 GB, free: 7.277 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.774e-05/0.3143, allocations: 16 kB / 1.241 GB, free: 7.262 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.375e-05/0.3144, allocations: 12 kB / 1.241 GB, free: 7.25 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001299/0.3157, allocations: 0.9758 MB / 1.242 GB, free: 6.273 MB / 0.9981 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008518/0.3242, allocations: 4.499 MB / 1.246 GB, free: 1.633 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001166/0.3254, allocations: 0.7867 MB / 1.247 GB, free: 0.8359 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005619/0.3259, allocations: 0.4934 MB / 1.248 GB, free: 348 kB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.096e-05/0.326, allocations: 7.953 kB / 1.248 GB, free: 340 kB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.249e-05/0.326, allocations: 42.5 kB / 1.248 GB, free: 288 kB / 0.9981 GB Notification: Performance of pre-optimization done (n=44): time 2.194e-06/0.326, allocations: 0 / 1.248 GB, free: 288 kB / 0.9981 GB Notification: Performance of matching and sorting (n=44): time 0.6169/0.943, allocations: 3.455 MB / 1.251 GB, free: 37.33 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.338e-05/0.943, allocations: 64.31 kB / 1.251 GB, free: 37.26 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003729/0.9468, allocations: 2.946 MB / 1.254 GB, free: 37.05 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.000352/0.9471, allocations: 51.92 kB / 1.254 GB, free: 37.02 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007219/0.9479, allocations: 0.8615 MB / 1.255 GB, free: 36.88 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001423/0.948, allocations: 154.4 kB / 1.255 GB, free: 36.79 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005434/0.9486, allocations: 332.9 kB / 1.255 GB, free: 36.77 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 8.932e-05/0.9487, allocations: 367.8 kB / 1.256 GB, free: 36.46 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001648/0.9503, allocations: 1.373 MB / 1.257 GB, free: 36.46 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002141/0.9525, allocations: 1.618 MB / 1.259 GB, free: 36.41 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002831/0.9553, allocations: 1.926 MB / 1.261 GB, free: 36.37 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.191e-06/0.9553, allocations: 1.312 kB / 1.261 GB, free: 36.37 MB / 0.9981 GB Notification: Performance of matching and sorting (n=167) (initialization): time 0.008601/0.9639, allocations: 4.086 MB / 1.265 GB, free: 36.11 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.062e-05/0.964, allocations: 4.844 kB / 1.265 GB, free: 36.11 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.276e-05/0.964, allocations: 1.828 kB / 1.265 GB, free: 36.11 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003588/0.9676, allocations: 1.106 MB / 1.266 GB, free: 36.02 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001203/0.9688, allocations: 227.2 kB / 1.266 GB, free: 36 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01155/0.9804, allocations: 7.94 MB / 1.274 GB, free: 32.35 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002131/0.9826, allocations: 257.3 kB / 1.274 GB, free: 32.24 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001478/0.9827, allocations: 42.81 kB / 1.274 GB, free: 32.23 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (126): * Single equations (assignments): 125 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(11,31,46.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001412/0.9841, allocations: 0.8103 MB / 1.275 GB, free: 31.88 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002347/0.9844, allocations: 209.8 kB / 1.275 GB, free: 31.77 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004879/0.9849, allocations: 256.2 kB / 1.275 GB, free: 31.64 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.187e-06/0.9849, allocations: 8.484 kB / 1.275 GB, free: 31.64 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.646e-05/0.985, allocations: 8.625 kB / 1.275 GB, free: 31.64 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.098e-05/0.985, allocations: 2.297 kB / 1.275 GB, free: 31.64 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001417/0.9864, allocations: 1.23 MB / 1.276 GB, free: 31.11 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.9864, allocations: 2.344 kB / 1.276 GB, free: 31.11 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.789e-05/0.9865, allocations: 13.72 kB / 1.276 GB, free: 31.1 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00291/0.9894, allocations: 1.021 MB / 1.277 GB, free: 30.94 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.518e-05/0.9894, allocations: 9.891 kB / 1.277 GB, free: 30.93 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01079/1, allocations: 7.932 MB / 1.285 GB, free: 27.33 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/1, allocations: 0.875 kB / 1.285 GB, free: 27.33 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003705/1.004, allocations: 1.959 MB / 1.287 GB, free: 26.63 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008651/1.005, allocations: 438.3 kB / 1.287 GB, free: 26.36 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001601/1.005, allocations: 10.73 kB / 1.287 GB, free: 26.36 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005192/1.006, allocations: 34.86 kB / 1.287 GB, free: 26.34 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001593/1.006, allocations: 35.92 kB / 1.288 GB, free: 26.34 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.023e-05/1.006, allocations: 10.53 kB / 1.288 GB, free: 26.33 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.003027/1.009, allocations: 2.037 MB / 1.29 GB, free: 25.67 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.31e-07/1.009, allocations: 0 / 1.29 GB, free: 25.67 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.002112/1.011, allocations: 0.61 MB / 1.29 GB, free: 25.62 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(13,29,43.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.004167/1.015, allocations: 2.574 MB / 1.293 GB, free: 24.39 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.00513/1.02, allocations: 2.814 MB / 1.295 GB, free: 23.27 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.018e-06/1.02, allocations: 1.312 kB / 1.295 GB, free: 23.27 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.002129/1.022, allocations: 1.027 MB / 1.296 GB, free: 22.88 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002536/1.025, allocations: 0.6746 MB / 1.297 GB, free: 22.67 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0357/1.061, allocations: 25.21 MB / 1.322 GB, free: 10.99 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001044/1.062, allocations: 1.914 MB / 1.324 GB, free: 9.676 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.00103/1.063, allocations: 333 kB / 1.324 GB, free: 9.59 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007149/1.064, allocations: 0.7113 MB / 1.325 GB, free: 8.957 MB / 0.9981 GB Notification: Performance of SimCode: time 7.01e-07/1.064, allocations: 0 / 1.325 GB, free: 8.957 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09019/1.154, allocations: 62.18 MB / 1.385 GB, free: 11.52 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.38/14.53, allocations: 21.23 kB / 1.385 GB, free: 11.5 MB / 1.061 GB (rm -f Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange.pipe ; mkfifo Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange.pipe ; head -c 1048576 < Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange.pipe >> ../files/Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange_res.mat --tempDir=temp_Buildings_latest_Buildings_ThermalZones_Detailed_BaseClasses_Examples_InfraredRadiationExchange_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_ThermalZones_Detailed_BaseClasses_Examples_InfraredRadiationExchange.fmu > Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_ThermalZones_Detailed_BaseClasses_Examples_InfraredRadiationExchange.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches