Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.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,fileNamePrefix="Buildings_latest_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet,fileNamePrefix="Buildings_latest_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet",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.005752/0.005752, allocations: 99.05 kB / 15.73 MB, free: 6.008 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.00119/0.00119, allocations: 189.9 kB / 16.67 MB, free: 5.926 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.27/1.27, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.487/2.487, allocations: 469.4 MB / 0.7422 GB, free: 3.48 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001488/0.001488, allocations: 63.91 kB / 1.064 GB, free: 14.21 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9017/0.9032, allocations: 159.1 MB / 1.22 GB, free: 2.242 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet): time 0.2185/1.122, allocations: 193.8 MB / 1.409 GB, free: 15.7 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.009938/1.132, allocations: 5.161 MB / 1.414 GB, free: 10.53 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002055/1.134, allocations: 51.62 kB / 1.414 GB, free: 10.48 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.00273/1.137, allocations: 0.8237 MB / 1.415 GB, free: 9.648 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.008522/1.145, allocations: 2.696 MB / 1.418 GB, free: 6.941 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.003399/1.149, allocations: 1.114 MB / 1.419 GB, free: 5.832 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.004394/1.153, allocations: 2.691 MB / 1.421 GB, free: 3.133 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00187/1.155, allocations: 0.9405 MB / 1.422 GB, free: 2.176 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002678/1.158, allocations: 1.14 MB / 1.423 GB, free: 1.031 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001826/1.159, allocations: 0.9924 MB / 1.424 GB, free: 36 kB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.0003433/1.16, allocations: 88.05 kB / 1.424 GB, free: 15.95 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003887/1.164, allocations: 1.804 MB / 1.426 GB, free: 14.14 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0006253/1.164, allocations: 446.6 kB / 1.427 GB, free: 13.7 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.001421/1.166, allocations: 0.6604 MB / 1.427 GB, free: 13.04 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.005756/1.172, allocations: 2.214 MB / 1.429 GB, free: 10.82 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/1.172, allocations: 0 / 1.429 GB, free: 10.82 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.864e-06/1.172, allocations: 4 kB / 1.429 GB, free: 10.81 MB / 1.154 GB Notification: Performance of Transformations before backend: time 8.573e-05/1.172, allocations: 0 / 1.429 GB, free: 10.81 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: 226 * Number of variables: 226 Notification: Performance of Generate backend data structure: time 0.006789/1.178, allocations: 2.013 MB / 1.431 GB, free: 8.742 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.703e-05/1.179, allocations: 8.625 kB / 1.431 GB, free: 8.734 MB / 1.154 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002896/1.179, allocations: 147.5 kB / 1.431 GB, free: 8.582 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00568/1.184, allocations: 0.9003 MB / 1.432 GB, free: 7.68 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002124/1.187, allocations: 0.985 MB / 1.433 GB, free: 6.637 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.463e-05/1.187, allocations: 70 kB / 1.433 GB, free: 6.57 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002561/1.187, allocations: 88 kB / 1.433 GB, free: 6.484 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004112/1.191, allocations: 1.583 MB / 1.435 GB, free: 4.867 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.682e-05/1.191, allocations: 4 kB / 1.435 GB, free: 4.863 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001238/1.191, allocations: 32 kB / 1.435 GB, free: 4.832 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.74e-05/1.191, allocations: 45.98 kB / 1.435 GB, free: 4.789 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005403/1.197, allocations: 1.854 MB / 1.437 GB, free: 2.934 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.008252/1.205, allocations: 4.735 MB / 1.442 GB, free: 13.97 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004418/1.209, allocations: 1.563 MB / 1.443 GB, free: 12.4 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002282/1.212, allocations: 0.8624 MB / 1.444 GB, free: 11.54 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001272/1.213, allocations: 0.9413 MB / 1.445 GB, free: 10.41 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002512/1.216, allocations: 0.9189 MB / 1.446 GB, free: 9.477 MB / 1.17 GB Notification: Performance of pre-optimization done (n=95): time 3.557e-06/1.216, allocations: 0 / 1.446 GB, free: 9.477 MB / 1.17 GB Notification: Performance of matching and sorting (n=95): time 0.007839/1.223, allocations: 2.455 MB / 1.448 GB, free: 7.02 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.595e-05/1.224, allocations: 64.41 kB / 1.448 GB, free: 6.941 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001545/1.225, allocations: 1.201 MB / 1.449 GB, free: 5.73 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 0.0001301/1.225, allocations: 45.7 kB / 1.449 GB, free: 5.68 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004578/1.226, allocations: 0.5492 MB / 1.45 GB, free: 5.125 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003383/1.226, allocations: 337.2 kB / 1.45 GB, free: 4.793 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003723/1.226, allocations: 186.6 kB / 1.45 GB, free: 4.605 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.000137/1.227, allocations: 349.9 kB / 1.451 GB, free: 4.258 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00223/1.229, allocations: 0.6966 MB / 1.451 GB, free: 3.562 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002396/1.231, allocations: 0.9113 MB / 1.452 GB, free: 2.582 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005745/1.237, allocations: 1.561 MB / 1.454 GB, free: 0.9648 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.754e-06/1.237, allocations: 0 / 1.454 GB, free: 0.9648 MB / 1.17 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.006577/1.244, allocations: 1.788 MB / 1.456 GB, free: 15.16 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 3.102e-05/1.244, allocations: 8 kB / 1.456 GB, free: 15.16 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.562e-05/1.244, allocations: 4 kB / 1.456 GB, free: 15.15 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.073e-05/1.244, allocations: 8 kB / 1.456 GB, free: 15.14 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001824/1.246, allocations: 347.9 kB / 1.456 GB, free: 14.8 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.542e-05/1.246, allocations: 11.94 kB / 1.456 GB, free: 14.79 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001858/1.247, allocations: 239 kB / 1.456 GB, free: 14.56 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000148/1.248, allocations: 47.97 kB / 1.456 GB, free: 14.51 MB / 1.186 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (121): * Single equations (assignments): 121 * 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.0007513/1.248, allocations: 335.7 kB / 1.457 GB, free: 14.18 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003909/1.249, allocations: 151 kB / 1.457 GB, free: 14.03 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005387/1.254, allocations: 1.799 MB / 1.458 GB, free: 12.22 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.18e-05/1.254, allocations: 12 kB / 1.458 GB, free: 12.21 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.263e-06/1.254, allocations: 0 / 1.458 GB, free: 12.21 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.146e-05/1.254, allocations: 7.984 kB / 1.458 GB, free: 12.2 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007954/1.262, allocations: 3.347 MB / 1.462 GB, free: 8.746 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.058e-05/1.262, allocations: 4 kB / 1.462 GB, free: 8.742 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001687/1.264, allocations: 292.1 kB / 1.462 GB, free: 8.457 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.649e-05/1.264, allocations: 8 kB / 1.462 GB, free: 8.449 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001071/1.264, allocations: 35.97 kB / 1.462 GB, free: 8.414 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.21e-05/1.264, allocations: 11.94 kB / 1.462 GB, free: 8.402 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.881e-06/1.264, allocations: 7.984 kB / 1.462 GB, free: 8.395 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007501/1.272, allocations: 2.852 MB / 1.465 GB, free: 5.48 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000807/1.272, allocations: 331.9 kB / 1.465 GB, free: 5.137 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003245/1.273, allocations: 24 kB / 1.465 GB, free: 5.113 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001551/1.274, allocations: 151.8 kB / 1.465 GB, free: 4.965 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001596/1.275, allocations: 76.44 kB / 1.465 GB, free: 4.891 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.072e-05/1.275, allocations: 39.97 kB / 1.465 GB, free: 4.852 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.001204/1.276, allocations: 0.8315 MB / 1.466 GB, free: 4.016 MB / 1.186 GB Notification: Performance of sort global known variables: time 4.81e-07/1.276, allocations: 0 / 1.466 GB, free: 4.016 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.001142/1.277, allocations: 343.7 kB / 1.467 GB, free: 3.68 MB / 1.186 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 6 (heaHigPow.T,heaHigPow.Xi,cooLimPow.T,cooLimPow.Xi,heaCooUnl.T,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 (95): * Single equations (assignments): 89 * 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.009047/1.286, allocations: 3.83 MB / 1.47 GB, free: 15.94 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.00491/1.291, allocations: 1.634 MB / 1.472 GB, free: 14.3 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 5.711e-06/1.291, allocations: 0 / 1.472 GB, free: 14.3 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.002398/1.293, allocations: 0.8399 MB / 1.473 GB, free: 13.46 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00304/1.296, allocations: 0.6143 MB / 1.473 GB, free: 12.86 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02503/1.322, allocations: 12.09 MB / 1.485 GB, free: 440 kB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009129/1.322, allocations: 1.179 MB / 1.486 GB, free: 15.22 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.001405/1.324, allocations: 366 kB / 1.487 GB, free: 14.86 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008471/1.325, allocations: 0.4992 MB / 1.487 GB, free: 14.36 MB / 1.217 GB Notification: Performance of SimCode: time 5.91e-07/1.325, allocations: 3.938 kB / 1.487 GB, free: 14.36 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07673/1.402, allocations: 35.69 MB / 1.522 GB, free: 11.09 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.5/11.9, allocations: 5.531 kB / 1.522 GB, free: 11.09 MB / 1.248 GB (rm -f Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe >> ../files/Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_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.fmu > Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Interfaces_Examples_PrescribedOutlet.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches