Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature.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.RadiationTemperature,fileNamePrefix="Buildings_latest_Buildings_ThermalZones_Detailed_BaseClasses_Examples_RadiationTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature,fileNamePrefix="Buildings_latest_Buildings_ThermalZones_Detailed_BaseClasses_Examples_RadiationTemperature",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.002074/0.002074, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002199/0.002199, allocations: 190.9 kB / 16.25 MB, free: 6.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.086/2.086, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 4.874/4.874, allocations: 461.9 MB / 0.7343 GB, free: 14.97 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002673/0.002673, allocations: 71.3 kB / 0.8987 GB, free: 37.08 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.569/0.5717, allocations: 157.4 MB / 1.052 GB, free: 8.664 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature): time 0.01616/0.5879, allocations: 7.816 MB / 1.06 GB, free: 0.8047 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.01513/0.6031, allocations: 5.302 MB / 1.065 GB, free: 11.48 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003348/0.6065, allocations: 39.81 kB / 1.065 GB, free: 11.45 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.009909/0.6165, allocations: 1.625 MB / 1.067 GB, free: 9.812 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.005082/0.6217, allocations: 0.5704 MB / 1.067 GB, free: 9.238 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.002448/0.6242, allocations: 275.6 kB / 1.068 GB, free: 8.969 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.005678/0.6299, allocations: 2.063 MB / 1.07 GB, free: 6.902 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002096/0.632, allocations: 0.6996 MB / 1.07 GB, free: 6.184 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002642/0.6347, allocations: 0.7659 MB / 1.071 GB, free: 5.414 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002845/0.6376, allocations: 0.9019 MB / 1.072 GB, free: 4.508 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0007103/0.6383, allocations: 96 kB / 1.072 GB, free: 4.414 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001612/0.64, allocations: 211.8 kB / 1.072 GB, free: 4.207 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0009461/0.6409, allocations: 366.5 kB / 1.073 GB, free: 3.848 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.002888/0.6439, allocations: 0.8778 MB / 1.073 GB, free: 2.965 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.006373/0.6503, allocations: 2.39 MB / 1.076 GB, free: 0.5664 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 1.441e-05/0.6504, allocations: 0 / 1.076 GB, free: 0.5664 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.056e-05/0.6504, allocations: 0 / 1.076 GB, free: 0.5664 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 0.000186/0.6506, allocations: 3.938 kB / 1.076 GB, free: 0.5625 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 120 * Number of variables: 120 Notification: Performance of Generate backend data structure: time 0.01015/0.6608, allocations: 2.346 MB / 1.078 GB, free: 14.15 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 0.0001394/0.6609, allocations: 12.62 kB / 1.078 GB, free: 14.14 MB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004671/0.6614, allocations: 94.7 kB / 1.078 GB, free: 14.04 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001226/0.6627, allocations: 218.2 kB / 1.078 GB, free: 13.82 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007913/0.6706, allocations: 1.61 MB / 1.08 GB, free: 12.14 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001254/0.6708, allocations: 37 kB / 1.08 GB, free: 12.1 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003027/0.6711, allocations: 52 kB / 1.08 GB, free: 12.05 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001946/0.6731, allocations: 0.5568 MB / 1.081 GB, free: 11.49 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.938e-05/0.6732, allocations: 0 / 1.081 GB, free: 11.49 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.204e-05/0.6733, allocations: 20 kB / 1.081 GB, free: 11.47 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.875e-05/0.6733, allocations: 12 kB / 1.081 GB, free: 11.46 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001431/0.6747, allocations: 0.4957 MB / 1.081 GB, free: 10.96 MB / 0.8419 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.01039/0.6852, allocations: 3.262 MB / 1.084 GB, free: 7.453 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001892/0.6854, allocations: 58.53 kB / 1.084 GB, free: 7.387 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001183/0.6855, allocations: 52.81 kB / 1.084 GB, free: 7.332 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.296e-05/0.6856, allocations: 0 / 1.084 GB, free: 7.332 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.592e-05/0.6856, allocations: 34.56 kB / 1.084 GB, free: 7.289 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=1): time 3.076e-06/0.6856, allocations: 4 kB / 1.084 GB, free: 7.285 MB / 0.8419 GB Notification: Performance of matching and sorting (n=1): time 0.001474/0.6871, allocations: 358.9 kB / 1.085 GB, free: 6.926 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.88e-05/0.6872, allocations: 51.41 kB / 1.085 GB, free: 6.863 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009353/0.6965, allocations: 2.951 MB / 1.088 GB, free: 3.898 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 9.319e-05/0.6967, allocations: 29.7 kB / 1.088 GB, free: 3.863 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.001993/0.6987, allocations: 0.9386 MB / 1.089 GB, free: 2.918 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 6.924e-05/0.6988, allocations: 15.89 kB / 1.089 GB, free: 2.902 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004422/0.6993, allocations: 110.1 kB / 1.089 GB, free: 2.789 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0002154/0.6995, allocations: 338 kB / 1.089 GB, free: 2.453 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004782/0.7, allocations: 152.9 kB / 1.089 GB, free: 2.305 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008435/0.7009, allocations: 473.2 kB / 1.09 GB, free: 1.695 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00126/0.7021, allocations: 0.5942 MB / 1.09 GB, free: 0.9531 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.002e-05/0.7022, allocations: 4 kB / 1.09 GB, free: 0.9492 MB / 0.8419 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.002655/0.7048, allocations: 0.7679 MB / 1.091 GB, free: 176 kB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 3.7e-05/0.7049, allocations: 12 kB / 1.091 GB, free: 164 kB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.953e-05/0.7049, allocations: 8.875 kB / 1.091 GB, free: 156 kB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.534e-05/0.705, allocations: 16 kB / 1.091 GB, free: 140 kB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000563/0.7056, allocations: 111.8 kB / 1.091 GB, free: 28 kB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.11e-05/0.7056, allocations: 23.92 kB / 1.091 GB, free: 4 kB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002137/0.7078, allocations: 87.06 kB / 1.091 GB, free: 15.92 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.004e-05/0.7079, allocations: 28 kB / 1.091 GB, free: 15.89 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * 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 (58): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002086/0.71, allocations: 0.7406 MB / 1.092 GB, free: 15.14 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000986/0.711, allocations: 213.3 kB / 1.092 GB, free: 14.93 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001082/0.7121, allocations: 219.8 kB / 1.092 GB, free: 14.71 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.784e-06/0.7121, allocations: 4 kB / 1.092 GB, free: 14.71 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.923e-06/0.7121, allocations: 0 / 1.092 GB, free: 14.71 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.09e-06/0.7121, allocations: 0 / 1.092 GB, free: 14.71 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003645/0.7158, allocations: 0.9431 MB / 1.093 GB, free: 13.71 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.311e-05/0.7158, allocations: 3.984 kB / 1.093 GB, free: 13.71 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000175/0.716, allocations: 4 kB / 1.093 GB, free: 13.71 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.13e-05/0.716, allocations: 4 kB / 1.093 GB, free: 13.7 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.992e-05/0.7161, allocations: 0 / 1.093 GB, free: 13.7 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.951e-06/0.7161, allocations: 0 / 1.093 GB, free: 13.7 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/0.7161, allocations: 0 / 1.093 GB, free: 13.7 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001788/0.7179, allocations: 421.1 kB / 1.094 GB, free: 13.27 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001975/0.7199, allocations: 362.4 kB / 1.094 GB, free: 12.9 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001087/0.721, allocations: 0 / 1.094 GB, free: 12.9 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001439/0.7225, allocations: 4 kB / 1.094 GB, free: 12.89 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.136e-05/0.7226, allocations: 8.016 kB / 1.094 GB, free: 12.89 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.947e-05/0.7226, allocations: 0 / 1.094 GB, free: 12.89 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.009049/0.7316, allocations: 2.086 MB / 1.096 GB, free: 10.79 MB / 0.8575 GB Notification: Performance of sort global known variables: time 6.642e-06/0.7317, allocations: 0 / 1.096 GB, free: 10.79 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.002674/0.7344, allocations: 239.9 kB / 1.096 GB, free: 10.56 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 (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001998/0.7365, allocations: 1.026 MB / 1.097 GB, free: 9.508 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.001033/0.7375, allocations: 313.2 kB / 1.098 GB, free: 9.203 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 4.909e-06/0.7376, allocations: 0 / 1.098 GB, free: 9.203 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 9.776e-05/0.7377, allocations: 43.89 kB / 1.098 GB, free: 9.16 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005268/0.7429, allocations: 0.7204 MB / 1.098 GB, free: 8.453 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0666/0.8096, allocations: 18.99 MB / 1.117 GB, free: 4.168 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003642/0.8133, allocations: 1.804 MB / 1.119 GB, free: 2.328 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.002269/0.8156, allocations: 342.9 kB / 1.119 GB, free: 1.988 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00171/0.8173, allocations: 0.6906 MB / 1.12 GB, free: 1.301 MB / 0.8731 GB Notification: Performance of SimCode: time 1.743e-06/0.8174, allocations: 3.938 kB / 1.12 GB, free: 1.297 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1541/0.9715, allocations: 44.19 MB / 1.163 GB, free: 5.734 MB / 0.92 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004774/0.9721, allocations: 281.5 kB / 1.163 GB, free: 5.352 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.129/6.101, allocations: 2.625 kB / 1.163 GB, free: 5.352 MB / 0.92 GB (rm -f Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature.pipe ; mkfifo Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature.pipe ; head -c 1048576 < Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature.pipe >> ../files/Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature_res.mat --tempDir=temp_Buildings_latest_Buildings_ThermalZones_Detailed_BaseClasses_Examples_RadiationTemperature_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_ThermalZones_Detailed_BaseClasses_Examples_RadiationTemperature.fmu > Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_ThermalZones_Detailed_BaseClasses_Examples_RadiationTemperature.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches