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.00133/0.00133, allocations: 104 kB / 16.45 MB, free: 6.449 MB / 14.72 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.001425/0.001425, allocations: 210.4 kB / 19.43 MB, free: 3.637 MB / 14.72 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 1.378/1.378, allocations: 230.6 MB / 252.8 MB, free: 9.102 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.065/3.065, allocations: 0.49 GB / 0.7916 GB, free: 33.34 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002219/0.002219, allocations: 74.86 kB / 1.149 GB, free: 26.36 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3303/0.3325, allocations: 176.1 MB / 1.321 GB, free: 3.312 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain): time 0.002946/0.3355, allocations: 1.566 MB / 1.322 GB, free: 1.742 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0001356/0.3356, allocations: 35.84 kB / 1.322 GB, free: 1.707 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.721e-05/0.3357, allocations: 0 / 1.322 GB, free: 1.707 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0001192/0.3358, allocations: 11.86 kB / 1.322 GB, free: 1.695 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 3.354e-05/0.3358, allocations: 7.938 kB / 1.322 GB, free: 1.688 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001031/0.3359, allocations: 19.97 kB / 1.322 GB, free: 1.668 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001017/0.336, allocations: 43.84 kB / 1.322 GB, free: 1.625 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001418/0.3362, allocations: 40.12 kB / 1.322 GB, free: 1.586 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 3.587e-05/0.3362, allocations: 23.92 kB / 1.323 GB, free: 1.562 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 6.75e-05/0.3363, allocations: 35.78 kB / 1.323 GB, free: 1.527 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.752e-05/0.3363, allocations: 4 kB / 1.323 GB, free: 1.523 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 1.266e-05/0.3363, allocations: 4 kB / 1.323 GB, free: 1.52 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 4.456e-05/0.3363, allocations: 19.92 kB / 1.323 GB, free: 1.5 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 3.937e-05/0.3364, allocations: 23.88 kB / 1.323 GB, free: 1.477 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001142/0.3365, allocations: 63.67 kB / 1.323 GB, free: 1.414 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.3365, allocations: 0 / 1.323 GB, free: 1.414 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.282e-06/0.3365, allocations: 0 / 1.323 GB, free: 1.414 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.009e-06/0.3365, allocations: 4 kB / 1.323 GB, free: 1.41 MB / 1.014 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.0004166/0.3369, allocations: 359.3 kB / 1.323 GB, free: 1.008 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.971e-05/0.337, allocations: 11.98 kB / 1.323 GB, free: 0.9961 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.417e-05/0.337, allocations: 38.75 kB / 1.323 GB, free: 0.9492 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.521e-05/0.337, allocations: 8.891 kB / 1.323 GB, free: 0.9414 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001911/0.3372, allocations: 192.2 kB / 1.323 GB, free: 0.7148 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.486e-06/0.3372, allocations: 4.375 kB / 1.323 GB, free: 0.7109 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.647e-05/0.3373, allocations: 8.375 kB / 1.323 GB, free: 0.7031 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000163/0.3374, allocations: 92.81 kB / 1.323 GB, free: 0.5977 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.262e-05/0.3374, allocations: 7.938 kB / 1.323 GB, free: 0.5898 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.095e-05/0.3374, allocations: 7.938 kB / 1.323 GB, free: 0.582 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.3374, allocations: 0 / 1.323 GB, free: 0.582 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.775e-05/0.3375, allocations: 39.97 kB / 1.323 GB, free: 0.543 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006441/0.3382, allocations: 0.6402 MB / 1.324 GB, free: 15.84 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 9.741e-05/0.3383, allocations: 173 kB / 1.324 GB, free: 15.66 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.706e-05/0.3383, allocations: 80.14 kB / 1.324 GB, free: 15.58 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.953e-05/0.3383, allocations: 79.28 kB / 1.324 GB, free: 15.5 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.347e-05/0.3384, allocations: 113.8 kB / 1.324 GB, free: 15.38 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 9.12e-07/0.3384, allocations: 0 / 1.324 GB, free: 15.38 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 7.444e-05/0.3385, allocations: 37.59 kB / 1.324 GB, free: 15.34 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.141e-05/0.3385, allocations: 134.6 kB / 1.325 GB, free: 15.2 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001735/0.3387, allocations: 166.3 kB / 1.325 GB, free: 15.02 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.528e-05/0.3387, allocations: 25.7 kB / 1.325 GB, free: 14.99 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.681e-05/0.3388, allocations: 108 kB / 1.325 GB, free: 14.88 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.518e-06/0.3388, allocations: 8 kB / 1.325 GB, free: 14.88 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.225e-05/0.3388, allocations: 13.72 kB / 1.325 GB, free: 14.86 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001377/0.339, allocations: 322.8 kB / 1.325 GB, free: 14.53 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.272e-05/0.339, allocations: 0 / 1.325 GB, free: 14.53 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.051e-05/0.339, allocations: 22.58 kB / 1.325 GB, free: 14.5 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.109e-05/0.3391, allocations: 38.52 kB / 1.325 GB, free: 14.45 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.3391, allocations: 0 / 1.325 GB, free: 14.45 MB / 1.029 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001214/0.3392, allocations: 57.58 kB / 1.325 GB, free: 14.39 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.625e-05/0.3392, allocations: 4 kB / 1.325 GB, free: 14.39 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.3392, allocations: 3.938 kB / 1.325 GB, free: 14.38 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.459e-05/0.3392, allocations: 7.938 kB / 1.325 GB, free: 14.38 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.87e-05/0.3393, allocations: 4 kB / 1.325 GB, free: 14.37 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.159e-06/0.3393, allocations: 0 / 1.325 GB, free: 14.37 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.283e-05/0.3393, allocations: 8.094 kB / 1.325 GB, free: 14.36 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.018e-06/0.3393, allocations: 0 / 1.325 GB, free: 14.36 MB / 1.029 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 0.0001177/0.3394, allocations: 193.1 kB / 1.326 GB, free: 14.16 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.131e-05/0.3395, allocations: 112.9 kB / 1.326 GB, free: 14.05 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.145e-05/0.3396, allocations: 120.8 kB / 1.326 GB, free: 13.92 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.173e-05/0.3397, allocations: 184.3 kB / 1.326 GB, free: 13.73 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.983e-05/0.3397, allocations: 184.2 kB / 1.326 GB, free: 13.54 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.812e-05/0.3398, allocations: 176.3 kB / 1.326 GB, free: 13.36 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002697/0.3401, allocations: 429.2 kB / 1.327 GB, free: 12.89 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.513e-05/0.3401, allocations: 105 kB / 1.327 GB, free: 12.78 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.03e-05/0.3402, allocations: 101 kB / 1.327 GB, free: 12.67 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.81e-05/0.3402, allocations: 184.2 kB / 1.327 GB, free: 12.48 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.706e-05/0.3403, allocations: 184.2 kB / 1.327 GB, free: 12.3 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.046e-05/0.3404, allocations: 196.3 kB / 1.327 GB, free: 12.1 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.184e-05/0.3405, allocations: 176.3 kB / 1.328 GB, free: 11.92 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001689/0.3406, allocations: 315.8 kB / 1.328 GB, free: 11.59 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 9.865e-05/0.3407, allocations: 190 kB / 1.328 GB, free: 11.38 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.761e-05/0.3408, allocations: 184.1 kB / 1.328 GB, free: 11.19 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.186e-05/0.3409, allocations: 105 kB / 1.328 GB, free: 11.08 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.765e-05/0.341, allocations: 184.2 kB / 1.329 GB, free: 10.89 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.381e-05/0.3411, allocations: 105 kB / 1.329 GB, free: 10.78 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001082/0.3412, allocations: 127.2 kB / 1.329 GB, free: 10.66 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3412, allocations: 4 kB / 1.329 GB, free: 10.65 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002177/0.3414, allocations: 8 kB / 1.329 GB, free: 10.64 MB / 1.029 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.000499/0.3419, allocations: 0.8125 MB / 1.33 GB, free: 9.805 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 7.839e-05/0.342, allocations: 12.12 kB / 1.33 GB, free: 9.793 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.342, allocations: 0 / 1.33 GB, free: 9.793 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 4.048e-06/0.342, allocations: 4 kB / 1.33 GB, free: 9.789 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003985/0.3424, allocations: 467.6 kB / 1.33 GB, free: 9.328 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001592/0.344, allocations: 1.641 MB / 1.332 GB, free: 7.598 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003263/0.3443, allocations: 0.6963 MB / 1.332 GB, free: 6.875 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 1.932e-05/0.3443, allocations: 4 kB / 1.332 GB, free: 6.871 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.328e-05/0.3443, allocations: 19.42 kB / 1.332 GB, free: 6.852 MB / 1.029 GB Notification: Performance of SimCode: time 4.11e-07/0.3443, allocations: 0 / 1.332 GB, free: 6.852 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02476/0.3691, allocations: 1.714 MB / 1.334 GB, free: 5.25 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.717/8.086, allocations: 12.56 kB / 1.334 GB, free: 5.238 MB / 1.029 GB " [Timeout remaining time 292] (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/jenkins1/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: 14.448064814088866]