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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005048/0.005049, allocations: 99.45 kB / 15.73 MB, free: 6.059 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001139/0.001139, allocations: 194.3 kB / 16.68 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.364/1.364, allocations: 222.9 MB / 240.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.613/2.613, allocations: 469.4 MB / 0.7422 GB, free: 3.574 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001442/0.001442, allocations: 71.89 kB / 1.064 GB, free: 14.25 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8393/0.8407, allocations: 159.1 MB / 1.22 GB, free: 2.293 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly): time 0.2034/1.044, allocations: 193.8 MB / 1.409 GB, free: 15.74 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.009714/1.054, allocations: 5.169 MB / 1.414 GB, free: 10.56 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001564/1.056, allocations: 51.62 kB / 1.414 GB, free: 10.51 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.002252/1.058, allocations: 0.8237 MB / 1.415 GB, free: 9.684 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.006869/1.065, allocations: 2.692 MB / 1.418 GB, free: 6.98 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.002999/1.068, allocations: 1.098 MB / 1.419 GB, free: 5.887 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.003546/1.071, allocations: 2.621 MB / 1.421 GB, free: 3.258 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001541/1.073, allocations: 0.8961 MB / 1.422 GB, free: 2.348 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002337/1.075, allocations: 1.117 MB / 1.423 GB, free: 1.227 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001631/1.077, allocations: 0.9495 MB / 1.424 GB, free: 280 kB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.0002975/1.077, allocations: 76 kB / 1.424 GB, free: 204 kB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003621/1.081, allocations: 1.8 MB / 1.426 GB, free: 14.39 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.000564/1.081, allocations: 434.6 kB / 1.426 GB, free: 13.97 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0009757/1.082, allocations: 0.6448 MB / 1.427 GB, free: 13.32 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.004062/1.086, allocations: 2.152 MB / 1.429 GB, free: 11.16 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/1.087, allocations: 0 / 1.429 GB, free: 11.16 MB / 1.154 GB Notification: Performance of FrontEnd: time 4.098e-06/1.087, allocations: 0 / 1.429 GB, free: 11.16 MB / 1.154 GB Notification: Performance of Transformations before backend: time 5.71e-05/1.087, allocations: 3.938 kB / 1.429 GB, free: 11.16 MB / 1.154 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.005439/1.092, allocations: 1.975 MB / 1.431 GB, free: 9.121 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.626e-05/1.092, allocations: 8.625 kB / 1.431 GB, free: 9.113 MB / 1.154 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002178/1.092, allocations: 143.5 kB / 1.431 GB, free: 8.965 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004116/1.096, allocations: 0.6584 MB / 1.432 GB, free: 8.305 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002099/1.099, allocations: 0.9616 MB / 1.433 GB, free: 7.289 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.371e-05/1.099, allocations: 69.98 kB / 1.433 GB, free: 7.219 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002719/1.099, allocations: 88 kB / 1.433 GB, free: 7.133 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003471/1.102, allocations: 1.47 MB / 1.434 GB, free: 5.59 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.557e-05/1.102, allocations: 3.938 kB / 1.434 GB, free: 5.586 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001233/1.103, allocations: 43.98 kB / 1.434 GB, free: 5.543 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.949e-05/1.103, allocations: 41.98 kB / 1.434 GB, free: 5.5 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004441/1.107, allocations: 1.526 MB / 1.436 GB, free: 3.977 MB / 1.154 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.009123/1.116, allocations: 5.496 MB / 1.441 GB, free: 14.2 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004111/1.12, allocations: 1.28 MB / 1.443 GB, free: 12.91 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001805/1.122, allocations: 0.6583 MB / 1.443 GB, free: 12.24 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009411/1.123, allocations: 0.5812 MB / 1.444 GB, free: 11.55 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002123/1.125, allocations: 0.711 MB / 1.444 GB, free: 10.83 MB / 1.17 GB Notification: Performance of pre-optimization done (n=80): time 5.27e-06/1.125, allocations: 0 / 1.444 GB, free: 10.83 MB / 1.17 GB Notification: Performance of matching and sorting (n=80): time 0.006336/1.132, allocations: 1.886 MB / 1.446 GB, free: 8.934 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.27e-05/1.132, allocations: 60.06 kB / 1.446 GB, free: 8.863 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001902/1.134, allocations: 1.239 MB / 1.448 GB, free: 7.617 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 0.0001605/1.134, allocations: 41.7 kB / 1.448 GB, free: 7.57 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005265/1.134, allocations: 0.5955 MB / 1.448 GB, free: 6.969 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003746/1.135, allocations: 285.6 kB / 1.448 GB, free: 6.688 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003995/1.135, allocations: 186.6 kB / 1.449 GB, free: 6.5 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001363/1.135, allocations: 341.9 kB / 1.449 GB, free: 6.16 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001751/1.137, allocations: 0.5367 MB / 1.449 GB, free: 5.621 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001951/1.139, allocations: 0.8258 MB / 1.45 GB, free: 4.691 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003581/1.143, allocations: 1.321 MB / 1.452 GB, free: 3.27 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.161e-05/1.143, allocations: 4 kB / 1.452 GB, free: 3.266 MB / 1.17 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.004306/1.147, allocations: 1.503 MB / 1.453 GB, free: 1.754 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 3.145e-05/1.147, allocations: 10.03 kB / 1.453 GB, free: 1.746 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.696e-05/1.147, allocations: 4 kB / 1.453 GB, free: 1.742 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.135e-05/1.147, allocations: 16 kB / 1.453 GB, free: 1.727 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001481/1.149, allocations: 307.9 kB / 1.453 GB, free: 1.426 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.925e-05/1.149, allocations: 19.92 kB / 1.453 GB, free: 1.406 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001477/1.15, allocations: 199 kB / 1.454 GB, free: 1.211 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001392/1.15, allocations: 51.98 kB / 1.454 GB, free: 1.16 MB / 1.17 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.0006704/1.151, allocations: 339.7 kB / 1.454 GB, free: 0.8203 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003344/1.151, allocations: 143 kB / 1.454 GB, free: 0.6797 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004037/1.155, allocations: 1.397 MB / 1.455 GB, free: 15.27 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.355e-05/1.155, allocations: 11.98 kB / 1.455 GB, free: 15.26 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.146e-06/1.156, allocations: 4 kB / 1.455 GB, free: 15.26 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.095e-05/1.156, allocations: 7.969 kB / 1.455 GB, free: 15.25 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006288/1.162, allocations: 2.787 MB / 1.458 GB, free: 12.36 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.185e-05/1.162, allocations: 8.438 kB / 1.458 GB, free: 12.35 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001287/1.163, allocations: 227.7 kB / 1.458 GB, free: 12.13 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.952e-05/1.163, allocations: 8 kB / 1.458 GB, free: 12.12 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.14e-05/1.163, allocations: 23.97 kB / 1.458 GB, free: 12.1 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.451e-05/1.163, allocations: 11.94 kB / 1.458 GB, free: 12.09 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.869e-06/1.163, allocations: 4 kB / 1.458 GB, free: 12.08 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005567/1.169, allocations: 2.256 MB / 1.461 GB, free: 9.758 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006578/1.17, allocations: 303.9 kB / 1.461 GB, free: 9.441 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000271/1.17, allocations: 20 kB / 1.461 GB, free: 9.422 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001207/1.171, allocations: 115.8 kB / 1.461 GB, free: 9.309 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001303/1.171, allocations: 64.36 kB / 1.461 GB, free: 9.246 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.167e-05/1.171, allocations: 35.97 kB / 1.461 GB, free: 9.211 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.001113/1.172, allocations: 0.8483 MB / 1.462 GB, free: 8.359 MB / 1.186 GB Notification: Performance of sort global known variables: time 3.91e-07/1.172, allocations: 4 kB / 1.462 GB, free: 8.355 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.001092/1.174, allocations: 323.7 kB / 1.462 GB, free: 8.039 MB / 1.186 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.007033/1.181, allocations: 3.233 MB / 1.465 GB, free: 4.902 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.003754/1.184, allocations: 1.298 MB / 1.467 GB, free: 3.602 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 5.961e-06/1.184, allocations: 0 / 1.467 GB, free: 3.602 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.001828/1.186, allocations: 0.6365 MB / 1.467 GB, free: 2.961 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002905/1.189, allocations: 0.5978 MB / 1.468 GB, free: 2.375 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02129/1.21, allocations: 10.98 MB / 1.479 GB, free: 6.98 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009383/1.211, allocations: 1.175 MB / 1.48 GB, free: 5.777 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.001392/1.213, allocations: 349.9 kB / 1.48 GB, free: 5.434 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008813/1.214, allocations: 0.4914 MB / 1.481 GB, free: 4.941 MB / 1.201 GB Notification: Performance of SimCode: time 7.82e-07/1.214, allocations: 0 / 1.481 GB, free: 4.941 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06911/1.283, allocations: 33.93 MB / 1.514 GB, free: 3.449 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.24/11.52, allocations: 10.19 kB / 1.514 GB, free: 3.441 MB / 1.232 GB (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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly_res.csv --start-time 0 --stop-time 1200 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.48 Buildings_latest_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly.fmu > Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches