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.0007408/0.0007408, 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.0007433/0.0007433, 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.824/0.824, allocations: 177.1 MB / 202.8 MB, free: 5.734 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.668/1.668, allocations: 377.9 MB / 0.6221 GB, free: 8.641 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.322e-06/1.322e-06, allocations: 0 / 0.981 GB, free: 2.57 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 9.969e-06/1.129e-05, allocations: 2.281 kB / 0.981 GB, free: 2.566 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain): time 0.001651/0.001662, allocations: 1.548 MB / 0.9825 GB, free: 1.012 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 9.979e-05/0.001762, allocations: 35.84 kB / 0.9825 GB, free: 0.9766 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.306e-05/0.001805, allocations: 4 kB / 0.9825 GB, free: 0.9727 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 0.0001095/0.001914, allocations: 7.922 kB / 0.9825 GB, free: 0.9648 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 2.993e-05/0.001944, allocations: 7.875 kB / 0.9825 GB, free: 0.957 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001018/0.002046, allocations: 19.97 kB / 0.9825 GB, free: 0.9375 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 7.941e-05/0.002125, allocations: 47.84 kB / 0.9826 GB, free: 0.8906 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001085/0.002234, allocations: 23.97 kB / 0.9826 GB, free: 0.8672 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 4.229e-05/0.002276, allocations: 27.92 kB / 0.9826 GB, free: 0.8398 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 5.422e-05/0.00233, allocations: 19.95 kB / 0.9827 GB, free: 0.8203 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 2.199e-05/0.002352, allocations: 8 kB / 0.9827 GB, free: 0.8125 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 7.765e-06/0.00236, allocations: 8 kB / 0.9827 GB, free: 0.8047 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 4.811e-05/0.002408, allocations: 19.92 kB / 0.9827 GB, free: 0.7852 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 3.004e-05/0.002438, allocations: 19.92 kB / 0.9827 GB, free: 0.7656 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 8.652e-05/0.002525, allocations: 59.73 kB / 0.9828 GB, free: 0.707 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 1.583e-06/0.002526, allocations: 0 / 0.9828 GB, free: 0.707 MB / 0.9323 GB Notification: Performance of FrontEnd: time 6.51e-07/0.002527, allocations: 0 / 0.9828 GB, free: 0.707 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 3.867e-06/0.002531, allocations: 0 / 0.9828 GB, free: 0.707 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.0002906/0.002821, allocations: 288.7 kB / 0.983 GB, free: 404 kB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.55e-05/0.002857, allocations: 12.03 kB / 0.9831 GB, free: 392 kB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.869e-05/0.002886, allocations: 34.75 kB / 0.9831 GB, free: 348 kB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.816e-05/0.002904, allocations: 12.89 kB / 0.9831 GB, free: 336 kB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001201/0.003024, allocations: 129.7 kB / 0.9832 GB, free: 180 kB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.013e-05/0.003034, allocations: 8.375 kB / 0.9832 GB, free: 172 kB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.568e-06/0.003044, allocations: 4.375 kB / 0.9832 GB, free: 168 kB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001219/0.003166, allocations: 104.7 kB / 0.9833 GB, free: 48 kB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.823e-06/0.003172, allocations: 192 / 0.9833 GB, free: 48 kB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.017e-05/0.003183, allocations: 8.375 kB / 0.9833 GB, free: 40 kB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.003188, allocations: 4.125 kB / 0.9834 GB, free: 36 kB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.905e-05/0.003257, allocations: 47.91 kB / 0.9834 GB, free: 15.99 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003913/0.003648, allocations: 0.5925 MB / 0.984 GB, free: 15.34 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001271/0.003775, allocations: 177.1 kB / 0.9841 GB, free: 15.16 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.322e-05/0.003799, allocations: 92.12 kB / 0.9842 GB, free: 15.07 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.661e-05/0.003815, allocations: 75.28 kB / 0.9843 GB, free: 14.99 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.896e-05/0.003844, allocations: 105.8 kB / 0.9844 GB, free: 14.88 MB / 0.948 GB Notification: Performance of pre-optimization done (n=0): time 8.62e-07/0.003845, allocations: 0 / 0.9844 GB, free: 14.88 MB / 0.948 GB Notification: Performance of matching and sorting (n=0): time 5.091e-05/0.003896, allocations: 37.59 kB / 0.9844 GB, free: 14.84 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.019e-05/0.003936, allocations: 130.6 kB / 0.9846 GB, free: 14.7 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000116/0.004052, allocations: 172.5 kB / 0.9847 GB, free: 14.52 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 7.665e-06/0.00406, allocations: 25.7 kB / 0.9848 GB, free: 14.48 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 5e-05/0.00411, allocations: 108 kB / 0.9849 GB, free: 14.38 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.044e-06/0.004112, allocations: 4 kB / 0.9849 GB, free: 14.37 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.267e-05/0.004134, allocations: 13.72 kB / 0.9849 GB, free: 14.35 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 6.613e-05/0.004201, allocations: 318.8 kB / 0.9852 GB, free: 14.03 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.218e-05/0.004213, allocations: 8 kB / 0.9852 GB, free: 14.02 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.56e-05/0.004228, allocations: 18.58 kB / 0.9852 GB, free: 14 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.281e-05/0.004261, allocations: 30.52 kB / 0.9852 GB, free: 13.96 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.004263, allocations: 0 / 0.9852 GB, free: 13.96 MB / 0.948 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.184e-05/0.004355, allocations: 61.58 kB / 0.9853 GB, free: 13.89 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.018e-05/0.004365, allocations: 4 kB / 0.9853 GB, free: 13.89 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.389e-06/0.004369, allocations: 0 / 0.9853 GB, free: 13.89 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.089e-05/0.00438, allocations: 4 kB / 0.9853 GB, free: 13.88 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.391e-05/0.004424, allocations: 4 kB / 0.9853 GB, free: 13.88 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.004429, allocations: 3.938 kB / 0.9853 GB, free: 13.88 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.073e-05/0.00445, allocations: 11.94 kB / 0.9853 GB, free: 13.86 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.128e-06/0.004454, 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 6.232e-05/0.004516, allocations: 193.1 kB / 0.9855 GB, free: 13.66 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.693e-05/0.004553, allocations: 116.9 kB / 0.9856 GB, free: 13.54 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.023e-05/0.004584, allocations: 116.9 kB / 0.9857 GB, free: 13.42 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.408e-05/0.004618, allocations: 180.3 kB / 0.9859 GB, free: 13.24 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.773e-05/0.004655, allocations: 184.2 kB / 0.9861 GB, free: 13.05 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.796e-05/0.004693, allocations: 188.2 kB / 0.9863 GB, free: 12.86 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001343/0.004828, allocations: 384.3 kB / 0.9866 GB, free: 12.43 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.127e-05/0.004849, allocations: 105 kB / 0.9867 GB, free: 12.32 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.156e-05/0.00487, allocations: 108.9 kB / 0.9868 GB, free: 12.21 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.573e-05/0.004906, allocations: 180.2 kB / 0.987 GB, free: 12.03 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.889e-05/0.004945, allocations: 188.2 kB / 0.9872 GB, free: 11.84 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.524e-05/0.00498, allocations: 176.3 kB / 0.9873 GB, free: 11.66 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.579e-05/0.005016, allocations: 184.2 kB / 0.9875 GB, free: 11.47 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.26e-05/0.005099, allocations: 319.7 kB / 0.9878 GB, free: 11.13 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.406e-05/0.005133, allocations: 112.9 kB / 0.9879 GB, free: 11.02 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.565e-05/0.005178, allocations: 176.3 kB / 0.9881 GB, free: 10.84 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.273e-05/0.005231, allocations: 109 kB / 0.9882 GB, free: 10.72 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.621e-05/0.005277, allocations: 192.1 kB / 0.9884 GB, free: 10.53 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.219e-05/0.0053, allocations: 101 kB / 0.9885 GB, free: 10.42 MB / 0.948 GB Notification: Performance of sorting global known variables: time 6.314e-05/0.005363, allocations: 126.1 kB / 0.9886 GB, free: 10.3 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.005363, allocations: 0 / 0.9886 GB, free: 10.3 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001426/0.005505, allocations: 12 kB / 0.9886 GB, free: 10.29 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.0002398/0.005745, allocations: 0.8126 MB / 0.9894 GB, free: 9.445 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 6.067e-05/0.005806, allocations: 11.94 kB / 0.9894 GB, free: 9.434 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.005807, allocations: 0 / 0.9894 GB, free: 9.434 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 8.52e-07/0.005808, allocations: 0 / 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.0002483/0.006057, allocations: 470.4 kB / 0.9899 GB, free: 8.973 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00103/0.007087, allocations: 1.645 MB / 0.9915 GB, free: 7.23 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.636e-05/0.007133, allocations: 75.27 kB / 0.9915 GB, free: 7.137 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 1.486e-05/0.007148, allocations: 11.98 kB / 0.9916 GB, free: 7.125 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.607e-05/0.007184, allocations: 20.5 kB / 0.9916 GB, free: 7.105 MB / 0.948 GB Notification: Performance of SimCode: time 6.01e-07/0.007185, allocations: 0 / 0.9916 GB, free: 7.105 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01367/0.02086, allocations: 2.352 MB / 0.9939 GB, free: 4.883 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.529/6.55, allocations: 14.44 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 & python3 -m fmpy simulate --output-file Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain_res.csv --start-time 0 --stop-time 3600 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 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.csv","/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.430477153509855]