Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001314/0.001314, 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.001643/0.001643, allocations: 214.4 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.483/1.483, allocations: 230.6 MB / 256 MB, free: 7.805 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.712/2.712, allocations: 476 MB / 0.7699 GB, free: 4.73 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_X_wSetOnly,fileNamePrefix="Buildings_11_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly,fileNamePrefix="Buildings_11_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.002032/0.002032, allocations: 68.48 kB / 1.117 GB, free: 41.1 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3712/0.3733, allocations: 170 MB / 1.283 GB, free: 12.4 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly): time 0.2132/0.5864, allocations: 171.4 MB / 1.45 GB, free: 408 kB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.009845/0.5963, allocations: 5.016 MB / 1.455 GB, free: 11.38 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001204/0.5975, allocations: 71.38 kB / 1.455 GB, free: 11.3 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.001983/0.5995, allocations: 0.7964 MB / 1.456 GB, free: 10.5 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.007457/0.6069, allocations: 2.733 MB / 1.458 GB, free: 7.762 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.002904/0.6098, allocations: 1.034 MB / 1.459 GB, free: 6.73 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.00365/0.6135, allocations: 2.664 MB / 1.462 GB, free: 4.055 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001233/0.6147, allocations: 0.7135 MB / 1.463 GB, free: 3.328 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002102/0.6168, allocations: 1.14 MB / 1.464 GB, free: 2.184 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001389/0.6182, allocations: 0.9883 MB / 1.465 GB, free: 1.191 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0001459/0.6184, allocations: 76 kB / 1.465 GB, free: 1.117 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003091/0.6214, allocations: 1.48 MB / 1.466 GB, free: 15.63 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0005014/0.6219, allocations: 450.5 kB / 1.467 GB, free: 15.19 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0005957/0.6225, allocations: 0.5362 MB / 1.467 GB, free: 14.65 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.003036/0.6256, allocations: 2.129 MB / 1.469 GB, free: 12.52 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.6256, allocations: 0 / 1.469 GB, free: 12.52 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.673e-06/0.6256, allocations: 0 / 1.469 GB, free: 12.52 MB / 1.17 GB Notification: Performance of Transformations before backend: time 2.681e-05/0.6256, allocations: 4 kB / 1.469 GB, free: 12.51 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.004781/0.6304, allocations: 1.911 MB / 1.471 GB, free: 10.56 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.835e-05/0.6304, allocations: 8.031 kB / 1.471 GB, free: 10.55 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001851/0.6306, allocations: 139.5 kB / 1.471 GB, free: 10.41 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003874/0.6345, allocations: 0.6662 MB / 1.472 GB, free: 9.738 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001902/0.6364, allocations: 0.8684 MB / 1.473 GB, free: 8.824 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.375e-05/0.6365, allocations: 66 kB / 1.473 GB, free: 8.762 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001765/0.6366, allocations: 91.98 kB / 1.473 GB, free: 8.672 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003243/0.6399, allocations: 1.482 MB / 1.474 GB, free: 7.113 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.595e-05/0.6399, allocations: 3.938 kB / 1.474 GB, free: 7.109 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001015/0.64, allocations: 32 kB / 1.474 GB, free: 7.078 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.34e-05/0.6401, allocations: 49.98 kB / 1.474 GB, free: 7.031 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004195/0.6443, allocations: 1.537 MB / 1.476 GB, free: 5.492 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.007999/0.6523, allocations: 4.74 MB / 1.481 GB, free: 0.6016 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00391/0.6562, allocations: 1.257 MB / 1.482 GB, free: 15.34 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00174/0.6579, allocations: 0.6311 MB / 1.482 GB, free: 14.7 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006699/0.6586, allocations: 128.5 kB / 1.483 GB, free: 14.57 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00193/0.6605, allocations: 0.7228 MB / 1.483 GB, free: 13.84 MB / 1.186 GB Notification: Performance of pre-optimization done (n=80): time 3.106e-06/0.6605, allocations: 0 / 1.483 GB, free: 13.84 MB / 1.186 GB Notification: Performance of matching and sorting (n=80): time 0.005988/0.6665, allocations: 1.902 MB / 1.485 GB, free: 11.93 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.259e-05/0.6666, allocations: 60.06 kB / 1.485 GB, free: 11.86 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001805/0.6684, allocations: 1.307 MB / 1.486 GB, free: 10.54 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 9.922e-05/0.6685, allocations: 41.7 kB / 1.487 GB, free: 10.5 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005596/0.6691, allocations: 0.5996 MB / 1.487 GB, free: 9.891 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003067/0.6694, allocations: 289.6 kB / 1.487 GB, free: 9.605 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003205/0.6697, allocations: 190.5 kB / 1.488 GB, free: 9.414 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001661/0.6698, allocations: 345.9 kB / 1.488 GB, free: 9.07 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001754/0.6716, allocations: 0.5445 MB / 1.488 GB, free: 8.527 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00217/0.6738, allocations: 1.059 MB / 1.489 GB, free: 7.305 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003643/0.6774, allocations: 1.34 MB / 1.491 GB, free: 5.859 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.255e-05/0.6774, allocations: 8 kB / 1.491 GB, free: 5.852 MB / 1.186 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.004596/0.682, allocations: 1.511 MB / 1.492 GB, free: 4.332 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 3.403e-05/0.6821, allocations: 15.94 kB / 1.492 GB, free: 4.316 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.48e-05/0.6821, allocations: 4 kB / 1.492 GB, free: 4.312 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.653e-05/0.6821, allocations: 12 kB / 1.492 GB, free: 4.301 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001475/0.6836, allocations: 299.7 kB / 1.493 GB, free: 4.008 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.589e-05/0.6836, allocations: 19.94 kB / 1.493 GB, free: 3.988 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001447/0.6851, allocations: 195 kB / 1.493 GB, free: 3.797 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000123/0.6852, allocations: 51.97 kB / 1.493 GB, free: 3.746 MB / 1.186 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * 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.0006619/0.6858, allocations: 339.4 kB / 1.493 GB, free: 3.406 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002338/0.6861, allocations: 147 kB / 1.493 GB, free: 3.262 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004086/0.6902, allocations: 1.464 MB / 1.495 GB, free: 1.789 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.101e-05/0.6902, allocations: 8 kB / 1.495 GB, free: 1.781 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.245e-06/0.6902, allocations: 3.984 kB / 1.495 GB, free: 1.777 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.018e-05/0.6902, allocations: 3.984 kB / 1.495 GB, free: 1.773 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006276/0.6965, allocations: 2.727 MB / 1.497 GB, free: 14.94 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.018e-05/0.6965, allocations: 7.938 kB / 1.497 GB, free: 14.93 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001272/0.6977, allocations: 236.1 kB / 1.498 GB, free: 14.7 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.308e-05/0.6978, allocations: 8 kB / 1.498 GB, free: 14.69 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.283e-05/0.6978, allocations: 31.97 kB / 1.498 GB, free: 14.66 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.828e-06/0.6979, allocations: 8 kB / 1.498 GB, free: 14.65 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.631e-06/0.6979, allocations: 4 kB / 1.498 GB, free: 14.65 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005749/0.7036, allocations: 2.334 MB / 1.5 GB, free: 12.25 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006616/0.7043, allocations: 234.8 kB / 1.5 GB, free: 12.02 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001776/0.7044, allocations: 23.98 kB / 1.5 GB, free: 12 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001064/0.7055, allocations: 111.9 kB / 1.5 GB, free: 11.89 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001493/0.7057, allocations: 68.42 kB / 1.5 GB, free: 11.82 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.494e-05/0.7057, allocations: 36.06 kB / 1.5 GB, free: 11.79 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.001182/0.7069, allocations: 0.8959 MB / 1.501 GB, free: 10.89 MB / 1.201 GB Notification: Performance of sort global known variables: time 1e-07/0.7069, allocations: 0 / 1.501 GB, free: 10.89 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.001003/0.7079, allocations: 327.6 kB / 1.502 GB, free: 10.57 MB / 1.201 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * 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 (86): * Single equations (assignments): 80 * 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.007959/0.7159, allocations: 3.335 MB / 1.505 GB, free: 7.344 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.003964/0.7199, allocations: 1.282 MB / 1.506 GB, free: 6.059 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 8.787e-06/0.7199, allocations: 4.062 kB / 1.506 GB, free: 6.055 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.00186/0.7217, allocations: 0.6368 MB / 1.507 GB, free: 5.422 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002928/0.7247, allocations: 0.5953 MB / 1.507 GB, free: 4.84 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02146/0.7461, allocations: 11.12 MB / 1.518 GB, free: 9.297 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000676/0.7468, allocations: 0.5986 MB / 1.519 GB, free: 8.664 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.001304/0.7481, allocations: 341.9 kB / 1.519 GB, free: 8.328 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007992/0.7489, allocations: 0.4993 MB / 1.52 GB, free: 7.828 MB / 1.217 GB Notification: Performance of SimCode: time 1.252e-06/0.7489, allocations: 0 / 1.52 GB, free: 7.828 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08533/0.8342, allocations: 37.48 MB / 1.556 GB, free: 2.957 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.67/13.51, allocations: 3.938 kB / 1.556 GB, free: 2.953 MB / 1.248 GB " [Timeout remaining time 286] (rm -f Buildings_11_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe ; mkfifo Buildings_11_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe >> ../files/Buildings_11_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly_fmu --startTime=0 --stopTime=1200 --stepSize=0.48 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly.fmu > Buildings_11_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.367395659908652]