Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.HeatGain,fileNamePrefix="Buildings_latest_Buildings_ThermalZones_Detailed_BaseClasses_Examples_HeatGain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain,fileNamePrefix="Buildings_latest_Buildings_ThermalZones_Detailed_BaseClasses_Examples_HeatGain",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.007349/0.007349, allocations: 98.52 kB / 15.73 MB, free: 5.527 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.00148/0.00148, allocations: 191.2 kB / 16.67 MB, free: 5.465 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.244/1.244, allocations: 222.9 MB / 240.4 MB, free: 4.164 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.5/2.5, allocations: 482.6 MB / 0.755 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001667/0.001667, allocations: 67.89 kB / 1.083 GB, free: 12.24 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2584/0.26, allocations: 162.3 MB / 1.242 GB, free: 9.844 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain): time 0.002505/0.2626, allocations: 1.536 MB / 1.243 GB, free: 8.293 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0001035/0.2627, allocations: 31.86 kB / 1.243 GB, free: 8.262 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.742e-05/0.2628, allocations: 0 / 1.243 GB, free: 8.262 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 9.794e-05/0.2629, allocations: 11.92 kB / 1.243 GB, free: 8.25 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 2.781e-05/0.2629, allocations: 3.938 kB / 1.243 GB, free: 8.246 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 8.453e-05/0.263, allocations: 19.97 kB / 1.243 GB, free: 8.227 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 8.717e-05/0.2631, allocations: 51.78 kB / 1.243 GB, free: 8.176 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001048/0.2632, allocations: 27.98 kB / 1.243 GB, free: 8.148 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.357e-05/0.2632, allocations: 27.91 kB / 1.244 GB, free: 8.121 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.138e-05/0.2633, allocations: 27.86 kB / 1.244 GB, free: 8.094 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.456e-05/0.2633, allocations: 4 kB / 1.244 GB, free: 8.09 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 9.828e-06/0.2633, allocations: 8 kB / 1.244 GB, free: 8.082 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 4.109e-05/0.2634, allocations: 15.98 kB / 1.244 GB, free: 8.066 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.669e-05/0.2634, allocations: 27.8 kB / 1.244 GB, free: 8.039 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 9.719e-05/0.2635, allocations: 63.67 kB / 1.244 GB, free: 7.977 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 2.795e-06/0.2635, allocations: 0 / 1.244 GB, free: 7.977 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.152e-06/0.2635, allocations: 0 / 1.244 GB, free: 7.977 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 7.053e-06/0.2635, allocations: 4 kB / 1.244 GB, free: 7.973 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0003598/0.2639, allocations: 367.2 kB / 1.244 GB, free: 7.562 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.054e-05/0.2639, allocations: 8.031 kB / 1.244 GB, free: 7.555 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.603e-05/0.264, allocations: 42.75 kB / 1.244 GB, free: 7.504 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.284e-05/0.264, allocations: 8.891 kB / 1.244 GB, free: 7.496 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001571/0.2642, allocations: 184.3 kB / 1.244 GB, free: 7.277 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.195e-06/0.2642, allocations: 384 / 1.244 GB, free: 7.277 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.453e-05/0.2642, allocations: 8.375 kB / 1.244 GB, free: 7.27 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001458/0.2644, allocations: 100.7 kB / 1.244 GB, free: 7.156 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.759e-06/0.2644, allocations: 7.875 kB / 1.244 GB, free: 7.148 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.377e-06/0.2644, allocations: 4 kB / 1.244 GB, free: 7.145 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.2644, allocations: 8 kB / 1.244 GB, free: 7.137 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.33e-05/0.2645, allocations: 39.97 kB / 1.244 GB, free: 7.098 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00053/0.265, allocations: 0.6401 MB / 1.245 GB, free: 6.398 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 8.003e-05/0.2651, allocations: 169.1 kB / 1.245 GB, free: 6.223 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.725e-05/0.2652, allocations: 84.14 kB / 1.245 GB, free: 6.137 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.926e-05/0.2652, allocations: 75.28 kB / 1.245 GB, free: 6.062 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.659e-05/0.2652, allocations: 109.8 kB / 1.245 GB, free: 5.945 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=0): time 1.032e-06/0.2652, allocations: 4 kB / 1.245 GB, free: 5.941 MB / 0.9981 GB Notification: Performance of matching and sorting (n=0): time 6.499e-05/0.2653, allocations: 45.52 kB / 1.246 GB, free: 5.891 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.502e-05/0.2654, allocations: 134.7 kB / 1.246 GB, free: 5.746 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001555/0.2655, allocations: 166.4 kB / 1.246 GB, free: 5.57 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.189e-05/0.2656, allocations: 25.7 kB / 1.246 GB, free: 5.539 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 6.666e-05/0.2656, allocations: 108 kB / 1.246 GB, free: 5.43 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.974e-06/0.2656, allocations: 0 / 1.246 GB, free: 5.43 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.87e-05/0.2657, allocations: 13.72 kB / 1.246 GB, free: 5.41 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001147/0.2658, allocations: 314.8 kB / 1.246 GB, free: 5.094 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.469e-05/0.2658, allocations: 7.984 kB / 1.246 GB, free: 5.086 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.183e-05/0.2658, allocations: 26.58 kB / 1.246 GB, free: 5.051 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.398e-05/0.2659, allocations: 30.55 kB / 1.246 GB, free: 5.012 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.2659, allocations: 0 / 1.246 GB, free: 5.012 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001025/0.266, allocations: 57.64 kB / 1.246 GB, free: 4.949 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.29e-05/0.266, allocations: 12.03 kB / 1.246 GB, free: 4.938 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.266, allocations: 3.938 kB / 1.246 GB, free: 4.934 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.167e-06/0.266, allocations: 0 / 1.246 GB, free: 4.934 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.145e-05/0.2661, allocations: 4 kB / 1.246 GB, free: 4.93 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.2661, allocations: 4 kB / 1.246 GB, free: 4.926 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.079e-05/0.2661, allocations: 7.891 kB / 1.246 GB, free: 4.918 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.919e-06/0.2661, allocations: 4 kB / 1.246 GB, free: 4.914 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (3): * Single equations (assignments): 3 * 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.0001036/0.2662, allocations: 197 kB / 1.247 GB, free: 4.711 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.067e-05/0.2663, allocations: 112.9 kB / 1.247 GB, free: 4.594 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.805e-05/0.2664, allocations: 116.8 kB / 1.247 GB, free: 4.469 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.107e-05/0.2665, allocations: 184.2 kB / 1.247 GB, free: 4.281 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.188e-05/0.2665, allocations: 176.3 kB / 1.247 GB, free: 4.102 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.635e-05/0.2666, allocations: 184.2 kB / 1.247 GB, free: 3.914 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002398/0.2668, allocations: 425.2 kB / 1.248 GB, free: 3.441 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.062e-05/0.2669, allocations: 101.1 kB / 1.248 GB, free: 3.336 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.209e-05/0.2669, allocations: 116.9 kB / 1.248 GB, free: 3.215 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.409e-05/0.267, allocations: 176.3 kB / 1.248 GB, free: 3.035 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.829e-05/0.2671, allocations: 184.1 kB / 1.248 GB, free: 2.848 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.174e-05/0.2671, allocations: 176.3 kB / 1.248 GB, free: 2.668 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.133e-05/0.2672, allocations: 192.2 kB / 1.249 GB, free: 2.473 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000134/0.2673, allocations: 307.7 kB / 1.249 GB, free: 2.148 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.641e-05/0.2674, allocations: 194 kB / 1.249 GB, free: 1.934 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.662e-05/0.2675, allocations: 184.2 kB / 1.249 GB, free: 1.746 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.346e-05/0.2676, allocations: 105 kB / 1.249 GB, free: 1.637 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.74e-05/0.2677, allocations: 188.2 kB / 1.25 GB, free: 1.445 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.026e-05/0.2677, allocations: 104.9 kB / 1.25 GB, free: 1.336 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 9.576e-05/0.2678, allocations: 133.7 kB / 1.25 GB, free: 1.207 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2678, allocations: 0 / 1.25 GB, free: 1.207 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0001964/0.268, allocations: 4 kB / 1.25 GB, free: 1.203 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 (0): * Single equations (assignments): 0 * 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.0003946/0.2684, allocations: 0.817 MB / 1.251 GB, free: 368 kB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 5.486e-05/0.2685, allocations: 11.98 kB / 1.251 GB, free: 356 kB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.2685, allocations: 0 / 1.251 GB, free: 356 kB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 4.128e-06/0.2685, allocations: 3.938 kB / 1.251 GB, free: 352 kB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.4292/0.6977, allocations: 463.9 kB / 1.251 GB, free: 15.27 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001055/0.6988, allocations: 1.625 MB / 1.253 GB, free: 13.94 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.585e-05/0.6989, allocations: 0.6908 MB / 1.253 GB, free: 13.25 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 1.999e-05/0.699, allocations: 6.422 kB / 1.253 GB, free: 13.25 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.232e-05/0.699, allocations: 23.33 kB / 1.253 GB, free: 13.24 MB / 0.9981 GB Notification: Performance of SimCode: time 5.51e-07/0.699, allocations: 0 / 1.253 GB, free: 13.24 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2979/0.9969, allocations: 1.721 MB / 1.255 GB, free: 12.93 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.954/8.95, allocations: 4.688 kB / 1.255 GB, free: 12.93 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe ; mkfifo Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe ; head -c 1048576 < Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe >> ../files/Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain_res.mat --tempDir=temp_Buildings_latest_Buildings_ThermalZones_Detailed_BaseClasses_Examples_HeatGain_fmu --startTime=0 --stopTime=3600 --timeout=400 --tolerance=1e-06 Buildings_latest_Buildings_ThermalZones_Detailed_BaseClasses_Examples_HeatGain.fmu > Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_ThermalZones_Detailed_BaseClasses_Examples_HeatGain.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches