Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_ThermalZones_Detailed_BaseClasses_Examples_HeatGain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain,fileNamePrefix="Buildings_9_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.008522/0.008522, allocations: 101.1 kB / 15.73 MB, free: 6.047 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.001902/0.001902, allocations: 190.6 kB / 16.67 MB, free: 5.977 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.323/1.323, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.294/2.294, allocations: 390.3 MB / 0.6648 GB, free: 184 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002218/0.002218, allocations: 67.2 kB / 0.9504 GB, free: 5.863 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.274/0.2763, allocations: 140.4 MB / 1.087 GB, free: 1.992 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain): time 0.002543/0.2789, allocations: 1.533 MB / 1.089 GB, free: 456 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0001168/0.279, allocations: 35.84 kB / 1.089 GB, free: 420 kB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.718e-05/0.279, allocations: 0 / 1.089 GB, free: 420 kB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0001297/0.2792, allocations: 15.86 kB / 1.089 GB, free: 404 kB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 3.008e-05/0.2792, allocations: 3.938 kB / 1.089 GB, free: 400 kB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001088/0.2793, allocations: 19.97 kB / 1.089 GB, free: 380 kB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 9.798e-05/0.2794, allocations: 43.84 kB / 1.089 GB, free: 336 kB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001379/0.2796, allocations: 39.97 kB / 1.089 GB, free: 296 kB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 3.093e-05/0.2796, allocations: 15.94 kB / 1.089 GB, free: 280 kB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 6.884e-05/0.2797, allocations: 35.78 kB / 1.089 GB, free: 244 kB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.974e-05/0.2797, allocations: 4 kB / 1.089 GB, free: 240 kB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 9.588e-06/0.2797, allocations: 4 kB / 1.089 GB, free: 236 kB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 4.749e-05/0.2798, allocations: 19.92 kB / 1.089 GB, free: 216 kB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 3.942e-05/0.2798, allocations: 19.88 kB / 1.089 GB, free: 196 kB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001078/0.2799, allocations: 74.48 kB / 1.089 GB, free: 124 kB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.28, allocations: 0 / 1.089 GB, free: 124 kB / 0.8419 GB Notification: Performance of FrontEnd: time 1.463e-06/0.28, allocations: 4 kB / 1.089 GB, free: 120 kB / 0.8419 GB Notification: Performance of Transformations before backend: time 5.42e-06/0.28, allocations: 0 / 1.089 GB, free: 120 kB / 0.8419 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.0004021/0.2804, allocations: 360.2 kB / 1.09 GB, free: 15.71 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.178e-05/0.2804, allocations: 8.031 kB / 1.09 GB, free: 15.71 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.172e-05/0.2805, allocations: 42.73 kB / 1.09 GB, free: 15.66 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.606e-05/0.2805, allocations: 8.844 kB / 1.09 GB, free: 15.65 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001684/0.2807, allocations: 184.3 kB / 1.09 GB, free: 15.43 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.127e-05/0.2807, allocations: 4.375 kB / 1.09 GB, free: 15.43 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.62e-05/0.2807, allocations: 12.31 kB / 1.09 GB, free: 15.41 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001492/0.2809, allocations: 100.2 kB / 1.09 GB, free: 15.3 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.133e-05/0.2809, allocations: 3.938 kB / 1.09 GB, free: 15.3 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.109e-05/0.2809, allocations: 4 kB / 1.09 GB, free: 15.3 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.502e-06/0.2809, allocations: 4 kB / 1.09 GB, free: 15.29 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.027e-05/0.281, allocations: 39.92 kB / 1.09 GB, free: 15.25 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005298/0.2815, allocations: 0.6478 MB / 1.091 GB, free: 14.55 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 7.157e-05/0.2816, allocations: 165.1 kB / 1.091 GB, free: 14.38 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.652e-05/0.2817, allocations: 80.14 kB / 1.091 GB, free: 14.29 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.495e-05/0.2817, allocations: 79.28 kB / 1.091 GB, free: 14.21 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.864e-05/0.2817, allocations: 109.8 kB / 1.091 GB, free: 14.1 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=0): time 1.062e-06/0.2817, allocations: 4 kB / 1.091 GB, free: 14.09 MB / 0.8575 GB Notification: Performance of matching and sorting (n=0): time 7.208e-05/0.2818, allocations: 42.97 kB / 1.091 GB, free: 14.05 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.263e-05/0.2819, allocations: 130.6 kB / 1.091 GB, free: 13.91 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000146/0.282, allocations: 165.5 kB / 1.091 GB, free: 13.73 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.048e-05/0.282, allocations: 29.7 kB / 1.091 GB, free: 13.7 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.914e-05/0.2821, allocations: 104 kB / 1.092 GB, free: 13.59 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.675e-06/0.2821, allocations: 0 / 1.092 GB, free: 13.59 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.844e-05/0.2821, allocations: 13.72 kB / 1.092 GB, free: 13.57 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 9.462e-05/0.2822, allocations: 318.8 kB / 1.092 GB, free: 13.25 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.505e-05/0.2823, allocations: 4 kB / 1.092 GB, free: 13.25 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.421e-05/0.2823, allocations: 30.5 kB / 1.092 GB, free: 13.21 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.123e-05/0.2823, allocations: 30.56 kB / 1.092 GB, free: 13.17 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.2823, allocations: 0 / 1.092 GB, free: 13.17 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001095/0.2825, allocations: 53.55 kB / 1.092 GB, free: 13.11 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.213e-05/0.2825, allocations: 9.719 kB / 1.092 GB, free: 13.11 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.75e-06/0.2825, allocations: 3.938 kB / 1.092 GB, free: 13.1 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.215e-05/0.2825, allocations: 3.938 kB / 1.092 GB, free: 13.1 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.131e-05/0.2826, allocations: 20.02 kB / 1.092 GB, free: 13.08 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.849e-06/0.2826, allocations: 4 kB / 1.092 GB, free: 13.07 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.502e-05/0.2826, allocations: 7.844 kB / 1.092 GB, free: 13.07 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.679e-06/0.2826, allocations: 4 kB / 1.092 GB, free: 13.06 MB / 0.8575 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 9.205e-05/0.2827, allocations: 189.1 kB / 1.092 GB, free: 12.87 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.698e-05/0.2828, allocations: 108.9 kB / 1.092 GB, free: 12.75 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.103e-05/0.2828, allocations: 124.7 kB / 1.092 GB, free: 12.62 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.782e-05/0.2829, allocations: 180.3 kB / 1.093 GB, free: 12.44 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.145e-05/0.283, allocations: 176.3 kB / 1.093 GB, free: 12.26 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.671e-05/0.283, allocations: 188.2 kB / 1.093 GB, free: 12.07 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002073/0.2832, allocations: 421.2 kB / 1.093 GB, free: 11.6 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.867e-05/0.2833, allocations: 104.9 kB / 1.093 GB, free: 11.49 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.03e-05/0.2833, allocations: 113 kB / 1.094 GB, free: 11.37 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.043e-05/0.2834, allocations: 180.2 kB / 1.094 GB, free: 11.19 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.339e-05/0.2834, allocations: 184.1 kB / 1.094 GB, free: 11 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.995e-05/0.2835, allocations: 176.5 kB / 1.094 GB, free: 10.82 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.466e-05/0.2835, allocations: 184.2 kB / 1.094 GB, free: 10.63 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001156/0.2837, allocations: 319.7 kB / 1.095 GB, free: 10.3 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 6.738e-05/0.2837, allocations: 186 kB / 1.095 GB, free: 10.09 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.168e-05/0.2838, allocations: 180.2 kB / 1.095 GB, free: 9.906 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.988e-05/0.2839, allocations: 112.9 kB / 1.095 GB, free: 9.789 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.065e-05/0.2839, allocations: 184.2 kB / 1.095 GB, free: 9.602 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.437e-05/0.284, allocations: 108.9 kB / 1.095 GB, free: 9.488 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 8.969e-05/0.2841, allocations: 129.1 kB / 1.095 GB, free: 9.363 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2841, allocations: 0 / 1.095 GB, free: 9.363 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002092/0.2843, allocations: 4 kB / 1.095 GB, free: 9.359 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 (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.0003821/0.2847, allocations: 0.8203 MB / 1.096 GB, free: 8.512 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 6.962e-05/0.2848, allocations: 11.94 kB / 1.096 GB, free: 8.5 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.2848, allocations: 0 / 1.096 GB, free: 8.5 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 1.393e-06/0.2848, allocations: 0 / 1.096 GB, free: 8.5 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000333/0.2851, allocations: 459.7 kB / 1.097 GB, free: 8.047 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001273/0.2864, allocations: 1.64 MB / 1.098 GB, free: 6.316 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002294/0.2866, allocations: 0.6885 MB / 1.099 GB, free: 5.602 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 1.993e-05/0.2867, allocations: 7.984 kB / 1.099 GB, free: 5.594 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.225e-05/0.2867, allocations: 23.38 kB / 1.099 GB, free: 5.57 MB / 0.8575 GB Notification: Performance of SimCode: time 2.4e-07/0.2867, allocations: 4 kB / 1.099 GB, free: 5.566 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1022/0.3889, allocations: 1.698 MB / 1.101 GB, free: 3.977 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.507/7.896, allocations: 4.062 kB / 1.101 GB, free: 3.973 MB / 0.8575 GB (rm -f Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe ; mkfifo Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe ; head -c 1048576 < Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe >> ../files/Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain_res.mat --tempDir=temp_Buildings_9_Buildings_ThermalZones_Detailed_BaseClasses_Examples_HeatGain_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_ThermalZones_Detailed_BaseClasses_Examples_HeatGain.fmu > Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_ThermalZones_Detailed_BaseClasses_Examples_HeatGain.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches