Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.HeatGain,fileNamePrefix="Buildings_10_Buildings_ThermalZones_Detailed_BaseClasses_Examples_HeatGain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain,fileNamePrefix="Buildings_10_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.006746/0.006746, allocations: 101.1 kB / 15.73 MB, free: 6.051 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.001517/0.001517, allocations: 187.8 kB / 16.67 MB, free: 5.98 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.301/1.301, 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 10.1.1-maint.10.0.x/package.mo): time 2.487/2.487, allocations: 437.1 MB / 0.7105 GB, free: 4.953 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001178/0.001178, allocations: 59.91 kB / 1.018 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2594/0.2606, allocations: 151.6 MB / 1.166 GB, free: 7.297 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain): time 0.00246/0.2631, allocations: 1.544 MB / 1.168 GB, free: 5.734 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0001061/0.2632, allocations: 31.91 kB / 1.168 GB, free: 5.703 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.658e-05/0.2632, allocations: 3.938 kB / 1.168 GB, free: 5.699 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0001126/0.2634, allocations: 7.938 kB / 1.168 GB, free: 5.691 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 3.333e-05/0.2634, allocations: 3.938 kB / 1.168 GB, free: 5.688 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 9.451e-05/0.2635, allocations: 19.97 kB / 1.168 GB, free: 5.668 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 9.419e-05/0.2636, allocations: 47.84 kB / 1.168 GB, free: 5.621 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001285/0.2637, allocations: 35.94 kB / 1.168 GB, free: 5.586 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 3.514e-05/0.2638, allocations: 23.86 kB / 1.168 GB, free: 5.562 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 6.182e-05/0.2639, allocations: 35.89 kB / 1.168 GB, free: 5.527 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.025e-05/0.2639, allocations: 4 kB / 1.168 GB, free: 5.523 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.16e-05/0.2639, allocations: 4 kB / 1.168 GB, free: 5.52 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 4.228e-05/0.2639, allocations: 15.92 kB / 1.168 GB, free: 5.504 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 3.967e-05/0.264, allocations: 23.88 kB / 1.168 GB, free: 5.48 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 9.489e-05/0.2641, allocations: 62.56 kB / 1.168 GB, free: 5.422 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.109e-06/0.2641, allocations: 4 kB / 1.168 GB, free: 5.418 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.493e-06/0.2641, allocations: 0 / 1.168 GB, free: 5.418 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.087e-06/0.2641, allocations: 0 / 1.168 GB, free: 5.418 MB / 0.92 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.0003751/0.2645, allocations: 360.2 kB / 1.168 GB, free: 5.016 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.9e-05/0.2645, allocations: 12.03 kB / 1.168 GB, free: 5.004 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.894e-05/0.2646, allocations: 38.69 kB / 1.168 GB, free: 4.957 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.494e-05/0.2646, allocations: 8.844 kB / 1.168 GB, free: 4.949 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001657/0.2648, allocations: 188.3 kB / 1.169 GB, free: 4.727 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.939e-06/0.2648, allocations: 12.31 kB / 1.169 GB, free: 4.715 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.217e-05/0.2648, allocations: 8.375 kB / 1.169 GB, free: 4.707 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001734/0.265, allocations: 99 kB / 1.169 GB, free: 4.598 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.195e-06/0.265, allocations: 3.938 kB / 1.169 GB, free: 4.594 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.788e-06/0.265, allocations: 4 kB / 1.169 GB, free: 4.59 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.265, allocations: 0 / 1.169 GB, free: 4.59 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.31e-05/0.2651, allocations: 39.97 kB / 1.169 GB, free: 4.551 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005212/0.2656, allocations: 0.6439 MB / 1.169 GB, free: 3.848 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 8.044e-05/0.2657, allocations: 169.1 kB / 1.17 GB, free: 3.672 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.315e-05/0.2658, allocations: 84.14 kB / 1.17 GB, free: 3.586 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.27e-05/0.2658, allocations: 75.28 kB / 1.17 GB, free: 3.512 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.541e-05/0.2658, allocations: 109.8 kB / 1.17 GB, free: 3.395 MB / 0.92 GB Notification: Performance of pre-optimization done (n=0): time 1.072e-06/0.2659, allocations: 0 / 1.17 GB, free: 3.395 MB / 0.92 GB Notification: Performance of matching and sorting (n=0): time 6.796e-05/0.2659, allocations: 45.47 kB / 1.17 GB, free: 3.344 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.694e-05/0.266, allocations: 134.6 kB / 1.17 GB, free: 3.199 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001477/0.2661, allocations: 166.1 kB / 1.17 GB, free: 3.027 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 9.528e-06/0.2662, allocations: 29.7 kB / 1.17 GB, free: 2.992 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 5.978e-05/0.2662, allocations: 100 kB / 1.17 GB, free: 2.891 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.725e-06/0.2662, allocations: 0 / 1.17 GB, free: 2.891 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.154e-05/0.2663, allocations: 21.62 kB / 1.17 GB, free: 2.863 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001011/0.2664, allocations: 322.8 kB / 1.171 GB, free: 2.539 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.264e-05/0.2664, allocations: 0 / 1.171 GB, free: 2.539 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.565e-05/0.2664, allocations: 26.58 kB / 1.171 GB, free: 2.504 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.936e-05/0.2665, allocations: 34.52 kB / 1.171 GB, free: 2.461 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.2665, allocations: 0 / 1.171 GB, free: 2.461 MB / 0.92 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001107/0.2666, allocations: 57.53 kB / 1.171 GB, free: 2.398 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.254e-05/0.2666, allocations: 4 kB / 1.171 GB, free: 2.395 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.304e-06/0.2666, allocations: 7.938 kB / 1.171 GB, free: 2.387 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.19e-05/0.2666, allocations: 4.094 kB / 1.171 GB, free: 2.383 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.395e-05/0.2667, allocations: 4 kB / 1.171 GB, free: 2.379 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.328e-06/0.2667, allocations: 0 / 1.171 GB, free: 2.379 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.106e-05/0.2667, allocations: 7.938 kB / 1.171 GB, free: 2.371 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.278e-06/0.2668, allocations: 0 / 1.171 GB, free: 2.371 MB / 0.92 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.0001063/0.2669, allocations: 197.1 kB / 1.171 GB, free: 2.168 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.765e-05/0.2669, allocations: 112.8 kB / 1.171 GB, free: 2.051 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.441e-05/0.267, allocations: 120.8 kB / 1.171 GB, free: 1.922 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.733e-05/0.267, allocations: 188.1 kB / 1.171 GB, free: 1.73 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.532e-05/0.2671, allocations: 176.3 kB / 1.171 GB, free: 1.551 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.79e-05/0.2672, allocations: 180.3 kB / 1.172 GB, free: 1.367 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002223/0.2674, allocations: 429.1 kB / 1.172 GB, free: 0.8906 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.701e-05/0.2674, allocations: 101 kB / 1.172 GB, free: 0.7852 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.27e-05/0.2675, allocations: 108.9 kB / 1.172 GB, free: 0.6719 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.619e-05/0.2675, allocations: 180.3 kB / 1.172 GB, free: 500 kB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.997e-05/0.2676, allocations: 184.2 kB / 1.173 GB, free: 308 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.495e-05/0.2677, allocations: 184.4 kB / 1.173 GB, free: 116 kB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.135e-05/0.2677, allocations: 176.3 kB / 1.173 GB, free: 15.93 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001327/0.2679, allocations: 319.7 kB / 1.173 GB, free: 15.6 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 7.155e-05/0.268, allocations: 186 kB / 1.173 GB, free: 15.39 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.064e-05/0.268, allocations: 188.1 kB / 1.174 GB, free: 15.2 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.823e-05/0.2681, allocations: 101 kB / 1.174 GB, free: 15.09 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.963e-05/0.2682, allocations: 184.2 kB / 1.174 GB, free: 14.91 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.818e-05/0.2682, allocations: 109 kB / 1.174 GB, free: 14.79 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 8.892e-05/0.2683, allocations: 127.1 kB / 1.174 GB, free: 14.67 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2683, allocations: 0 / 1.174 GB, free: 14.67 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002146/0.2685, allocations: 12 kB / 1.174 GB, free: 14.66 MB / 0.9356 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.0003839/0.2689, allocations: 0.8241 MB / 1.175 GB, free: 13.8 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 6.262e-05/0.269, allocations: 8 kB / 1.175 GB, free: 13.8 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.269, allocations: 4 kB / 1.175 GB, free: 13.79 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 2.595e-06/0.269, allocations: 3.938 kB / 1.175 GB, free: 13.79 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003382/0.2694, allocations: 459.6 kB / 1.175 GB, free: 13.34 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001321/0.2707, allocations: 1.642 MB / 1.177 GB, free: 11.61 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002641/0.271, allocations: 0.6924 MB / 1.178 GB, free: 10.89 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 1.705e-05/0.271, allocations: 4 kB / 1.178 GB, free: 10.88 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.946e-05/0.271, allocations: 23.42 kB / 1.178 GB, free: 10.86 MB / 0.9356 GB Notification: Performance of SimCode: time 2.41e-07/0.271, allocations: 4 kB / 1.178 GB, free: 10.86 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0176/0.2886, allocations: 1.7 MB / 1.179 GB, free: 9.266 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.14/7.428, allocations: 11.25 kB / 1.179 GB, free: 9.258 MB / 0.9356 GB (rm -f Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe ; mkfifo Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe ; head -c 1048576 < Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe >> ../files/Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain_res.mat --tempDir=temp_Buildings_10_Buildings_ThermalZones_Detailed_BaseClasses_Examples_HeatGain_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_ThermalZones_Detailed_BaseClasses_Examples_HeatGain.fmu > Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_ThermalZones_Detailed_BaseClasses_Examples_HeatGain.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches