Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/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_10_Buildings_ThermalZones_Detailed_BaseClasses_Examples_InfraredRadiationExchange",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange,fileNamePrefix="Buildings_10_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.0007425/0.0007424, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.004345/0.004345, allocations: 168.9 kB / 16.26 MB, free: 6.648 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.247/1.247, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.344/2.344, allocations: 437.8 MB / 0.7121 GB, free: 6.992 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003486/0.0003486, allocations: 8 kB / 0.8729 GB, free: 3.238 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5335/0.5339, allocations: 153.8 MB / 1.023 GB, free: 40 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange): time 0.006832/0.5408, allocations: 6.756 MB / 1.03 GB, free: 9.25 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.007018/0.5478, allocations: 5.404 MB / 1.035 GB, free: 3.824 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000942/0.5488, allocations: 39.75 kB / 1.035 GB, free: 3.785 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.00388/0.5527, allocations: 1.583 MB / 1.037 GB, free: 2.195 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.001436/0.5541, allocations: 0.555 MB / 1.037 GB, free: 1.637 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009368/0.5551, allocations: 328.8 kB / 1.037 GB, free: 1.316 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.002986/0.5581, allocations: 3.125 MB / 1.041 GB, free: 14.19 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005772/0.5587, allocations: 0.505 MB / 1.041 GB, free: 13.66 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001081/0.5598, allocations: 0.9724 MB / 1.042 GB, free: 12.68 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00155/0.5613, allocations: 1.549 MB / 1.043 GB, free: 11.13 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.0002399/0.5616, allocations: 120 kB / 1.044 GB, free: 11.01 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005024/0.5621, allocations: 235.8 kB / 1.044 GB, free: 10.78 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0005376/0.5626, allocations: 0.6268 MB / 1.044 GB, free: 10.15 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.001004/0.5636, allocations: 1.144 MB / 1.046 GB, free: 8.996 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.002451/0.5661, allocations: 3.188 MB / 1.049 GB, free: 5.797 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 2.585e-06/0.5661, allocations: 0 / 1.049 GB, free: 5.797 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.353e-06/0.5661, allocations: 0 / 1.049 GB, free: 5.797 MB / 0.795 GB Notification: Performance of Transformations before backend: time 2.27e-05/0.5661, allocations: 0 / 1.049 GB, free: 5.797 MB / 0.795 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.006589/0.5727, allocations: 3.532 MB / 1.052 GB, free: 2.195 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.754e-05/0.5728, allocations: 11.98 kB / 1.052 GB, free: 2.184 MB / 0.795 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001142/0.5729, allocations: 86.7 kB / 1.052 GB, free: 2.09 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003759/0.5733, allocations: 249.8 kB / 1.052 GB, free: 1.844 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002596/0.5759, allocations: 1.878 MB / 1.054 GB, free: 15.9 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.956e-05/0.576, allocations: 61 kB / 1.054 GB, free: 15.84 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002151/0.5762, allocations: 91.94 kB / 1.054 GB, free: 15.75 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001047/0.5772, allocations: 0.713 MB / 1.055 GB, free: 15.04 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.171e-05/0.5773, allocations: 0 / 1.055 GB, free: 15.04 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.428e-05/0.5773, allocations: 20 kB / 1.055 GB, free: 15.02 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.337e-05/0.5773, allocations: 12 kB / 1.055 GB, free: 15 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001429/0.5788, allocations: 0.9874 MB / 1.056 GB, free: 14.01 MB / 0.8106 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.01065/0.5894, allocations: 5.099 MB / 1.061 GB, free: 8.77 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001266/0.5907, allocations: 0.7816 MB / 1.062 GB, free: 7.977 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006249/0.5914, allocations: 0.4934 MB / 1.062 GB, free: 7.48 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 3.37e-05/0.5914, allocations: 7.953 kB / 1.062 GB, free: 7.473 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.572e-05/0.5914, allocations: 46.5 kB / 1.062 GB, free: 7.418 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=44): time 2.094e-06/0.5914, allocations: 0 / 1.062 GB, free: 7.418 MB / 0.8106 GB Notification: Performance of matching and sorting (n=44): time 0.009856/0.6013, allocations: 3.532 MB / 1.066 GB, free: 3.852 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.12e-05/0.6013, allocations: 63.34 kB / 1.066 GB, free: 3.777 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003567/0.6049, allocations: 2.972 MB / 1.069 GB, free: 0.793 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 0.0001858/0.6051, allocations: 53.7 kB / 1.069 GB, free: 0.7344 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008583/0.606, allocations: 0.8515 MB / 1.07 GB, free: 15.87 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001504/0.6061, allocations: 165.7 kB / 1.07 GB, free: 15.71 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002392/0.6064, allocations: 157.6 kB / 1.07 GB, free: 15.55 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001386/0.6065, allocations: 365.9 kB / 1.07 GB, free: 15.18 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001832/0.6084, allocations: 1.37 MB / 1.072 GB, free: 13.81 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00216/0.6105, allocations: 1.62 MB / 1.073 GB, free: 12.18 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002618/0.6132, allocations: 1.926 MB / 1.075 GB, free: 10.25 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.417e-06/0.6132, allocations: 0 / 1.075 GB, free: 10.25 MB / 0.8262 GB Notification: Performance of matching and sorting (n=167) (initialization): time 0.006954/0.6201, allocations: 4.09 MB / 1.079 GB, free: 6.145 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.92e-05/0.6202, allocations: 8 kB / 1.079 GB, free: 6.137 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.655e-06/0.6202, allocations: 0 / 1.079 GB, free: 6.137 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003201/0.6234, allocations: 1.105 MB / 1.08 GB, free: 5.027 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001152/0.6245, allocations: 219.7 kB / 1.08 GB, free: 4.812 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01111/0.6357, allocations: 7.355 MB / 1.088 GB, free: 13.32 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001926/0.6376, allocations: 270 kB / 1.088 GB, free: 13.05 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001767/0.6378, allocations: 40 kB / 1.088 GB, free: 13.02 MB / 0.8419 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.001201/0.639, allocations: 0.798 MB / 1.089 GB, free: 12.21 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003495/0.6394, allocations: 217.1 kB / 1.089 GB, free: 11.99 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005537/0.6399, allocations: 258.6 kB / 1.089 GB, free: 11.73 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.819e-06/0.6399, allocations: 4 kB / 1.089 GB, free: 11.73 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.074e-05/0.64, allocations: 8 kB / 1.089 GB, free: 11.72 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.773e-06/0.64, allocations: 7.984 kB / 1.089 GB, free: 11.71 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001794/0.6418, allocations: 1.244 MB / 1.09 GB, free: 10.42 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/0.6418, allocations: 0 / 1.09 GB, free: 10.42 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.009e-05/0.6418, allocations: 4 kB / 1.09 GB, free: 10.41 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003037/0.6449, allocations: 1.027 MB / 1.091 GB, free: 9.383 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.235e-05/0.6449, allocations: 7.938 kB / 1.091 GB, free: 9.375 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.011/0.6559, allocations: 7.337 MB / 1.099 GB, free: 1.891 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.656, allocations: 0 / 1.099 GB, free: 1.891 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003808/0.6598, allocations: 1.953 MB / 1.1 GB, free: 15.91 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006897/0.6605, allocations: 446 kB / 1.101 GB, free: 15.46 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002507/0.6607, allocations: 8 kB / 1.101 GB, free: 15.45 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006982/0.6614, allocations: 31.88 kB / 1.101 GB, free: 15.42 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001311/0.6616, allocations: 39.88 kB / 1.101 GB, free: 15.38 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.991e-05/0.6616, allocations: 16 kB / 1.101 GB, free: 15.36 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.002905/0.6645, allocations: 2.055 MB / 1.103 GB, free: 13.3 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6645, allocations: 3.938 kB / 1.103 GB, free: 13.3 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.001654/0.6662, allocations: 0.617 MB / 1.104 GB, free: 12.68 MB / 0.8575 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.004406/0.6706, allocations: 2.567 MB / 1.106 GB, free: 10.09 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.005039/0.6757, allocations: 2.846 MB / 1.109 GB, free: 7.23 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.6757, allocations: 0 / 1.109 GB, free: 7.23 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.002277/0.678, allocations: 1.071 MB / 1.11 GB, free: 6.145 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002582/0.6806, allocations: 0.63 MB / 1.111 GB, free: 5.52 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04578/0.7263, allocations: 28.29 MB / 1.138 GB, free: 7.848 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001724/0.7281, allocations: 1.911 MB / 1.14 GB, free: 5.898 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0009037/0.729, allocations: 321.6 kB / 1.14 GB, free: 5.578 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009658/0.73, allocations: 0.7063 MB / 1.141 GB, free: 4.871 MB / 0.8887 GB Notification: Performance of SimCode: time 6.81e-07/0.73, allocations: 0 / 1.141 GB, free: 4.871 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1165/0.8465, allocations: 59.09 MB / 1.199 GB, free: 10.46 MB / 0.9512 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002672/0.8468, allocations: 297.3 kB / 1.199 GB, free: 10.08 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.925/3.772, allocations: 0 / 1.199 GB, free: 10.08 MB / 0.9512 GB (rm -f Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange.pipe ; mkfifo Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange.pipe ; head -c 1048576 < Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange.pipe >> ../files/Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange_res.mat --tempDir=temp_Buildings_10_Buildings_ThermalZones_Detailed_BaseClasses_Examples_InfraredRadiationExchange_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_ThermalZones_Detailed_BaseClasses_Examples_InfraredRadiationExchange.fmu > Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_ThermalZones_Detailed_BaseClasses_Examples_InfraredRadiationExchange.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches