Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.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.00129/0.00129, allocations: 107.6 kB / 18.95 MB, free: 2.809 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.001369/0.001369, allocations: 210.8 kB / 22.24 MB, free: 5.117 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.327/1.327, allocations: 230.6 MB / 256 MB, free: 7.832 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.974/2.974, allocations: 0.5107 GB / 0.8158 GB, free: 17.82 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_X_wSetOnly,fileNamePrefix="Buildings_latest_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly,fileNamePrefix="Buildings_latest_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly",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.001986/0.001986, allocations: 66.08 kB / 1.186 GB, free: 13.7 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2953/0.2973, allocations: 181.8 MB / 1.363 GB, free: 14.07 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly): time 0.238/0.5354, allocations: 214.7 MB / 1.573 GB, free: 6.582 MB / 1.264 GB Notification: Performance of NFInst.instExpressions: time 0.01304/0.5484, allocations: 8.058 MB / 1.581 GB, free: 14.51 MB / 1.279 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001135/0.5495, allocations: 95.12 kB / 1.581 GB, free: 14.41 MB / 1.279 GB Notification: Performance of NFTyping.typeComponents: time 0.002107/0.5516, allocations: 1.048 MB / 1.582 GB, free: 13.36 MB / 1.279 GB Notification: Performance of NFTyping.typeBindings: time 0.006541/0.5582, allocations: 3.223 MB / 1.585 GB, free: 10.12 MB / 1.279 GB Notification: Performance of NFTyping.typeClassSections: time 0.007178/0.5654, allocations: 3.484 MB / 1.589 GB, free: 6.633 MB / 1.279 GB Notification: Performance of NFFlatten.flatten: time 0.004722/0.5701, allocations: 3.971 MB / 1.592 GB, free: 2.648 MB / 1.279 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00156/0.5716, allocations: 1.085 MB / 1.594 GB, free: 1.531 MB / 1.279 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004149/0.5758, allocations: 2.32 MB / 1.596 GB, free: 15.2 MB / 1.295 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001951/0.5777, allocations: 1.369 MB / 1.597 GB, free: 13.83 MB / 1.295 GB Notification: Performance of NFPackage.collectConstants: time 0.0002102/0.578, allocations: 128 kB / 1.597 GB, free: 13.7 MB / 1.295 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005845/0.5838, allocations: 3.179 MB / 1.6 GB, free: 10.52 MB / 1.295 GB Notification: Performance of NFScalarize.scalarize: time 0.0006058/0.5844, allocations: 0.6112 MB / 1.601 GB, free: 9.902 MB / 1.295 GB Notification: Performance of NFVerifyModel.verify: time 0.0008977/0.5853, allocations: 0.8123 MB / 1.602 GB, free: 9.086 MB / 1.295 GB Notification: Performance of NFConvertDAE.convert: time 0.005007/0.5903, allocations: 3.729 MB / 1.605 GB, free: 5.344 MB / 1.295 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.5903, allocations: 0 / 1.605 GB, free: 5.344 MB / 1.295 GB Notification: Performance of FrontEnd: time 1.583e-06/0.5903, allocations: 0 / 1.605 GB, free: 5.344 MB / 1.295 GB Notification: Performance of Transformations before backend: time 1.766e-05/0.5903, allocations: 0 / 1.605 GB, free: 5.344 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.005457/0.5958, allocations: 2.643 MB / 1.608 GB, free: 2.648 MB / 1.295 GB Notification: Performance of prepare preOptimizeDAE: time 3.78e-05/0.5958, allocations: 12.03 kB / 1.608 GB, free: 2.637 MB / 1.295 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002177/0.596, allocations: 190.4 kB / 1.608 GB, free: 2.441 MB / 1.295 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006397/0.6024, allocations: 1.103 MB / 1.609 GB, free: 1.336 MB / 1.295 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002318/0.6048, allocations: 1.15 MB / 1.61 GB, free: 144 kB / 1.295 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.913e-05/0.6048, allocations: 98.56 kB / 1.61 GB, free: 44 kB / 1.295 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.5341/1.139, allocations: 128.4 kB / 1.611 GB, free: 248.2 MB / 1.295 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00408/1.143, allocations: 1.98 MB / 1.613 GB, free: 247.8 MB / 1.295 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.375e-05/1.143, allocations: 8.438 kB / 1.613 GB, free: 247.8 MB / 1.295 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001296/1.143, allocations: 55.09 kB / 1.613 GB, free: 247.8 MB / 1.295 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.19e-05/1.143, allocations: 63.88 kB / 1.613 GB, free: 247.8 MB / 1.295 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004603/1.148, allocations: 1.883 MB / 1.614 GB, free: 247.4 MB / 1.295 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009369/1.157, allocations: 7.206 MB / 1.622 GB, free: 242.7 MB / 1.295 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004175/1.161, allocations: 1.554 MB / 1.623 GB, free: 242.3 MB / 1.295 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001718/1.163, allocations: 0.7515 MB / 1.624 GB, free: 242.1 MB / 1.295 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006317/1.164, allocations: 134.4 kB / 1.624 GB, free: 242.1 MB / 1.295 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002011/1.166, allocations: 0.871 MB / 1.625 GB, free: 241.8 MB / 1.295 GB Notification: Performance of pre-optimization done (n=104): time 3.206e-06/1.166, allocations: 1.406 kB / 1.625 GB, free: 241.8 MB / 1.295 GB Notification: Performance of matching and sorting (n=104): time 0.006503/1.172, allocations: 2.348 MB / 1.627 GB, free: 241.2 MB / 1.295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.378e-05/1.172, allocations: 70.3 kB / 1.627 GB, free: 241.1 MB / 1.295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002176/1.175, allocations: 1.736 MB / 1.629 GB, free: 240.5 MB / 1.295 GB Notification: Performance of collectPreVariables (initialization): time 9.695e-05/1.175, allocations: 49.19 kB / 1.629 GB, free: 240.4 MB / 1.295 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005109/1.175, allocations: 0.8528 MB / 1.63 GB, free: 239.8 MB / 1.295 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002607/1.175, allocations: 378 kB / 1.63 GB, free: 239.6 MB / 1.295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003703/1.176, allocations: 244.8 kB / 1.63 GB, free: 239.4 MB / 1.295 GB Notification: Performance of setup shared object (initialization): time 9.286e-05/1.176, allocations: 352.7 kB / 1.631 GB, free: 239.1 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001759/1.178, allocations: 0.6681 MB / 1.631 GB, free: 239 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00193/1.18, allocations: 1.295 MB / 1.633 GB, free: 238.1 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003464/1.183, allocations: 1.715 MB / 1.634 GB, free: 237.2 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.045e-06/1.183, allocations: 7.562 kB / 1.634 GB, free: 237.2 MB / 1.295 GB Notification: Performance of matching and sorting (n=157) (initialization): time 0.004396/1.187, allocations: 1.944 MB / 1.636 GB, free: 236.5 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 2.218e-05/1.187, allocations: 10.28 kB / 1.636 GB, free: 236.5 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.757e-05/1.187, allocations: 12 kB / 1.636 GB, free: 236.5 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.042e-05/1.188, allocations: 22.19 kB / 1.636 GB, free: 236.5 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001613/1.189, allocations: 358.3 kB / 1.637 GB, free: 236.5 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.6e-05/1.189, allocations: 29.23 kB / 1.637 GB, free: 236.5 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001578/1.191, allocations: 255.9 kB / 1.637 GB, free: 236.4 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001148/1.191, allocations: 62.36 kB / 1.637 GB, free: 236.4 MB / 1.295 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * 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.0005938/1.191, allocations: 398.4 kB / 1.637 GB, free: 236.2 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002189/1.192, allocations: 201.4 kB / 1.637 GB, free: 236.1 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004238/1.196, allocations: 1.836 MB / 1.639 GB, free: 235.5 MB / 1.295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.068e-05/1.196, allocations: 10.34 kB / 1.639 GB, free: 235.5 MB / 1.295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.002e-06/1.196, allocations: 4.812 kB / 1.639 GB, free: 235.5 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.317e-05/1.196, allocations: 5.719 kB / 1.639 GB, free: 235.5 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007227/1.203, allocations: 3.801 MB / 1.643 GB, free: 233.9 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.108e-05/1.203, allocations: 6.344 kB / 1.643 GB, free: 233.9 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001403/1.205, allocations: 276.4 kB / 1.643 GB, free: 233.9 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.452e-05/1.205, allocations: 15.3 kB / 1.643 GB, free: 233.9 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.536e-05/1.205, allocations: 37.38 kB / 1.643 GB, free: 233.9 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.347e-05/1.205, allocations: 11.34 kB / 1.643 GB, free: 233.9 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.885e-06/1.205, allocations: 13.09 kB / 1.643 GB, free: 233.9 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00589/1.211, allocations: 2.941 MB / 1.646 GB, free: 232.6 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008076/1.211, allocations: 331.6 kB / 1.646 GB, free: 232.5 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000231/1.212, allocations: 28.39 kB / 1.646 GB, free: 232.4 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00127/1.213, allocations: 122.7 kB / 1.647 GB, free: 232.4 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001712/1.213, allocations: 93.75 kB / 1.647 GB, free: 232.4 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.236e-05/1.213, allocations: 48.59 kB / 1.647 GB, free: 232.4 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.001366/1.215, allocations: 1.179 MB / 1.648 GB, free: 232 MB / 1.295 GB Notification: Performance of sort global known variables: time 7e-08/1.215, allocations: 1.188 kB / 1.648 GB, free: 232 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.001222/1.216, allocations: 477.2 kB / 1.648 GB, free: 231.9 MB / 1.295 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 29 * Number of states: 3 (heaHigPow.Xi,cooLimPow.Xi,heaCooUnl.Xi) * 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 (110): * Single equations (assignments): 104 * 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.00747/1.223, allocations: 3.981 MB / 1.652 GB, free: 230 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.003978/1.227, allocations: 1.592 MB / 1.654 GB, free: 229.4 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 9.558e-06/1.227, allocations: 0 / 1.654 GB, free: 229.4 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.001806/1.229, allocations: 0.7903 MB / 1.655 GB, free: 229 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003594/1.233, allocations: 0.9398 MB / 1.655 GB, free: 228.5 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02339/1.256, allocations: 15.08 MB / 1.67 GB, free: 214.4 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005354/1.257, allocations: 0.7967 MB / 1.671 GB, free: 213.6 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.001508/1.258, allocations: 461.9 kB / 1.671 GB, free: 213.1 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007749/1.259, allocations: 0.714 MB / 1.672 GB, free: 212.4 MB / 1.295 GB Notification: Performance of SimCode: time 7.31e-07/1.259, allocations: 0 / 1.672 GB, free: 212.4 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07279/1.332, allocations: 54.01 MB / 1.725 GB, free: 159.3 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.16/13.49, allocations: 12.53 kB / 1.725 GB, free: 159.3 MB / 1.295 GB " [Timeout remaining time 286] (rm -f Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe >> ../files/Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly_fmu --startTime=0 --stopTime=1200 --stepSize=0.48 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly.fmu > Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.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: 19.761619406286627]