Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.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_TSetOnly,fileNamePrefix="Buildings_latest_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly,fileNamePrefix="Buildings_latest_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly",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.007951/0.007951, allocations: 98.64 kB / 15.73 MB, free: 6.449 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.002085/0.002085, allocations: 197.5 kB / 16.68 MB, free: 6.348 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.341/1.341, allocations: 222.9 MB / 240.4 MB, free: 4.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.785/2.785, allocations: 469.4 MB / 0.7422 GB, free: 7.613 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001269/0.001269, allocations: 67.84 kB / 1.064 GB, free: 13.87 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2885/0.2898, allocations: 159.1 MB / 1.22 GB, free: 14.63 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly): time 0.8418/1.132, allocations: 193.8 MB / 1.409 GB, free: 13.76 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.009539/1.141, allocations: 5.146 MB / 1.414 GB, free: 9.574 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001497/1.143, allocations: 51.31 kB / 1.414 GB, free: 9.551 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.002096/1.145, allocations: 0.8281 MB / 1.415 GB, free: 8.934 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.006999/1.152, allocations: 2.683 MB / 1.418 GB, free: 6.941 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.002935/1.155, allocations: 1.108 MB / 1.419 GB, free: 6.117 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.003771/1.159, allocations: 2.612 MB / 1.421 GB, free: 4.633 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001549/1.16, allocations: 0.8856 MB / 1.422 GB, free: 4.082 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002247/1.162, allocations: 1.124 MB / 1.423 GB, free: 3.449 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001585/1.164, allocations: 0.9579 MB / 1.424 GB, free: 2.91 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0002568/1.164, allocations: 80.19 kB / 1.424 GB, free: 2.91 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003616/1.168, allocations: 1.799 MB / 1.426 GB, free: 1.906 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0005563/1.169, allocations: 443 kB / 1.426 GB, free: 1.617 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.001094/1.17, allocations: 0.6428 MB / 1.427 GB, free: 1.199 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.003956/1.174, allocations: 2.179 MB / 1.429 GB, free: 15.65 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/1.174, allocations: 0 / 1.429 GB, free: 15.65 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.803e-06/1.174, allocations: 0 / 1.429 GB, free: 15.65 MB / 1.123 GB Notification: Performance of Transformations before backend: time 5.289e-05/1.174, allocations: 0 / 1.429 GB, free: 15.65 MB / 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.005701/1.179, allocations: 1.978 MB / 1.431 GB, free: 13.61 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.63e-05/1.179, allocations: 8.031 kB / 1.431 GB, free: 13.61 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002514/1.18, allocations: 143.5 kB / 1.431 GB, free: 13.46 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004459/1.184, allocations: 0.7052 MB / 1.432 GB, free: 12.75 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001931/1.186, allocations: 0.9617 MB / 1.433 GB, free: 11.73 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.39e-05/1.186, allocations: 69.98 kB / 1.433 GB, free: 11.66 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002326/1.186, allocations: 95.98 kB / 1.433 GB, free: 11.57 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003412/1.19, allocations: 1.457 MB / 1.434 GB, free: 10.06 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.66e-05/1.19, allocations: 3.938 kB / 1.434 GB, free: 10.05 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001196/1.19, allocations: 43.97 kB / 1.434 GB, free: 10.01 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.981e-05/1.19, allocations: 50.61 kB / 1.434 GB, free: 9.961 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004299/1.194, allocations: 1.549 MB / 1.436 GB, free: 8.414 MB / 1.123 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.007165/1.202, allocations: 5.047 MB / 1.441 GB, free: 3.105 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003433/1.205, allocations: 1.186 MB / 1.442 GB, free: 1.91 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001777/1.207, allocations: 0.6668 MB / 1.443 GB, free: 1.242 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001279/1.208, allocations: 0.9371 MB / 1.444 GB, free: 124 kB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001973/1.21, allocations: 0.7309 MB / 1.444 GB, free: 15.37 MB / 1.139 GB Notification: Performance of pre-optimization done (n=82): time 2.965e-06/1.21, allocations: 0 / 1.444 GB, free: 15.37 MB / 1.139 GB Notification: Performance of matching and sorting (n=82): time 0.006101/1.216, allocations: 1.957 MB / 1.446 GB, free: 13.41 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.787e-05/1.216, allocations: 60.06 kB / 1.446 GB, free: 13.34 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001588/1.218, allocations: 1.264 MB / 1.448 GB, free: 12.07 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 9.912e-05/1.218, allocations: 53.64 kB / 1.448 GB, free: 12.01 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004485/1.218, allocations: 0.5802 MB / 1.448 GB, free: 11.43 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002614/1.219, allocations: 293.5 kB / 1.448 GB, free: 11.14 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003143/1.219, allocations: 186.6 kB / 1.449 GB, free: 10.95 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001191/1.219, allocations: 341.9 kB / 1.449 GB, free: 10.61 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001679/1.221, allocations: 0.5523 MB / 1.45 GB, free: 10.05 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001907/1.223, allocations: 0.8208 MB / 1.45 GB, free: 9.133 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003407/1.226, allocations: 1.336 MB / 1.452 GB, free: 7.707 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.488e-06/1.226, allocations: 4.812 kB / 1.452 GB, free: 7.703 MB / 1.139 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.004137/1.23, allocations: 1.523 MB / 1.453 GB, free: 6.168 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 2.687e-05/1.23, allocations: 13.39 kB / 1.453 GB, free: 6.156 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.326e-05/1.23, allocations: 16.03 kB / 1.453 GB, free: 6.141 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.444e-05/1.23, allocations: 12 kB / 1.453 GB, free: 6.129 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001471/1.232, allocations: 287.6 kB / 1.453 GB, free: 5.848 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.349e-05/1.232, allocations: 15.94 kB / 1.453 GB, free: 5.832 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001507/1.233, allocations: 203.9 kB / 1.454 GB, free: 5.633 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001172/1.234, allocations: 55.91 kB / 1.454 GB, free: 5.578 MB / 1.139 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.0006511/1.234, allocations: 339.7 kB / 1.454 GB, free: 5.238 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003431/1.235, allocations: 139.1 kB / 1.454 GB, free: 5.102 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004176/1.239, allocations: 1.441 MB / 1.456 GB, free: 3.652 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.163e-05/1.239, allocations: 11.98 kB / 1.456 GB, free: 3.641 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/1.239, allocations: 0 / 1.456 GB, free: 3.641 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.077e-06/1.239, allocations: 3.984 kB / 1.456 GB, free: 3.637 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006343/1.245, allocations: 2.866 MB / 1.458 GB, free: 0.6562 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.955e-06/1.245, allocations: 4 kB / 1.458 GB, free: 0.6523 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001332/1.247, allocations: 221.2 kB / 1.459 GB, free: 448 kB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.506e-05/1.247, allocations: 8 kB / 1.459 GB, free: 440 kB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.593e-05/1.247, allocations: 39.91 kB / 1.459 GB, free: 400 kB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-05/1.247, allocations: 11.98 kB / 1.459 GB, free: 388 kB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.819e-06/1.247, allocations: 4 kB / 1.459 GB, free: 384 kB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005737/1.252, allocations: 2.307 MB / 1.461 GB, free: 14 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006444/1.253, allocations: 319.9 kB / 1.461 GB, free: 13.67 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002469/1.253, allocations: 20.08 kB / 1.461 GB, free: 13.65 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001212/1.255, allocations: 112.3 kB / 1.461 GB, free: 13.54 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001421/1.255, allocations: 64.42 kB / 1.461 GB, free: 13.48 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.055e-05/1.255, allocations: 43.91 kB / 1.461 GB, free: 13.44 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.001128/1.256, allocations: 0.8684 MB / 1.462 GB, free: 12.57 MB / 1.154 GB Notification: Performance of sort global known variables: time 2.31e-07/1.256, allocations: 4 kB / 1.462 GB, free: 12.56 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0009999/1.257, allocations: 319.7 kB / 1.463 GB, free: 12.25 MB / 1.154 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 (82): * Single equations (assignments): 76 * 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.00724/1.264, allocations: 3.306 MB / 1.466 GB, free: 9.055 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.003792/1.268, allocations: 1.308 MB / 1.467 GB, free: 7.746 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/1.268, allocations: 256 / 1.467 GB, free: 7.746 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.001798/1.27, allocations: 0.6635 MB / 1.468 GB, free: 7.082 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002885/1.273, allocations: 0.623 MB / 1.468 GB, free: 6.469 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02052/1.293, allocations: 11.15 MB / 1.479 GB, free: 10.91 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007798/1.294, allocations: 1.171 MB / 1.48 GB, free: 9.707 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.001311/1.295, allocations: 358.2 kB / 1.481 GB, free: 9.355 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007513/1.296, allocations: 499.2 kB / 1.481 GB, free: 8.867 MB / 1.17 GB Notification: Performance of SimCode: time 4.81e-07/1.296, allocations: 0 / 1.481 GB, free: 8.867 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07022/1.366, allocations: 35 MB / 1.515 GB, free: 6.273 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.86/12.23, allocations: 9.938 kB / 1.515 GB, free: 6.27 MB / 1.201 GB (rm -f Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe >> ../files/Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly_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_TSetOnly.fmu > Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches