Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001336/0.001336, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001529/0.001529, allocations: 212.6 kB / 22.24 MB, free: 5.262 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.47/1.47, allocations: 230.6 MB / 256 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.764/2.764, allocations: 476 MB / 0.7699 GB, free: 4.762 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly,fileNamePrefix="Buildings_11_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.002093/0.002093, allocations: 68.8 kB / 1.117 GB, free: 41.04 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3366/0.3387, allocations: 170 MB / 1.283 GB, free: 12.46 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly): time 0.2875/0.6262, allocations: 171.4 MB / 1.45 GB, free: 460 kB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.01156/0.6378, allocations: 5.009 MB / 1.455 GB, free: 11.43 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002354/0.6401, allocations: 67.38 kB / 1.455 GB, free: 11.37 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.002807/0.643, allocations: 0.8081 MB / 1.456 GB, free: 10.55 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.009105/0.6521, allocations: 2.715 MB / 1.458 GB, free: 7.828 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.003662/0.6557, allocations: 1.037 MB / 1.459 GB, free: 6.793 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.004541/0.6603, allocations: 2.66 MB / 1.462 GB, free: 4.121 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00175/0.662, allocations: 0.7057 MB / 1.463 GB, free: 3.402 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002845/0.6649, allocations: 1.137 MB / 1.464 GB, free: 2.262 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002177/0.667, allocations: 0.9921 MB / 1.465 GB, free: 1.266 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0003829/0.6674, allocations: 84 kB / 1.465 GB, free: 1.184 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003889/0.6713, allocations: 1.48 MB / 1.466 GB, free: 15.7 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0007873/0.6721, allocations: 458.5 kB / 1.467 GB, free: 15.25 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.001275/0.6734, allocations: 0.544 MB / 1.467 GB, free: 14.7 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.004958/0.6783, allocations: 2.137 MB / 1.469 GB, free: 12.56 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 6.131e-06/0.6783, allocations: 4 kB / 1.469 GB, free: 12.55 MB / 1.17 GB Notification: Performance of FrontEnd: time 2.034e-06/0.6783, allocations: 0 / 1.469 GB, free: 12.55 MB / 1.17 GB Notification: Performance of Transformations before backend: time 7.963e-05/0.6784, allocations: 0 / 1.469 GB, free: 12.55 MB / 1.17 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 222 * Number of variables: 222 Notification: Performance of Generate backend data structure: time 0.006345/0.6848, allocations: 1.915 MB / 1.471 GB, free: 10.6 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 5.184e-05/0.6848, allocations: 12.03 kB / 1.471 GB, free: 10.59 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002961/0.6851, allocations: 135.5 kB / 1.471 GB, free: 10.45 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004598/0.6897, allocations: 0.713 MB / 1.472 GB, free: 9.73 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002575/0.6923, allocations: 0.8762 MB / 1.473 GB, free: 8.809 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001054/0.6924, allocations: 66 kB / 1.473 GB, free: 8.746 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002735/0.6927, allocations: 84 kB / 1.473 GB, free: 8.664 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003883/0.6965, allocations: 1.48 MB / 1.474 GB, free: 7.125 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.644e-05/0.6966, allocations: 0 / 1.474 GB, free: 7.125 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001221/0.6967, allocations: 35.98 kB / 1.475 GB, free: 7.09 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.29e-05/0.6968, allocations: 49.98 kB / 1.475 GB, free: 7.043 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004656/0.7014, allocations: 1.569 MB / 1.476 GB, free: 5.473 MB / 1.17 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008109/0.7095, allocations: 4.279 MB / 1.48 GB, free: 1.066 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00362/0.7131, allocations: 1.153 MB / 1.481 GB, free: 15.9 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001829/0.715, allocations: 0.6317 MB / 1.482 GB, free: 15.27 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009903/0.716, allocations: 200.5 kB / 1.482 GB, free: 15.07 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00215/0.7181, allocations: 0.7342 MB / 1.483 GB, free: 14.32 MB / 1.186 GB Notification: Performance of pre-optimization done (n=82): time 3.387e-06/0.7181, allocations: 3.938 kB / 1.483 GB, free: 14.32 MB / 1.186 GB Notification: Performance of matching and sorting (n=82): time 0.00649/0.7246, allocations: 1.992 MB / 1.485 GB, free: 12.32 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.834e-05/0.7247, allocations: 64 kB / 1.485 GB, free: 12.25 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002756/0.7274, allocations: 1.324 MB / 1.486 GB, free: 10.9 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 0.0001667/0.7276, allocations: 45.7 kB / 1.486 GB, free: 10.85 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007512/0.7284, allocations: 0.5882 MB / 1.487 GB, free: 10.26 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004724/0.7288, allocations: 305.5 kB / 1.487 GB, free: 9.957 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004693/0.7293, allocations: 182.6 kB / 1.487 GB, free: 9.773 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0002149/0.7295, allocations: 345.9 kB / 1.488 GB, free: 9.43 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001812/0.7313, allocations: 0.5562 MB / 1.488 GB, free: 8.875 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002164/0.7335, allocations: 1.054 MB / 1.489 GB, free: 7.656 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003624/0.7371, allocations: 1.348 MB / 1.491 GB, free: 6.219 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.147e-05/0.7371, allocations: 4 kB / 1.491 GB, free: 6.215 MB / 1.186 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.004495/0.7416, allocations: 1.542 MB / 1.492 GB, free: 4.66 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 2.944e-05/0.7417, allocations: 8 kB / 1.492 GB, free: 4.652 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.67e-05/0.7417, allocations: 8 kB / 1.492 GB, free: 4.645 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.481e-05/0.7417, allocations: 12 kB / 1.492 GB, free: 4.633 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001498/0.7432, allocations: 296.2 kB / 1.492 GB, free: 4.344 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.581e-05/0.7432, allocations: 19.92 kB / 1.492 GB, free: 4.324 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00155/0.7448, allocations: 210.9 kB / 1.493 GB, free: 4.117 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001252/0.7449, allocations: 43.98 kB / 1.493 GB, free: 4.074 MB / 1.186 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (117): * Single equations (assignments): 117 * 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.0007143/0.7456, allocations: 336 kB / 1.493 GB, free: 3.738 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003752/0.746, allocations: 147.1 kB / 1.493 GB, free: 3.594 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004383/0.7504, allocations: 1.511 MB / 1.495 GB, free: 2.074 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.368e-05/0.7504, allocations: 12 kB / 1.495 GB, free: 2.062 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.067e-06/0.7504, allocations: 0 / 1.495 GB, free: 2.062 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.298e-05/0.7504, allocations: 7.922 kB / 1.495 GB, free: 2.055 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007229/0.7577, allocations: 2.779 MB / 1.497 GB, free: 15.16 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.235e-05/0.7577, allocations: 4 kB / 1.497 GB, free: 15.16 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001344/0.759, allocations: 227.7 kB / 1.497 GB, free: 14.94 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.827e-05/0.759, allocations: 8 kB / 1.498 GB, free: 14.93 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.67e-05/0.7591, allocations: 31.97 kB / 1.498 GB, free: 14.9 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.211e-05/0.7591, allocations: 19.92 kB / 1.498 GB, free: 14.88 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.701e-06/0.7592, allocations: 4 kB / 1.498 GB, free: 14.88 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006204/0.7654, allocations: 2.393 MB / 1.5 GB, free: 12.42 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008298/0.7662, allocations: 250.8 kB / 1.5 GB, free: 12.17 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003441/0.7665, allocations: 20 kB / 1.5 GB, free: 12.15 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001284/0.7678, allocations: 107.9 kB / 1.5 GB, free: 12.05 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001889/0.768, allocations: 72.42 kB / 1.5 GB, free: 11.98 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.633e-05/0.7681, allocations: 35.97 kB / 1.5 GB, free: 11.94 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.001631/0.7697, allocations: 0.916 MB / 1.501 GB, free: 11.02 MB / 1.201 GB Notification: Performance of sort global known variables: time 1e-07/0.7697, allocations: 4 kB / 1.501 GB, free: 11.02 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.001371/0.7711, allocations: 323.7 kB / 1.502 GB, free: 10.7 MB / 1.201 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * 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 (88): * Single equations (assignments): 82 * 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.008648/0.7797, allocations: 3.391 MB / 1.505 GB, free: 7.426 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.004012/0.7838, allocations: 1.303 MB / 1.506 GB, free: 6.125 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 6.352e-06/0.7838, allocations: 0 / 1.506 GB, free: 6.125 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.00191/0.7857, allocations: 0.6565 MB / 1.507 GB, free: 5.469 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003106/0.7888, allocations: 0.6244 MB / 1.507 GB, free: 4.855 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.024/0.8128, allocations: 11.31 MB / 1.518 GB, free: 9.137 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000894/0.8137, allocations: 0.5871 MB / 1.519 GB, free: 8.516 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.001671/0.8154, allocations: 350.2 kB / 1.519 GB, free: 8.172 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008844/0.8162, allocations: 0.4993 MB / 1.52 GB, free: 7.672 MB / 1.217 GB Notification: Performance of SimCode: time 1.192e-06/0.8162, allocations: 0 / 1.52 GB, free: 7.672 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09105/0.9073, allocations: 38.71 MB / 1.558 GB, free: 1.598 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.83/13.74, allocations: 9.391 kB / 1.558 GB, free: 1.594 MB / 1.248 GB " [Timeout remaining time 285] (rm -f Buildings_11_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe ; mkfifo Buildings_11_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe >> ../files/Buildings_11_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly_fmu --startTime=0 --stopTime=1200 --stepSize=0.48 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly.fmu > Buildings_11_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.66364973830059]