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 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.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.001351/0.001351, 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.001414/0.001414, allocations: 192.8 kB / 16.25 MB, free: 6.637 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 / 239.9 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.463/2.463, allocations: 461.9 MB / 0.7343 GB, free: 14.94 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001567/0.001567, allocations: 71.56 kB / 0.8987 GB, free: 37.2 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2389/0.2405, allocations: 157.4 MB / 1.052 GB, free: 8.625 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain): time 0.002482/0.243, allocations: 1.601 MB / 1.054 GB, free: 7.012 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 9.94e-05/0.2432, allocations: 31.84 kB / 1.054 GB, free: 6.98 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.001e-05/0.2432, allocations: 0 / 1.054 GB, free: 6.98 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001025/0.2433, allocations: 11.92 kB / 1.054 GB, free: 6.969 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 2.84e-05/0.2434, allocations: 0 / 1.054 GB, free: 6.969 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 8.661e-05/0.2434, allocations: 19.98 kB / 1.054 GB, free: 6.949 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 7.144e-05/0.2435, allocations: 43.78 kB / 1.054 GB, free: 6.906 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001072/0.2436, allocations: 35.98 kB / 1.054 GB, free: 6.871 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 3.277e-05/0.2437, allocations: 19.92 kB / 1.054 GB, free: 6.852 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 5.393e-05/0.2437, allocations: 27.86 kB / 1.054 GB, free: 6.824 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.698e-05/0.2438, allocations: 7.984 kB / 1.054 GB, free: 6.816 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 9.638e-06/0.2438, allocations: 4 kB / 1.054 GB, free: 6.812 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 4.066e-05/0.2438, allocations: 15.98 kB / 1.054 GB, free: 6.797 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.467e-05/0.2439, allocations: 35.8 kB / 1.054 GB, free: 6.762 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 8.17e-05/0.2439, allocations: 52.05 kB / 1.054 GB, free: 6.711 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.244, allocations: 0 / 1.054 GB, free: 6.711 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.082e-06/0.244, allocations: 0 / 1.054 GB, free: 6.711 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.158e-06/0.244, allocations: 0 / 1.054 GB, free: 6.711 MB / 0.8106 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.0003035/0.2443, allocations: 359.4 kB / 1.055 GB, free: 6.309 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.476e-05/0.2443, allocations: 8.625 kB / 1.055 GB, free: 6.301 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.139e-05/0.2444, allocations: 42.73 kB / 1.055 GB, free: 6.25 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.128e-05/0.2444, allocations: 4.844 kB / 1.055 GB, free: 6.246 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000134/0.2445, allocations: 200.1 kB / 1.055 GB, free: 6.012 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.326e-06/0.2445, allocations: 8.375 kB / 1.055 GB, free: 6.004 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.989e-06/0.2445, allocations: 4.375 kB / 1.055 GB, free: 6 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001235/0.2447, allocations: 100.8 kB / 1.055 GB, free: 5.887 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.634e-06/0.2447, allocations: 7.875 kB / 1.055 GB, free: 5.879 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.982e-06/0.2447, allocations: 0 / 1.055 GB, free: 5.879 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.2447, allocations: 4 kB / 1.055 GB, free: 5.875 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.592e-05/0.2448, allocations: 47.91 kB / 1.055 GB, free: 5.828 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004217/0.2452, allocations: 0.6401 MB / 1.056 GB, free: 5.129 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 5.935e-05/0.2453, allocations: 173.1 kB / 1.056 GB, free: 4.949 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.616e-05/0.2453, allocations: 80.14 kB / 1.056 GB, free: 4.867 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.184e-05/0.2453, allocations: 79.28 kB / 1.056 GB, free: 4.789 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.503e-05/0.2454, allocations: 109.8 kB / 1.056 GB, free: 4.672 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=0): time 1.122e-06/0.2454, allocations: 4 kB / 1.056 GB, free: 4.668 MB / 0.8106 GB Notification: Performance of matching and sorting (n=0): time 5.962e-05/0.2455, allocations: 33.55 kB / 1.056 GB, free: 4.629 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.533e-05/0.2455, allocations: 134.7 kB / 1.056 GB, free: 4.484 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001373/0.2456, allocations: 177.3 kB / 1.056 GB, free: 4.301 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 8.506e-06/0.2457, allocations: 25.7 kB / 1.056 GB, free: 4.27 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.182e-05/0.2457, allocations: 100 kB / 1.057 GB, free: 4.168 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.375e-06/0.2457, allocations: 0 / 1.057 GB, free: 4.168 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.741e-05/0.2458, allocations: 13.72 kB / 1.057 GB, free: 4.148 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 7.826e-05/0.2458, allocations: 318.8 kB / 1.057 GB, free: 3.828 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.521e-05/0.2459, allocations: 8 kB / 1.057 GB, free: 3.82 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.073e-05/0.2459, allocations: 26.56 kB / 1.057 GB, free: 3.785 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.57e-05/0.2459, allocations: 26.52 kB / 1.057 GB, free: 3.75 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.2459, allocations: 0 / 1.057 GB, free: 3.75 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001017/0.246, allocations: 53.55 kB / 1.057 GB, free: 3.691 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.194e-05/0.2461, allocations: 12.09 kB / 1.057 GB, free: 3.68 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.2461, allocations: 7.922 kB / 1.057 GB, free: 3.672 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.538e-06/0.2461, allocations: 0 / 1.057 GB, free: 3.672 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.071e-05/0.2461, allocations: 4 kB / 1.057 GB, free: 3.668 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.252e-06/0.2461, allocations: 4 kB / 1.057 GB, free: 3.664 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.347e-05/0.2462, allocations: 7.844 kB / 1.057 GB, free: 3.656 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.352e-06/0.2462, allocations: 4 kB / 1.057 GB, free: 3.652 MB / 0.8106 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 7.741e-05/0.2463, allocations: 193.1 kB / 1.057 GB, free: 3.453 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.479e-05/0.2463, allocations: 120.8 kB / 1.057 GB, free: 3.328 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.128e-05/0.2464, allocations: 116.9 kB / 1.057 GB, free: 3.207 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.123e-05/0.2464, allocations: 180.3 kB / 1.058 GB, free: 3.023 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.542e-05/0.2465, allocations: 180.2 kB / 1.058 GB, free: 2.84 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.554e-05/0.2465, allocations: 188.3 kB / 1.058 GB, free: 2.648 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001828/0.2467, allocations: 425.1 kB / 1.058 GB, free: 2.176 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.631e-05/0.2467, allocations: 109 kB / 1.058 GB, free: 2.062 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.742e-05/0.2468, allocations: 105 kB / 1.059 GB, free: 1.953 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.577e-05/0.2468, allocations: 180.2 kB / 1.059 GB, free: 1.77 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.369e-05/0.2469, allocations: 180.2 kB / 1.059 GB, free: 1.586 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.541e-05/0.2469, allocations: 180.2 kB / 1.059 GB, free: 1.402 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.513e-05/0.247, allocations: 188.2 kB / 1.059 GB, free: 1.211 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.7e-05/0.2471, allocations: 311.7 kB / 1.06 GB, free: 0.8828 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 6.077e-05/0.2471, allocations: 190 kB / 1.06 GB, free: 0.6719 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.649e-05/0.2472, allocations: 188.1 kB / 1.06 GB, free: 492 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.105e-05/0.2473, allocations: 105 kB / 1.06 GB, free: 380 kB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.535e-05/0.2473, allocations: 184.3 kB / 1.06 GB, free: 188 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.708e-05/0.2474, allocations: 104.9 kB / 1.06 GB, free: 76 kB / 0.8106 GB Notification: Performance of sorting global known variables: time 9.087e-05/0.2475, allocations: 127.2 kB / 1.06 GB, free: 15.95 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.81e-07/0.2475, allocations: 0 / 1.06 GB, free: 15.95 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002047/0.2477, allocations: 4 kB / 1.06 GB, free: 15.95 MB / 0.8262 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.0003063/0.248, allocations: 0.8164 MB / 1.061 GB, free: 15.1 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 5.916e-05/0.2481, allocations: 15.94 kB / 1.061 GB, free: 15.09 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.2481, allocations: 0 / 1.061 GB, free: 15.09 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.262e-06/0.2481, allocations: 0 / 1.061 GB, free: 15.09 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000311/0.2484, allocations: 467.9 kB / 1.062 GB, free: 14.62 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001159/0.2495, allocations: 1.629 MB / 1.063 GB, free: 12.91 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001879/0.2497, allocations: 0.7 MB / 1.064 GB, free: 12.18 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 1.69e-05/0.2498, allocations: 7.859 kB / 1.064 GB, free: 12.18 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.605e-05/0.2498, allocations: 27.42 kB / 1.064 GB, free: 12.15 MB / 0.8262 GB Notification: Performance of SimCode: time 3.01e-07/0.2498, allocations: 0 / 1.064 GB, free: 12.15 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9521/1.202, allocations: 1.593 MB / 1.066 GB, free: 10.7 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002367/1.202, allocations: 222.5 kB / 1.066 GB, free: 10.44 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.487/3.689, allocations: 0 / 1.066 GB, free: 10.44 MB / 0.8262 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=50 --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