Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008864/0.0008864, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008703/0.0008703, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8932/0.8932, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.757/1.757, allocations: 377.8 MB / 0.6221 GB, free: 8.652 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain,fileNamePrefix="Buildings_12_Buildings_ThermalZones_Detailed_BaseClasses_Examples_HeatGain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain,fileNamePrefix="Buildings_12_Buildings_ThermalZones_Detailed_BaseClasses_Examples_HeatGain",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 0.9809 GB, free: 2.586 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.673e-05/1.822e-05, allocations: 16.89 kB / 0.981 GB, free: 2.57 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain): time 0.00195/0.001968, allocations: 1.548 MB / 0.9825 GB, free: 1.016 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0001097/0.002078, allocations: 27.91 kB / 0.9825 GB, free: 0.9883 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.515e-05/0.002133, allocations: 3.938 kB / 0.9825 GB, free: 0.9844 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 0.0001226/0.002255, allocations: 11.88 kB / 0.9825 GB, free: 0.9727 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 3.44e-05/0.00229, allocations: 11.92 kB / 0.9825 GB, free: 0.9609 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001182/0.002408, allocations: 19.98 kB / 0.9825 GB, free: 0.9414 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 8.763e-05/0.002496, allocations: 39.84 kB / 0.9826 GB, free: 0.9023 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000123/0.002619, allocations: 23.97 kB / 0.9826 GB, free: 0.8789 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 5.097e-05/0.00267, allocations: 31.91 kB / 0.9826 GB, free: 0.8477 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 6.301e-05/0.002733, allocations: 27.91 kB / 0.9827 GB, free: 0.8203 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 2.353e-05/0.002756, allocations: 4 kB / 0.9827 GB, free: 0.8164 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 8.957e-06/0.002765, allocations: 4 kB / 0.9827 GB, free: 0.8125 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 4.447e-05/0.00281, allocations: 23.91 kB / 0.9827 GB, free: 0.7891 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 2.736e-05/0.002837, allocations: 12 kB / 0.9827 GB, free: 0.7773 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 9.765e-05/0.002935, allocations: 55.8 kB / 0.9828 GB, free: 0.7227 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 1.844e-06/0.002936, allocations: 4 kB / 0.9828 GB, free: 0.7188 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.152e-06/0.002938, allocations: 0 / 0.9828 GB, free: 0.7188 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 3.867e-06/0.002941, allocations: 0 / 0.9828 GB, free: 0.7188 MB / 0.9323 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.0003243/0.003266, allocations: 294 kB / 0.983 GB, free: 408 kB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.073e-05/0.003306, allocations: 8.031 kB / 0.9831 GB, free: 400 kB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.44e-05/0.003341, allocations: 42.73 kB / 0.9831 GB, free: 348 kB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.312e-05/0.003364, allocations: 8.891 kB / 0.9831 GB, free: 340 kB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001319/0.003496, allocations: 121.7 kB / 0.9832 GB, free: 192 kB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.12e-05/0.003507, allocations: 8.375 kB / 0.9832 GB, free: 184 kB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.608e-06/0.003517, allocations: 8.375 kB / 0.9832 GB, free: 176 kB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001373/0.003654, allocations: 108.7 kB / 0.9833 GB, free: 52 kB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.256e-06/0.003662, allocations: 192 / 0.9833 GB, free: 52 kB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.174e-05/0.003674, allocations: 4.375 kB / 0.9833 GB, free: 48 kB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.746e-06/0.003683, allocations: 8.125 kB / 0.9834 GB, free: 40 kB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.317e-05/0.003766, allocations: 43.95 kB / 0.9834 GB, free: 15.99 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004588/0.004225, allocations: 0.6001 MB / 0.984 GB, free: 15.34 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 7.509e-05/0.0043, allocations: 173.1 kB / 0.9841 GB, free: 15.16 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.945e-05/0.004329, allocations: 80.14 kB / 0.9842 GB, free: 15.08 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.077e-05/0.00435, allocations: 79.28 kB / 0.9843 GB, free: 15 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.985e-05/0.00439, allocations: 113.8 kB / 0.9844 GB, free: 14.88 MB / 0.948 GB Notification: Performance of pre-optimization done (n=0): time 1.002e-06/0.004391, allocations: 0 / 0.9844 GB, free: 14.88 MB / 0.948 GB Notification: Performance of matching and sorting (n=0): time 6.601e-05/0.004457, allocations: 37.59 kB / 0.9844 GB, free: 14.84 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.51e-05/0.004512, allocations: 130.6 kB / 0.9846 GB, free: 14.7 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001405/0.004652, allocations: 168.9 kB / 0.9847 GB, free: 14.52 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.054e-05/0.004663, allocations: 25.7 kB / 0.9847 GB, free: 14.49 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 5.906e-05/0.004722, allocations: 104.1 kB / 0.9848 GB, free: 14.39 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.756e-06/0.004725, allocations: 0 / 0.9848 GB, free: 14.39 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.968e-05/0.004754, allocations: 17.72 kB / 0.9849 GB, free: 14.36 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.667e-05/0.004841, allocations: 322.8 kB / 0.9852 GB, free: 14.04 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.284e-05/0.004854, allocations: 8 kB / 0.9852 GB, free: 14.03 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.916e-05/0.004873, allocations: 18.58 kB / 0.9852 GB, free: 14 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.877e-05/0.004912, allocations: 30.52 kB / 0.9852 GB, free: 13.96 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.004914, allocations: 0 / 0.9852 GB, free: 13.96 MB / 0.948 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001053/0.00502, allocations: 57.58 kB / 0.9853 GB, free: 13.9 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.628e-05/0.005036, allocations: 8 kB / 0.9853 GB, free: 13.89 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.942e-06/0.005042, allocations: 96 / 0.9853 GB, free: 13.89 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.242e-05/0.005054, allocations: 4 kB / 0.9853 GB, free: 13.89 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.94e-05/0.005114, allocations: 4 kB / 0.9853 GB, free: 13.89 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.503e-06/0.00512, allocations: 3.938 kB / 0.9853 GB, free: 13.88 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.547e-05/0.005146, allocations: 15.89 kB / 0.9853 GB, free: 13.87 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.701e-06/0.005151, allocations: 4 kB / 0.9853 GB, free: 13.86 MB / 0.948 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 8.71e-05/0.005238, allocations: 189.1 kB / 0.9855 GB, free: 13.67 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.585e-05/0.005284, allocations: 116.9 kB / 0.9856 GB, free: 13.55 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.211e-05/0.005326, allocations: 112.8 kB / 0.9857 GB, free: 13.43 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.318e-05/0.005379, allocations: 180.3 kB / 0.9859 GB, free: 13.25 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.042e-05/0.00544, allocations: 188.2 kB / 0.9861 GB, free: 13.06 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.533e-05/0.005495, allocations: 184.3 kB / 0.9862 GB, free: 12.87 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000179/0.005674, allocations: 392.2 kB / 0.9866 GB, free: 12.44 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-05/0.005704, allocations: 105 kB / 0.9867 GB, free: 12.33 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.019e-05/0.005735, allocations: 104.9 kB / 0.9868 GB, free: 12.22 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.246e-05/0.005787, allocations: 180.3 kB / 0.987 GB, free: 12.04 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.348e-05/0.005841, allocations: 184.3 kB / 0.9872 GB, free: 11.85 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.649e-05/0.005887, allocations: 180.2 kB / 0.9873 GB, free: 11.66 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.729e-05/0.005934, allocations: 184.2 kB / 0.9875 GB, free: 11.48 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001052/0.00604, allocations: 311.7 kB / 0.9878 GB, free: 11.15 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.833e-05/0.006078, allocations: 112.9 kB / 0.9879 GB, free: 11.03 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.555e-05/0.006133, allocations: 192.2 kB / 0.9881 GB, free: 10.84 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.561e-05/0.006189, allocations: 105 kB / 0.9882 GB, free: 10.73 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.983e-05/0.006239, allocations: 184.1 kB / 0.9884 GB, free: 10.54 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.698e-05/0.006266, allocations: 109 kB / 0.9885 GB, free: 10.43 MB / 0.948 GB Notification: Performance of sorting global known variables: time 7.061e-05/0.006336, allocations: 126.1 kB / 0.9886 GB, free: 10.3 MB / 0.948 GB Notification: Performance of sort global known variables: time 6e-08/0.006336, allocations: 4 kB / 0.9886 GB, free: 10.3 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001547/0.006491, allocations: 4 kB / 0.9886 GB, free: 10.3 MB / 0.948 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.0002781/0.006769, allocations: 0.8087 MB / 0.9894 GB, free: 9.457 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 6.301e-05/0.006832, allocations: 16.06 kB / 0.9894 GB, free: 9.441 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.006834, allocations: 4.062 kB / 0.9894 GB, free: 9.438 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 1.834e-06/0.006836, allocations: 3.938 kB / 0.9894 GB, free: 9.434 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000267/0.007103, allocations: 463.6 kB / 0.9899 GB, free: 8.977 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001145/0.008247, allocations: 1.647 MB / 0.9915 GB, free: 7.234 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.809e-05/0.008306, allocations: 75.08 kB / 0.9915 GB, free: 7.141 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 1.758e-05/0.008323, allocations: 7.984 kB / 0.9916 GB, free: 7.133 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.299e-05/0.008366, allocations: 20.5 kB / 0.9916 GB, free: 7.113 MB / 0.948 GB Notification: Performance of SimCode: time 5.81e-07/0.008367, allocations: 4 kB / 0.9916 GB, free: 7.109 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0173/0.02567, allocations: 2.354 MB / 0.9939 GB, free: 4.887 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.84/6.866, allocations: 18.34 kB / 0.9939 GB, free: 4.871 MB / 0.948 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe ; mkfifo Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe ; head -c 1048576 < Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe >> ../files/Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain_res.mat --tempDir=temp_Buildings_12_Buildings_ThermalZones_Detailed_BaseClasses_Examples_HeatGain_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_ThermalZones_Detailed_BaseClasses_Examples_HeatGain.fmu > Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_ThermalZones_Detailed_BaseClasses_Examples_HeatGain.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.915653316304088]