Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.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.001806/0.001806, allocations: 110 kB / 16.46 MB, free: 6.453 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.00217/0.00217, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.402/1.402, allocations: 230.6 MB / 252.8 MB, free: 8.984 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.031/3.031, 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.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly,fileNamePrefix="Buildings_12_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly,fileNamePrefix="Buildings_12_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly",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.001905/0.001905, allocations: 70.52 kB / 1.149 GB, free: 26.55 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3323/0.3342, allocations: 176.1 MB / 1.321 GB, free: 3.426 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly): time 0.2871/0.6213, allocations: 245.7 MB / 1.561 GB, free: 12.83 MB / 1.264 GB Notification: Performance of NFInst.instExpressions: time 0.01435/0.6357, allocations: 8.534 MB / 1.569 GB, free: 4.281 MB / 1.264 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001893/0.6375, allocations: 95.12 kB / 1.569 GB, free: 4.188 MB / 1.264 GB Notification: Performance of NFTyping.typeComponents: time 0.002547/0.6401, allocations: 1.076 MB / 1.57 GB, free: 3.105 MB / 1.264 GB Notification: Performance of NFTyping.typeBindings: time 0.008047/0.6481, allocations: 3.232 MB / 1.573 GB, free: 15.86 MB / 1.279 GB Notification: Performance of NFTyping.typeClassSections: time 0.008832/0.657, allocations: 3.504 MB / 1.577 GB, free: 12.35 MB / 1.279 GB Notification: Performance of NFFlatten.flatten: time 0.006338/0.6633, allocations: 3.932 MB / 1.581 GB, free: 8.402 MB / 1.279 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002517/0.6658, allocations: 1.166 MB / 1.582 GB, free: 7.203 MB / 1.279 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005602/0.6714, allocations: 2.293 MB / 1.584 GB, free: 4.902 MB / 1.279 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002934/0.6744, allocations: 1.451 MB / 1.585 GB, free: 3.445 MB / 1.279 GB Notification: Performance of NFPackage.collectConstants: time 0.0003804/0.6747, allocations: 128 kB / 1.586 GB, free: 3.32 MB / 1.279 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00825/0.683, allocations: 4.177 MB / 1.59 GB, free: 15.13 MB / 1.295 GB Notification: Performance of NFScalarize.scalarize: time 0.001056/0.6841, allocations: 0.6151 MB / 1.59 GB, free: 14.52 MB / 1.295 GB Notification: Performance of NFVerifyModel.verify: time 0.001972/0.686, allocations: 0.9869 MB / 1.591 GB, free: 13.52 MB / 1.295 GB Notification: Performance of NFConvertDAE.convert: time 0.009252/0.6953, allocations: 3.889 MB / 1.595 GB, free: 9.621 MB / 1.295 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.6953, allocations: 0 / 1.595 GB, free: 9.621 MB / 1.295 GB Notification: Performance of FrontEnd: time 1.984e-06/0.6953, allocations: 0 / 1.595 GB, free: 9.621 MB / 1.295 GB Notification: Performance of Transformations before backend: time 9.008e-05/0.6954, allocations: 0 / 1.595 GB, free: 9.621 MB / 1.295 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 334 * Number of variables: 334 Notification: Performance of Generate backend data structure: time 0.007225/0.7026, allocations: 2.73 MB / 1.598 GB, free: 6.82 MB / 1.295 GB Notification: Performance of prepare preOptimizeDAE: time 4.677e-05/0.7026, allocations: 11.98 kB / 1.598 GB, free: 6.809 MB / 1.295 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002595/0.7029, allocations: 194.4 kB / 1.598 GB, free: 6.609 MB / 1.295 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007526/0.7104, allocations: 1.142 MB / 1.599 GB, free: 5.465 MB / 1.295 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002659/0.7131, allocations: 1.283 MB / 1.6 GB, free: 4.129 MB / 1.295 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.617e-05/0.7132, allocations: 98.56 kB / 1.6 GB, free: 4.031 MB / 1.295 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000262/0.7134, allocations: 139.9 kB / 1.6 GB, free: 3.895 MB / 1.295 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004299/0.7177, allocations: 1.959 MB / 1.602 GB, free: 1.809 MB / 1.295 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.823e-05/0.7178, allocations: 7.938 kB / 1.602 GB, free: 1.801 MB / 1.295 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001715/0.7179, allocations: 60 kB / 1.602 GB, free: 1.742 MB / 1.295 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.537e-05/0.718, allocations: 62.34 kB / 1.603 GB, free: 1.68 MB / 1.295 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.6873/1.405, allocations: 1.883 MB / 1.604 GB, free: 282.1 MB / 1.295 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01141/1.417, allocations: 8.664 MB / 1.613 GB, free: 276.5 MB / 1.295 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004289/1.421, allocations: 1.454 MB / 1.614 GB, free: 276.1 MB / 1.295 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002101/1.423, allocations: 0.7503 MB / 1.615 GB, free: 275.9 MB / 1.295 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001138/1.424, allocations: 0.9463 MB / 1.616 GB, free: 275 MB / 1.295 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002225/1.427, allocations: 0.8801 MB / 1.617 GB, free: 274.7 MB / 1.295 GB Notification: Performance of pre-optimization done (n=106): time 3.617e-06/1.427, allocations: 3.312 kB / 1.617 GB, free: 274.7 MB / 1.295 GB Notification: Performance of matching and sorting (n=106): time 0.007111/1.434, allocations: 2.384 MB / 1.619 GB, free: 274 MB / 1.295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.645e-05/1.434, allocations: 66.8 kB / 1.619 GB, free: 274 MB / 1.295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003071/1.437, allocations: 1.742 MB / 1.621 GB, free: 273.3 MB / 1.295 GB Notification: Performance of collectPreVariables (initialization): time 0.0001792/1.437, allocations: 52.69 kB / 1.621 GB, free: 273.3 MB / 1.295 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006456/1.438, allocations: 0.8449 MB / 1.622 GB, free: 272.6 MB / 1.295 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003756/1.438, allocations: 383.2 kB / 1.622 GB, free: 272.4 MB / 1.295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004747/1.438, allocations: 239.1 kB / 1.622 GB, free: 272.3 MB / 1.295 GB Notification: Performance of setup shared object (initialization): time 9.63e-05/1.439, allocations: 352.8 kB / 1.623 GB, free: 272 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002122/1.441, allocations: 0.6692 MB / 1.623 GB, free: 271.8 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002155/1.443, allocations: 1.052 MB / 1.624 GB, free: 271.2 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003838/1.447, allocations: 1.717 MB / 1.626 GB, free: 270.3 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.063e-05/1.447, allocations: 2.594 kB / 1.626 GB, free: 270.3 MB / 1.295 GB Notification: Performance of matching and sorting (n=157) (initialization): time 0.004952/1.452, allocations: 1.939 MB / 1.628 GB, free: 269.7 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 3.029e-05/1.452, allocations: 10.47 kB / 1.628 GB, free: 269.7 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.776e-05/1.452, allocations: 10.09 kB / 1.628 GB, free: 269.7 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.348e-05/1.452, allocations: 17.8 kB / 1.628 GB, free: 269.7 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001754/1.453, allocations: 361.5 kB / 1.628 GB, free: 269.7 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.355e-05/1.454, allocations: 22.48 kB / 1.628 GB, free: 269.6 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001907/1.455, allocations: 250.9 kB / 1.629 GB, free: 269.6 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000134/1.456, allocations: 66.58 kB / 1.629 GB, free: 269.6 MB / 1.295 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * Number of states: 0 () * Number of discrete variables: 15 ($PRE.setHeaHigPow.nextTimeEvent,$whenCondition3,$PRE.setCooLimPow.nextTimeEvent,$whenCondition2,$PRE.setHeaCooUnl.nextTimeEvent,$whenCondition1,setHeaCooUnl.nextTimeEventScaled,$PRE.setHeaCooUnl.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,setCooLimPow.nextTimeEventScaled,$PRE.setCooLimPow.nextTimeEventScaled,setCooLimPow.nextTimeEvent,setHeaHigPow.nextTimeEventScaled,$PRE.setHeaHigPow.nextTimeEventScaled,setHeaHigPow.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (157): * Single equations (assignments): 157 * 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.0006893/1.456, allocations: 403.1 kB / 1.629 GB, free: 269.3 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003221/1.457, allocations: 216.1 kB / 1.629 GB, free: 269.2 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004724/1.461, allocations: 1.813 MB / 1.631 GB, free: 268.6 MB / 1.295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.183e-05/1.461, allocations: 10.41 kB / 1.631 GB, free: 268.6 MB / 1.295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/1.461, allocations: 0 / 1.631 GB, free: 268.6 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.532e-05/1.461, allocations: 6.359 kB / 1.631 GB, free: 268.6 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007597/1.469, allocations: 4.012 MB / 1.635 GB, free: 267 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-05/1.469, allocations: 6.875 kB / 1.635 GB, free: 267 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001485/1.47, allocations: 271.9 kB / 1.635 GB, free: 266.9 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-05/1.47, allocations: 10.5 kB / 1.635 GB, free: 266.9 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.857e-05/1.471, allocations: 37.61 kB / 1.635 GB, free: 266.9 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.434e-05/1.471, allocations: 18.41 kB / 1.635 GB, free: 266.9 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.734e-06/1.471, allocations: 8.438 kB / 1.635 GB, free: 266.9 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00616/1.477, allocations: 2.931 MB / 1.638 GB, free: 265.6 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007442/1.477, allocations: 399.9 kB / 1.639 GB, free: 265.3 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002418/1.478, allocations: 25.75 kB / 1.639 GB, free: 265.3 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001391/1.479, allocations: 128.4 kB / 1.639 GB, free: 265.2 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001737/1.479, allocations: 90.88 kB / 1.639 GB, free: 265.2 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001078/1.479, allocations: 48.97 kB / 1.639 GB, free: 265.2 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.001681/1.481, allocations: 1.185 MB / 1.64 GB, free: 264.5 MB / 1.295 GB Notification: Performance of sort global known variables: time 8e-08/1.481, allocations: 1.375 kB / 1.64 GB, free: 264.5 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.001447/1.482, allocations: 469.5 kB / 1.64 GB, free: 264.5 MB / 1.295 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 29 * Number of states: 3 (heaHigPow.T,cooLimPow.T,heaCooUnl.T) * Number of discrete variables: 9 ($whenCondition3,$whenCondition2,$whenCondition1,setHeaHigPow.nextTimeEvent,setHeaHigPow.nextTimeEventScaled,setCooLimPow.nextTimeEvent,setCooLimPow.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,setHeaCooUnl.nextTimeEventScaled) * Number of discrete states: 6 (setHeaHigPow.nextTimeEvent,setCooLimPow.nextTimeEvent,setHeaCooUnl.nextTimeEvent,setHeaCooUnl.nextTimeEventScaled,setCooLimPow.nextTimeEventScaled,setHeaHigPow.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (106): * Single equations (assignments): 100 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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.007409/1.49, allocations: 3.951 MB / 1.644 GB, free: 262.1 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.003886/1.494, allocations: 1.585 MB / 1.646 GB, free: 261.4 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 7.935e-06/1.494, allocations: 0 / 1.646 GB, free: 261.4 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.001834/1.496, allocations: 0.7861 MB / 1.647 GB, free: 261 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004065/1.5, allocations: 0.9796 MB / 1.648 GB, free: 260.5 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02148/1.521, allocations: 14.75 MB / 1.662 GB, free: 246.4 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006221/1.522, allocations: 1.373 MB / 1.663 GB, free: 245 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.001634/1.523, allocations: 476.9 kB / 1.664 GB, free: 244.5 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008442/1.524, allocations: 0.7218 MB / 1.664 GB, free: 243.8 MB / 1.295 GB Notification: Performance of SimCode: time 1.012e-06/1.524, allocations: 4 kB / 1.664 GB, free: 243.8 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07421/1.598, allocations: 50.85 MB / 1.714 GB, free: 193.6 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.22/13.82, allocations: 10.75 kB / 1.714 GB, free: 193.6 MB / 1.295 GB " [Timeout remaining time 286] (rm -f Buildings_12_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe ; mkfifo Buildings_12_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe >> ../files/Buildings_12_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly_fmu --startTime=0 --stopTime=1200 --stepSize=0.48 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly.fmu > Buildings_12_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.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: 20.395162950037047]