Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.001731/0.001731, allocations: 106 kB / 16.45 MB, free: 6.508 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.002036/0.002036, allocations: 200.5 kB / 19.41 MB, free: 3.664 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.484/1.484, 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 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.563/2.563, allocations: 443.5 MB / 0.7287 GB, free: 13.3 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly,fileNamePrefix="Buildings_10_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001926/0.001926, allocations: 63.89 kB / 1.056 GB, free: 5.863 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.875/0.8769, allocations: 160.7 MB / 1.213 GB, free: 3.879 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly): time 0.2335/1.11, allocations: 194.5 MB / 1.403 GB, free: 5.023 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.01049/1.121, allocations: 5.167 MB / 1.408 GB, free: 15.84 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001434/1.122, allocations: 47.69 kB / 1.408 GB, free: 15.8 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.002147/1.125, allocations: 0.8276 MB / 1.409 GB, free: 14.96 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.007009/1.132, allocations: 2.695 MB / 1.411 GB, free: 12.26 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.003131/1.135, allocations: 1.111 MB / 1.413 GB, free: 11.16 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.003983/1.139, allocations: 2.617 MB / 1.415 GB, free: 8.531 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001348/1.14, allocations: 0.7635 MB / 1.416 GB, free: 7.754 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002222/1.142, allocations: 1.121 MB / 1.417 GB, free: 6.629 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001615/1.144, allocations: 1.016 MB / 1.418 GB, free: 5.609 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0001766/1.144, allocations: 76 kB / 1.418 GB, free: 5.535 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003895/1.148, allocations: 1.905 MB / 1.42 GB, free: 3.625 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0005716/1.148, allocations: 442.5 kB / 1.42 GB, free: 3.191 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0009377/1.149, allocations: 0.6526 MB / 1.421 GB, free: 2.535 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.004593/1.154, allocations: 2.156 MB / 1.423 GB, free: 380 kB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 1.827e-05/1.154, allocations: 0 / 1.423 GB, free: 380 kB / 1.123 GB Notification: Performance of FrontEnd: time 2.836e-06/1.154, allocations: 0 / 1.423 GB, free: 380 kB / 1.123 GB Notification: Performance of Transformations before backend: time 2.834e-05/1.154, allocations: 0 / 1.423 GB, free: 380 kB / 1.123 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.005225/1.159, allocations: 1.971 MB / 1.425 GB, free: 14.34 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 5.191e-05/1.159, allocations: 16.81 kB / 1.425 GB, free: 14.32 MB / 1.139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001841/1.16, allocations: 143.5 kB / 1.425 GB, free: 14.17 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004076/1.164, allocations: 0.6662 MB / 1.426 GB, free: 13.5 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001952/1.166, allocations: 0.9538 MB / 1.427 GB, free: 12.5 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.954e-05/1.166, allocations: 66 kB / 1.427 GB, free: 12.43 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000184/1.166, allocations: 91.97 kB / 1.427 GB, free: 12.34 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003282/1.169, allocations: 1.474 MB / 1.428 GB, free: 10.79 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.413e-05/1.169, allocations: 0 / 1.428 GB, free: 10.79 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001028/1.169, allocations: 36 kB / 1.428 GB, free: 10.76 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.447e-05/1.169, allocations: 49.98 kB / 1.428 GB, free: 10.71 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004154/1.173, allocations: 1.526 MB / 1.43 GB, free: 9.18 MB / 1.139 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.008787/1.182, allocations: 5.491 MB / 1.435 GB, free: 3.402 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003636/1.186, allocations: 1.237 MB / 1.436 GB, free: 2.156 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001671/1.188, allocations: 0.6247 MB / 1.437 GB, free: 1.531 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009264/1.188, allocations: 0.5812 MB / 1.438 GB, free: 0.8398 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001873/1.19, allocations: 0.7146 MB / 1.438 GB, free: 112 kB / 1.139 GB Notification: Performance of pre-optimization done (n=80): time 3.297e-06/1.19, allocations: 0 / 1.438 GB, free: 112 kB / 1.139 GB Notification: Performance of matching and sorting (n=80): time 0.005703/1.196, allocations: 1.886 MB / 1.44 GB, free: 14.21 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.967e-05/1.196, allocations: 64.06 kB / 1.44 GB, free: 14.14 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001613/1.198, allocations: 1.235 MB / 1.441 GB, free: 12.9 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 0.0001243/1.198, allocations: 41.7 kB / 1.441 GB, free: 12.85 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005434/1.198, allocations: 0.5955 MB / 1.442 GB, free: 12.25 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002975/1.199, allocations: 293.5 kB / 1.442 GB, free: 11.96 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003151/1.199, allocations: 178.6 kB / 1.442 GB, free: 11.78 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001761/1.199, allocations: 341.9 kB / 1.443 GB, free: 11.44 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001586/1.201, allocations: 0.5367 MB / 1.443 GB, free: 10.9 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001864/1.203, allocations: 0.8213 MB / 1.444 GB, free: 9.973 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003394/1.206, allocations: 1.328 MB / 1.445 GB, free: 8.543 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.401e-05/1.206, allocations: 8 kB / 1.445 GB, free: 8.535 MB / 1.154 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.004191/1.21, allocations: 1.499 MB / 1.447 GB, free: 7.027 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 2.891e-05/1.21, allocations: 8 kB / 1.447 GB, free: 7.02 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.34e-05/1.21, allocations: 4.875 kB / 1.447 GB, free: 7.016 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.21e-05/1.21, allocations: 19.98 kB / 1.447 GB, free: 6.996 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001428/1.212, allocations: 295.5 kB / 1.447 GB, free: 6.707 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.712e-05/1.212, allocations: 12 kB / 1.447 GB, free: 6.695 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001527/1.213, allocations: 203 kB / 1.447 GB, free: 6.496 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001084/1.213, allocations: 51.97 kB / 1.447 GB, free: 6.445 MB / 1.154 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.0006898/1.214, allocations: 340.5 kB / 1.448 GB, free: 6.105 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000258/1.214, allocations: 139 kB / 1.448 GB, free: 5.969 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00389/1.218, allocations: 1.416 MB / 1.449 GB, free: 4.543 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.258e-05/1.218, allocations: 8 kB / 1.449 GB, free: 4.535 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.534e-06/1.218, allocations: 0 / 1.449 GB, free: 4.535 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.111e-05/1.218, allocations: 3.984 kB / 1.449 GB, free: 4.531 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006194/1.224, allocations: 2.799 MB / 1.452 GB, free: 1.629 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.848e-06/1.224, allocations: 7.938 kB / 1.452 GB, free: 1.621 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001235/1.226, allocations: 227.8 kB / 1.452 GB, free: 1.398 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.296e-05/1.226, allocations: 8 kB / 1.452 GB, free: 1.391 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.048e-05/1.226, allocations: 19.98 kB / 1.452 GB, free: 1.371 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.089e-05/1.226, allocations: 11.98 kB / 1.452 GB, free: 1.359 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.177e-06/1.226, allocations: 11.94 kB / 1.452 GB, free: 1.348 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005608/1.231, allocations: 2.252 MB / 1.454 GB, free: 15.04 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007252/1.232, allocations: 308.1 kB / 1.455 GB, free: 14.71 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001804/1.232, allocations: 23.92 kB / 1.455 GB, free: 14.69 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001042/1.233, allocations: 111.9 kB / 1.455 GB, free: 14.58 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001745/1.233, allocations: 68.36 kB / 1.455 GB, free: 14.52 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.057e-05/1.234, allocations: 43.97 kB / 1.455 GB, free: 14.47 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.00123/1.235, allocations: 0.8483 MB / 1.456 GB, free: 13.62 MB / 1.17 GB Notification: Performance of sort global known variables: time 9e-08/1.235, allocations: 0 / 1.456 GB, free: 13.62 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.001158/1.236, allocations: 319.7 kB / 1.456 GB, free: 13.31 MB / 1.17 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 (80): * Single equations (assignments): 74 * 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.00768/1.244, allocations: 3.238 MB / 1.459 GB, free: 10.17 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.003602/1.247, allocations: 1.251 MB / 1.461 GB, free: 8.926 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 5.831e-06/1.247, allocations: 0 / 1.461 GB, free: 8.926 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.001742/1.249, allocations: 0.6247 MB / 1.461 GB, free: 8.297 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002705/1.252, allocations: 0.5912 MB / 1.462 GB, free: 7.719 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02145/1.273, allocations: 10.98 MB / 1.472 GB, free: 12.32 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009341/1.274, allocations: 1.174 MB / 1.474 GB, free: 11.11 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.001382/1.275, allocations: 349.9 kB / 1.474 GB, free: 10.77 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008139/1.276, allocations: 0.4953 MB / 1.474 GB, free: 10.27 MB / 1.186 GB Notification: Performance of SimCode: time 1.492e-06/1.276, allocations: 3.938 kB / 1.474 GB, free: 10.27 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07763/1.354, allocations: 34.1 MB / 1.508 GB, free: 8.449 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.92/12.27, allocations: 15.98 kB / 1.508 GB, free: 8.434 MB / 1.217 GB " [Timeout remaining time 288] (rm -f Buildings_10_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe ; mkfifo Buildings_10_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe >> ../files/Buildings_10_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly_fmu --startTime=0 --stopTime=1200 --stepSize=0.48 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly.fmu > Buildings_10_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 18.397307048086077]