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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001441/0.001441, allocations: 109.2 kB / 16.46 MB, free: 6.504 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001505/0.001505, allocations: 195.8 kB / 19.41 MB, free: 3.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.434/1.434, allocations: 225.6 MB / 247.8 MB, free: 13.95 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.116/3.116, allocations: 497.2 MB / 0.7811 GB, free: 33.54 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.002226/0.002226, allocations: 68.81 kB / 1.134 GB, free: 33.77 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3724/0.3747, allocations: 173.9 MB / 1.304 GB, free: 1.598 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly): time 0.28/0.6547, allocations: 242.6 MB / 1.541 GB, free: 14.05 MB / 1.248 GB Notification: Performance of NFInst.instExpressions: time 0.01637/0.671, allocations: 8.438 MB / 1.549 GB, free: 5.598 MB / 1.248 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002775/0.6738, allocations: 67.56 kB / 1.549 GB, free: 5.531 MB / 1.248 GB Notification: Performance of NFTyping.typeComponents: time 0.003418/0.6772, allocations: 1.068 MB / 1.55 GB, free: 4.457 MB / 1.248 GB Notification: Performance of NFTyping.typeBindings: time 0.008913/0.6861, allocations: 3.181 MB / 1.553 GB, free: 1.262 MB / 1.248 GB Notification: Performance of NFTyping.typeClassSections: time 0.009315/0.6954, allocations: 3.602 MB / 1.557 GB, free: 13.66 MB / 1.264 GB Notification: Performance of NFFlatten.flatten: time 0.006777/0.7022, allocations: 3.917 MB / 1.561 GB, free: 9.727 MB / 1.264 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002445/0.7047, allocations: 1.162 MB / 1.562 GB, free: 8.531 MB / 1.264 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005869/0.7105, allocations: 2.254 MB / 1.564 GB, free: 6.27 MB / 1.264 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002838/0.7134, allocations: 1.44 MB / 1.566 GB, free: 4.824 MB / 1.264 GB Notification: Performance of NFPackage.collectConstants: time 0.0003013/0.7137, allocations: 124 kB / 1.566 GB, free: 4.703 MB / 1.264 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008094/0.7218, allocations: 4.173 MB / 1.57 GB, free: 0.5195 MB / 1.264 GB Notification: Performance of NFScalarize.scalarize: time 0.0009227/0.7227, allocations: 0.6073 MB / 1.57 GB, free: 15.91 MB / 1.279 GB Notification: Performance of NFVerifyModel.verify: time 0.001507/0.7242, allocations: 0.9753 MB / 1.571 GB, free: 14.93 MB / 1.279 GB Notification: Performance of NFConvertDAE.convert: time 0.00852/0.7327, allocations: 3.854 MB / 1.575 GB, free: 11.06 MB / 1.279 GB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.7327, allocations: 3.938 kB / 1.575 GB, free: 11.06 MB / 1.279 GB Notification: Performance of FrontEnd: time 1.733e-06/0.7327, allocations: 0 / 1.575 GB, free: 11.06 MB / 1.279 GB Notification: Performance of Transformations before backend: time 3.783e-05/0.7328, allocations: 0 / 1.575 GB, free: 11.06 MB / 1.279 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.006421/0.7392, allocations: 2.702 MB / 1.578 GB, free: 8.285 MB / 1.279 GB Notification: Performance of prepare preOptimizeDAE: time 4.59e-05/0.7392, allocations: 12.92 kB / 1.578 GB, free: 8.273 MB / 1.279 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002335/0.7395, allocations: 190.4 kB / 1.578 GB, free: 8.078 MB / 1.279 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006975/0.7464, allocations: 1.099 MB / 1.579 GB, free: 6.977 MB / 1.279 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002869/0.7493, allocations: 1.271 MB / 1.58 GB, free: 5.652 MB / 1.279 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000102/0.7494, allocations: 98.55 kB / 1.58 GB, free: 5.555 MB / 1.279 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002546/0.7497, allocations: 132 kB / 1.58 GB, free: 5.426 MB / 1.279 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004097/0.7538, allocations: 1.98 MB / 1.582 GB, free: 3.301 MB / 1.279 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.498e-05/0.7538, allocations: 7.938 kB / 1.582 GB, free: 3.293 MB / 1.279 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001365/0.7539, allocations: 55.98 kB / 1.582 GB, free: 3.238 MB / 1.279 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.662e-05/0.754, allocations: 66.3 kB / 1.582 GB, free: 3.172 MB / 1.279 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004852/0.7589, allocations: 1.867 MB / 1.584 GB, free: 1.297 MB / 1.279 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01242/0.7713, allocations: 9.171 MB / 1.593 GB, free: 7.492 MB / 1.295 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004225/0.7755, allocations: 1.551 MB / 1.595 GB, free: 5.934 MB / 1.295 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001909/0.7774, allocations: 0.7421 MB / 1.595 GB, free: 5.188 MB / 1.295 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009965/0.7784, allocations: 0.5894 MB / 1.596 GB, free: 4.488 MB / 1.295 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002153/0.7806, allocations: 0.8675 MB / 1.597 GB, free: 3.609 MB / 1.295 GB Notification: Performance of pre-optimization done (n=104): time 2.765e-06/0.7806, allocations: 0 / 1.597 GB, free: 3.609 MB / 1.295 GB Notification: Performance of matching and sorting (n=104): time 0.006519/0.7871, allocations: 2.322 MB / 1.599 GB, free: 1.281 MB / 1.295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.017e-05/0.7872, allocations: 68.39 kB / 1.599 GB, free: 1.203 MB / 1.295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.6677/1.455, allocations: 1.657 MB / 1.601 GB, free: 295 MB / 1.295 GB Notification: Performance of collectPreVariables (initialization): time 0.0003949/1.455, allocations: 49.78 kB / 1.601 GB, free: 295 MB / 1.295 GB Notification: Performance of collectInitialEqns (initialization): time 0.001021/1.456, allocations: 0.8445 MB / 1.602 GB, free: 294.9 MB / 1.295 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004735/1.457, allocations: 382.8 kB / 1.602 GB, free: 294.8 MB / 1.295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005212/1.457, allocations: 236.7 kB / 1.602 GB, free: 294.7 MB / 1.295 GB Notification: Performance of setup shared object (initialization): time 0.0001171/1.457, allocations: 360.8 kB / 1.603 GB, free: 294.4 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001905/1.459, allocations: 0.6601 MB / 1.603 GB, free: 294.3 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002193/1.462, allocations: 1.056 MB / 1.604 GB, free: 293.7 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003524/1.465, allocations: 1.715 MB / 1.606 GB, free: 292.9 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.077e-06/1.465, allocations: 2.844 kB / 1.606 GB, free: 292.9 MB / 1.295 GB Notification: Performance of matching and sorting (n=157) (initialization): time 0.004544/1.47, allocations: 1.923 MB / 1.608 GB, free: 292.3 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 3.491e-05/1.47, allocations: 11.77 kB / 1.608 GB, free: 292.3 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.409e-05/1.47, allocations: 10.81 kB / 1.608 GB, free: 292.3 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.669e-05/1.47, allocations: 17.62 kB / 1.608 GB, free: 292.3 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001741/1.471, allocations: 359.1 kB / 1.608 GB, free: 292.2 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.877e-05/1.471, allocations: 24.34 kB / 1.608 GB, free: 292.2 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00184/1.473, allocations: 253.6 kB / 1.609 GB, free: 292.2 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001706/1.473, allocations: 70.56 kB / 1.609 GB, free: 292.2 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.0008593/1.474, allocations: 395.4 kB / 1.609 GB, free: 291.9 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004413/1.475, allocations: 197.2 kB / 1.609 GB, free: 291.8 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005063/1.48, allocations: 1.781 MB / 1.611 GB, free: 291.3 MB / 1.295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-05/1.48, allocations: 10.88 kB / 1.611 GB, free: 291.3 MB / 1.295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.183e-05/1.48, allocations: 5.562 kB / 1.611 GB, free: 291.3 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.986e-05/1.48, allocations: 9.141 kB / 1.611 GB, free: 291.3 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00862/1.489, allocations: 3.93 MB / 1.615 GB, free: 289.7 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-05/1.489, allocations: 6.531 kB / 1.615 GB, free: 289.7 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001459/1.49, allocations: 271.3 kB / 1.615 GB, free: 289.7 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.592e-05/1.49, allocations: 10.66 kB / 1.615 GB, free: 289.7 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.913e-05/1.49, allocations: 36.48 kB / 1.615 GB, free: 289.7 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.661e-05/1.49, allocations: 16.86 kB / 1.615 GB, free: 289.7 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.548e-06/1.49, allocations: 10.91 kB / 1.615 GB, free: 289.7 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006324/1.496, allocations: 2.872 MB / 1.618 GB, free: 288.5 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001014/1.497, allocations: 387.3 kB / 1.618 GB, free: 288.2 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002711/1.498, allocations: 36.41 kB / 1.618 GB, free: 288.2 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00132/1.499, allocations: 118.6 kB / 1.618 GB, free: 288.2 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001931/1.499, allocations: 89.44 kB / 1.618 GB, free: 288.2 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000104/1.499, allocations: 48.56 kB / 1.619 GB, free: 288.2 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.001705/1.501, allocations: 1.134 MB / 1.62 GB, free: 287.8 MB / 1.295 GB Notification: Performance of sort global known variables: time 1.11e-07/1.501, allocations: 0 / 1.62 GB, free: 287.8 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.001561/1.503, allocations: 468.8 kB / 1.62 GB, free: 287.7 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 (104): * Single equations (assignments): 98 * 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.008032/1.511, allocations: 3.908 MB / 1.624 GB, free: 285.9 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.004094/1.515, allocations: 1.574 MB / 1.625 GB, free: 285.4 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 1.212e-05/1.515, allocations: 5.375 kB / 1.625 GB, free: 285.4 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.002017/1.517, allocations: 0.7622 MB / 1.626 GB, free: 285.2 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004189/1.521, allocations: 0.9394 MB / 1.627 GB, free: 284.9 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02833/1.549, allocations: 14.93 MB / 1.642 GB, free: 275.7 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008108/1.55, allocations: 1.366 MB / 1.643 GB, free: 274.3 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.002158/1.552, allocations: 458.2 kB / 1.643 GB, free: 273.9 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000932/1.553, allocations: 0.7101 MB / 1.644 GB, free: 273.1 MB / 1.295 GB Notification: Performance of SimCode: time 2.995e-06/1.553, allocations: 0 / 1.644 GB, free: 273.1 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08245/1.636, allocations: 49.13 MB / 1.692 GB, free: 224.7 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.66/13.3, allocations: 7.984 kB / 1.692 GB, free: 224.7 MB / 1.295 GB " [Timeout remaining time 287] (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_2/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: 20.164092059247196]