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.001533/0.001533, allocations: 97.31 kB / 19.73 MB, free: 2.117 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.001699/0.001699, allocations: 219.2 kB / 23.03 MB, free: 4.922 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.428/1.428, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.012/3.012, allocations: 0.49 GB / 0.7959 GB, free: 35.56 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly,fileNamePrefix="Buildings_12_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly",fmuType="cs",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.001925/0.001925, allocations: 69.61 kB / 1.155 GB, free: 25.4 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.345/0.347, allocations: 176.1 MB / 1.327 GB, free: 1.488 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly): time 0.2737/0.6206, allocations: 214.5 MB / 1.536 GB, free: 10.2 MB / 1.232 GB Notification: Performance of NFInst.instExpressions: time 0.01648/0.6371, allocations: 8.039 MB / 1.544 GB, free: 2.148 MB / 1.232 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002332/0.6394, allocations: 95.12 kB / 1.544 GB, free: 2.055 MB / 1.232 GB Notification: Performance of NFTyping.typeComponents: time 0.003166/0.6426, allocations: 1.049 MB / 1.545 GB, free: 1 MB / 1.232 GB Notification: Performance of NFTyping.typeBindings: time 0.009247/0.6519, allocations: 3.22 MB / 1.548 GB, free: 13.76 MB / 1.248 GB Notification: Performance of NFTyping.typeClassSections: time 0.009302/0.6612, allocations: 3.517 MB / 1.552 GB, free: 10.24 MB / 1.248 GB Notification: Performance of NFFlatten.flatten: time 0.00636/0.6675, allocations: 3.967 MB / 1.556 GB, free: 6.258 MB / 1.248 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002612/0.6701, allocations: 1.1 MB / 1.557 GB, free: 5.125 MB / 1.248 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005465/0.6756, allocations: 2.328 MB / 1.559 GB, free: 2.789 MB / 1.248 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003242/0.6788, allocations: 1.444 MB / 1.56 GB, free: 1.34 MB / 1.248 GB Notification: Performance of NFPackage.collectConstants: time 0.0008219/0.6797, allocations: 128 kB / 1.56 GB, free: 1.215 MB / 1.248 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007982/0.6876, allocations: 3.218 MB / 1.564 GB, free: 13.99 MB / 1.264 GB Notification: Performance of NFScalarize.scalarize: time 0.001126/0.6888, allocations: 0.6228 MB / 1.564 GB, free: 13.36 MB / 1.264 GB Notification: Performance of NFVerifyModel.verify: time 0.001869/0.6906, allocations: 0.8202 MB / 1.565 GB, free: 12.54 MB / 1.264 GB Notification: Performance of NFConvertDAE.convert: time 0.008225/0.6989, allocations: 3.741 MB / 1.569 GB, free: 8.785 MB / 1.264 GB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.6989, allocations: 0 / 1.569 GB, free: 8.785 MB / 1.264 GB Notification: Performance of FrontEnd: time 1.553e-06/0.6989, allocations: 0 / 1.569 GB, free: 8.785 MB / 1.264 GB Notification: Performance of Transformations before backend: time 0.0001006/0.699, allocations: 3.938 kB / 1.569 GB, free: 8.781 MB / 1.264 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.007047/0.706, allocations: 2.647 MB / 1.571 GB, free: 6.082 MB / 1.264 GB Notification: Performance of prepare preOptimizeDAE: time 4.591e-05/0.7061, allocations: 8.031 kB / 1.571 GB, free: 6.074 MB / 1.264 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.846e-05/0.7061, allocations: 34.56 kB / 1.571 GB, free: 6.039 MB / 1.264 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003189/0.7064, allocations: 194.4 kB / 1.571 GB, free: 5.84 MB / 1.264 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007641/0.7141, allocations: 1.142 MB / 1.573 GB, free: 4.695 MB / 1.264 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002852/0.7169, allocations: 1.15 MB / 1.574 GB, free: 3.5 MB / 1.264 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001235/0.7171, allocations: 102.5 kB / 1.574 GB, free: 3.398 MB / 1.264 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000398/0.7174, allocations: 131.9 kB / 1.574 GB, free: 3.27 MB / 1.264 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004447/0.7219, allocations: 1.963 MB / 1.576 GB, free: 1.18 MB / 1.264 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.343e-05/0.7219, allocations: 7.922 kB / 1.576 GB, free: 1.172 MB / 1.264 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001586/0.7221, allocations: 56 kB / 1.576 GB, free: 1.117 MB / 1.264 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.918e-05/0.7222, allocations: 62.34 kB / 1.576 GB, free: 1.055 MB / 1.264 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004949/0.7271, allocations: 1.906 MB / 1.578 GB, free: 15.14 MB / 1.279 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01156/0.7387, allocations: 6.801 MB / 1.584 GB, free: 8.125 MB / 1.279 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004018/0.7427, allocations: 1.468 MB / 1.586 GB, free: 6.652 MB / 1.279 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001945/0.7446, allocations: 0.7533 MB / 1.587 GB, free: 5.898 MB / 1.279 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009997/0.7456, allocations: 204.8 kB / 1.587 GB, free: 5.699 MB / 1.279 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002316/0.748, allocations: 0.8754 MB / 1.588 GB, free: 4.809 MB / 1.279 GB Notification: Performance of pre-optimization done (n=106): time 3.767e-06/0.748, allocations: 0 / 1.588 GB, free: 4.809 MB / 1.279 GB Notification: Performance of matching and sorting (n=106): time 0.007161/0.7551, allocations: 2.42 MB / 1.59 GB, free: 2.383 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.764e-05/0.7552, allocations: 64.41 kB / 1.59 GB, free: 2.309 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003008/0.7582, allocations: 1.77 MB / 1.592 GB, free: 0.4922 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 0.0001536/0.7583, allocations: 53.7 kB / 1.592 GB, free: 444 kB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009046/0.7593, allocations: 0.8327 MB / 1.593 GB, free: 15.59 MB / 1.295 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005364/0.7598, allocations: 392.7 kB / 1.593 GB, free: 15.21 MB / 1.295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005146/0.7603, allocations: 234.8 kB / 1.593 GB, free: 14.97 MB / 1.295 GB Notification: Performance of setup shared object (initialization): time 0.0001849/0.7605, allocations: 357.9 kB / 1.594 GB, free: 14.62 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00189/0.7624, allocations: 0.6778 MB / 1.594 GB, free: 13.94 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002391/0.7648, allocations: 1.283 MB / 1.596 GB, free: 12.44 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003996/0.7688, allocations: 1.722 MB / 1.597 GB, free: 10.58 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.589e-05/0.7688, allocations: 7.984 kB / 1.597 GB, free: 10.57 MB / 1.295 GB Notification: Performance of matching and sorting (n=157) (initialization): time 0.004918/0.7737, allocations: 1.952 MB / 1.599 GB, free: 8.609 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 2.702e-05/0.7737, allocations: 8 kB / 1.599 GB, free: 8.602 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.902e-05/0.7737, allocations: 12 kB / 1.599 GB, free: 8.59 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.478e-05/0.7738, allocations: 16 kB / 1.599 GB, free: 8.574 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00175/0.7755, allocations: 360.1 kB / 1.6 GB, free: 8.223 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.767e-05/0.7756, allocations: 27.91 kB / 1.6 GB, free: 8.195 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00182/0.7774, allocations: 254.6 kB / 1.6 GB, free: 7.945 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001636/0.7776, allocations: 67.97 kB / 1.6 GB, free: 7.879 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.0007584/0.7783, allocations: 403.2 kB / 1.6 GB, free: 7.477 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004287/0.7787, allocations: 198.7 kB / 1.6 GB, free: 7.281 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004872/0.7836, allocations: 1.887 MB / 1.602 GB, free: 5.387 MB / 1.295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.333e-05/0.7836, allocations: 12 kB / 1.602 GB, free: 5.375 MB / 1.295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.015e-06/0.7836, allocations: 0 / 1.602 GB, free: 5.375 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.155e-05/0.7836, allocations: 7.984 kB / 1.602 GB, free: 5.367 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008543/0.7922, allocations: 3.843 MB / 1.606 GB, free: 1.379 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.556e-05/0.7922, allocations: 4 kB / 1.606 GB, free: 1.375 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001586/0.7938, allocations: 280.3 kB / 1.606 GB, free: 1.102 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.114e-05/0.7938, allocations: 15.94 kB / 1.606 GB, free: 1.086 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001198/0.7939, allocations: 39.97 kB / 1.606 GB, free: 1.047 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-05/0.794, allocations: 15.94 kB / 1.606 GB, free: 1.031 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.047e-06/0.794, allocations: 11.94 kB / 1.606 GB, free: 1.02 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.65/1.444, allocations: 2.981 MB / 1.609 GB, free: 280 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009994/1.445, allocations: 339.1 kB / 1.61 GB, free: 280 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003485/1.445, allocations: 37.97 kB / 1.61 GB, free: 280 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001582/1.447, allocations: 122.5 kB / 1.61 GB, free: 280 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002594/1.447, allocations: 90.17 kB / 1.61 GB, free: 280 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001407/1.447, allocations: 49.81 kB / 1.61 GB, free: 280 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.002034/1.449, allocations: 1.208 MB / 1.611 GB, free: 279.5 MB / 1.295 GB Notification: Performance of sort global known variables: time 3.2e-07/1.449, allocations: 3.375 kB / 1.611 GB, free: 279.5 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.002159/1.452, allocations: 472.6 kB / 1.612 GB, free: 279.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 (112): * Single equations (assignments): 106 * 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.008864/1.46, allocations: 4.037 MB / 1.615 GB, free: 277.7 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.004306/1.465, allocations: 1.613 MB / 1.617 GB, free: 277.3 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 1.161e-05/1.465, allocations: 5.125 kB / 1.617 GB, free: 277.3 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.002418/1.467, allocations: 0.8006 MB / 1.618 GB, free: 277.1 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004727/1.472, allocations: 0.9831 MB / 1.619 GB, free: 276.8 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02894/1.501, allocations: 14.84 MB / 1.633 GB, free: 270 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009506/1.502, allocations: 0.7933 MB / 1.634 GB, free: 269.8 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.002135/1.504, allocations: 465.9 kB / 1.635 GB, free: 269.7 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001087/1.505, allocations: 0.7258 MB / 1.635 GB, free: 269.1 MB / 1.295 GB Notification: Performance of SimCode: time 1.253e-06/1.505, allocations: 0 / 1.635 GB, free: 269.1 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07874/1.584, allocations: 55.45 MB / 1.689 GB, free: 221.4 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.63/17.21, allocations: 7.438 kB / 1.689 GB, free: 221.4 MB / 1.295 GB " [Timeout remaining time 283] (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: 24.080614425009117]