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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001404/0.001404, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001665/0.001665, allocations: 191.5 kB / 16.14 MB, free: 6.711 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.262/1.262, allocations: 222.9 MB / 239.8 MB, free: 4.543 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.158/2.158, allocations: 390.2 MB / 0.6643 GB, free: 0.5742 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001298/0.001298, allocations: 59.91 kB / 0.812 GB, free: 14.78 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5232/0.5245, allocations: 140.4 MB / 0.9491 GB, free: 9.137 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain): time 0.002154/0.5267, allocations: 1.593 MB / 0.9506 GB, free: 7.887 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 7.469e-05/0.5268, allocations: 25.42 kB / 0.9506 GB, free: 7.867 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.882e-05/0.5268, allocations: 5.312 kB / 0.9506 GB, free: 7.863 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001043/0.5269, allocations: 11.92 kB / 0.9506 GB, free: 7.852 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 2.673e-05/0.527, allocations: 5.359 kB / 0.9507 GB, free: 7.848 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 8.003e-05/0.5271, allocations: 14.86 kB / 0.9507 GB, free: 7.84 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.642e-05/0.5271, allocations: 47.03 kB / 0.9507 GB, free: 7.812 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001003/0.5273, allocations: 39.27 kB / 0.9507 GB, free: 7.789 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.815e-05/0.5273, allocations: 21.08 kB / 0.9508 GB, free: 7.777 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.282e-05/0.5273, allocations: 28.14 kB / 0.9508 GB, free: 7.758 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.561e-05/0.5274, allocations: 2.719 kB / 0.9508 GB, free: 7.758 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.05e-05/0.5274, allocations: 2.625 kB / 0.9508 GB, free: 7.758 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.797e-05/0.5274, allocations: 14.42 kB / 0.9508 GB, free: 7.75 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.445e-05/0.5275, allocations: 34.41 kB / 0.9508 GB, free: 7.723 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 6.93e-05/0.5275, allocations: 53.36 kB / 0.9509 GB, free: 7.688 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.5275, allocations: 0 / 0.9509 GB, free: 7.688 MB / 0.7169 GB Notification: Performance of FrontEnd: time 6.42e-07/0.5275, allocations: 0 / 0.9509 GB, free: 7.688 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.356e-06/0.5276, allocations: 0 / 0.9509 GB, free: 7.688 MB / 0.7169 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.0002581/0.5278, allocations: 359.5 kB / 0.9512 GB, free: 7.305 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.154e-05/0.5279, allocations: 9.719 kB / 0.9513 GB, free: 7.305 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.399e-05/0.5279, allocations: 41.48 kB / 0.9513 GB, free: 7.258 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.247e-05/0.5279, allocations: 8.594 kB / 0.9513 GB, free: 7.254 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001121/0.528, allocations: 192.5 kB / 0.9515 GB, free: 7.035 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.558e-06/0.528, allocations: 3 kB / 0.9515 GB, free: 7.035 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.459e-05/0.5281, allocations: 9.469 kB / 0.9515 GB, free: 7.031 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001219/0.5282, allocations: 104.4 kB / 0.9516 GB, free: 6.941 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.204e-06/0.5282, allocations: 3.938 kB / 0.9516 GB, free: 6.938 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.426e-06/0.5282, allocations: 5.25 kB / 0.9516 GB, free: 6.934 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-06/0.5282, allocations: 2.375 kB / 0.9516 GB, free: 6.934 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.023e-05/0.5283, allocations: 45.5 kB / 0.9516 GB, free: 6.91 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003592/0.5287, allocations: 0.6382 MB / 0.9523 GB, free: 6.254 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 3.818e-05/0.5287, allocations: 170.5 kB / 0.9524 GB, free: 6.078 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.261e-05/0.5287, allocations: 88.11 kB / 0.9525 GB, free: 5.988 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 8.716e-06/0.5287, allocations: 75.28 kB / 0.9526 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.787e-05/0.5288, allocations: 111.4 kB / 0.9527 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 9.51e-07/0.5288, allocations: 0 / 0.9527 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 5.519e-05/0.5288, allocations: 39.73 kB / 0.9527 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.615e-05/0.5289, allocations: 130.7 kB / 0.9529 GB, free: 5.617 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001255/0.529, allocations: 171.1 kB / 0.953 GB, free: 5.477 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 4.108e-06/0.529, allocations: 27.33 kB / 0.953 GB, free: 5.445 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.547e-05/0.529, allocations: 103.7 kB / 0.9531 GB, free: 5.344 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.275e-06/0.529, allocations: 0 / 0.9531 GB, free: 5.344 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.387e-05/0.5291, allocations: 12.84 kB / 0.9532 GB, free: 5.328 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.503e-05/0.5291, allocations: 322.2 kB / 0.9535 GB, free: 5.008 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.28e-05/0.5291, allocations: 5.25 kB / 0.9535 GB, free: 5.004 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.63e-05/0.5292, allocations: 31.19 kB / 0.9535 GB, free: 4.969 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.943e-05/0.5292, allocations: 23.64 kB / 0.9535 GB, free: 4.941 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.5292, allocations: 1.062 kB / 0.9535 GB, free: 4.941 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.383e-05/0.5293, allocations: 53.95 kB / 0.9536 GB, free: 4.898 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.078e-05/0.5293, allocations: 9.688 kB / 0.9536 GB, free: 4.895 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.5293, allocations: 7.922 kB / 0.9536 GB, free: 4.887 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.048e-05/0.5293, allocations: 5.25 kB / 0.9536 GB, free: 4.883 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.152e-05/0.5294, allocations: 4.781 kB / 0.9536 GB, free: 4.883 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/0.5294, allocations: 1.219 kB / 0.9536 GB, free: 4.883 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.975e-05/0.5294, allocations: 10.16 kB / 0.9536 GB, free: 4.875 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.028e-06/0.5294, allocations: 1.312 kB / 0.9536 GB, free: 4.875 MB / 0.7169 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 4.88e-05/0.5295, allocations: 190.9 kB / 0.9538 GB, free: 4.684 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.518e-05/0.5295, allocations: 115.9 kB / 0.9539 GB, free: 4.566 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.431e-05/0.5296, allocations: 129.7 kB / 0.954 GB, free: 4.438 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.758e-05/0.5296, allocations: 176.3 kB / 0.9542 GB, free: 4.258 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.957e-05/0.5296, allocations: 182.3 kB / 0.9544 GB, free: 4.074 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.739e-05/0.5296, allocations: 184.2 kB / 0.9545 GB, free: 3.887 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001197/0.5297, allocations: 422.3 kB / 0.955 GB, free: 3.426 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.163e-05/0.5298, allocations: 110.2 kB / 0.9551 GB, free: 3.312 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.218e-05/0.5298, allocations: 106.3 kB / 0.9552 GB, free: 3.203 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-05/0.5298, allocations: 181.6 kB / 0.9553 GB, free: 3.02 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.957e-05/0.5298, allocations: 180.2 kB / 0.9555 GB, free: 2.836 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.878e-05/0.5299, allocations: 181.3 kB / 0.9557 GB, free: 2.652 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.504e-05/0.5299, allocations: 189.5 kB / 0.9559 GB, free: 2.461 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.158e-05/0.53, allocations: 314 kB / 0.9562 GB, free: 2.137 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.736e-05/0.53, allocations: 184.3 kB / 0.9563 GB, free: 1.934 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.646e-05/0.53, allocations: 189.8 kB / 0.9565 GB, free: 1.742 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.952e-05/0.5301, allocations: 106.5 kB / 0.9566 GB, free: 1.633 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.471e-05/0.5301, allocations: 180.3 kB / 0.9568 GB, free: 1.449 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.255e-05/0.5302, allocations: 106.3 kB / 0.9569 GB, free: 1.34 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 7.167e-05/0.5302, allocations: 128.2 kB / 0.957 GB, free: 1.242 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5302, allocations: 0 / 0.957 GB, free: 1.242 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002105/0.5305, allocations: 5.75 kB / 0.957 GB, free: 1.242 MB / 0.7169 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.0001919/0.5306, allocations: 0.8208 MB / 0.9578 GB, free: 428 kB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 5.654e-05/0.5307, allocations: 9.688 kB / 0.9578 GB, free: 424 kB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.5307, allocations: 0 / 0.9578 GB, free: 424 kB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.072e-06/0.5307, allocations: 1.125 kB / 0.9578 GB, free: 424 kB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002954/0.531, allocations: 0.529 MB / 0.9583 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001293/0.5323, allocations: 1.634 MB / 0.9599 GB, free: 14.37 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002352/0.5326, allocations: 0.6933 MB / 0.9606 GB, free: 13.66 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 1.879e-05/0.5326, allocations: 7.812 kB / 0.9606 GB, free: 13.66 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.419e-05/0.5326, allocations: 21.52 kB / 0.9606 GB, free: 13.64 MB / 0.7325 GB Notification: Performance of SimCode: time 2.2e-07/0.5326, allocations: 0 / 0.9606 GB, free: 13.64 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6299/1.163, allocations: 1.544 MB / 0.9622 GB, free: 12.89 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002603/1.163, allocations: 216.1 kB / 0.9624 GB, free: 12.63 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.521/2.684, allocations: 0 / 0.9624 GB, free: 12.63 MB / 0.7325 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