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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.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.00798/0.00798, allocations: 97.8 kB / 15.73 MB, free: 5.996 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.002142/0.002143, allocations: 186.6 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.408/1.408, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.861/2.861, allocations: 482.4 MB / 0.7548 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001946/0.001947, allocations: 72.02 kB / 1.083 GB, free: 12.52 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2756/0.2776, allocations: 162.2 MB / 1.241 GB, free: 10.19 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly): time 0.8538/1.131, allocations: 241.7 MB / 1.478 GB, free: 5.895 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.01394/1.145, allocations: 8.411 MB / 1.486 GB, free: 13.46 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00159/1.147, allocations: 71.56 kB / 1.486 GB, free: 13.39 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.002491/1.149, allocations: 1.048 MB / 1.487 GB, free: 12.34 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.007231/1.157, allocations: 3.064 MB / 1.49 GB, free: 9.262 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.008025/1.165, allocations: 3.529 MB / 1.493 GB, free: 5.734 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.005056/1.17, allocations: 3.913 MB / 1.497 GB, free: 1.812 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002178/1.172, allocations: 1.349 MB / 1.498 GB, free: 440 kB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00466/1.177, allocations: 2.187 MB / 1.501 GB, free: 14.23 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002328/1.179, allocations: 1.354 MB / 1.502 GB, free: 12.88 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0004853/1.18, allocations: 128 kB / 1.502 GB, free: 12.75 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007896/1.187, allocations: 3.928 MB / 1.506 GB, free: 8.812 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.00092/1.188, allocations: 0.5879 MB / 1.506 GB, free: 8.223 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.001608/1.19, allocations: 0.9792 MB / 1.507 GB, free: 7.238 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.007711/1.198, allocations: 3.862 MB / 1.511 GB, free: 3.363 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/1.198, allocations: 0 / 1.511 GB, free: 3.363 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.393e-06/1.198, allocations: 0 / 1.511 GB, free: 3.363 MB / 1.201 GB Notification: Performance of Transformations before backend: time 5.52e-05/1.198, allocations: 7.938 kB / 1.511 GB, free: 3.355 MB / 1.201 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 334 * Number of variables: 334 Notification: Performance of Generate backend data structure: time 0.006795/1.205, allocations: 2.702 MB / 1.514 GB, free: 0.582 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.772e-05/1.205, allocations: 12.02 kB / 1.514 GB, free: 0.5703 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000331/1.205, allocations: 194.4 kB / 1.514 GB, free: 380 kB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007449/1.213, allocations: 1.091 MB / 1.515 GB, free: 15.28 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002668/1.215, allocations: 1.271 MB / 1.516 GB, free: 13.95 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.725e-05/1.215, allocations: 94.56 kB / 1.516 GB, free: 13.86 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002753/1.216, allocations: 132 kB / 1.517 GB, free: 13.73 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004345/1.22, allocations: 1.972 MB / 1.518 GB, free: 11.61 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.444e-05/1.22, allocations: 7.938 kB / 1.518 GB, free: 11.61 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001506/1.22, allocations: 52 kB / 1.518 GB, free: 11.55 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.876e-05/1.22, allocations: 62.3 kB / 1.519 GB, free: 11.49 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00523/1.225, allocations: 1.882 MB / 1.52 GB, free: 9.602 MB / 1.217 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01137/1.237, allocations: 9.172 MB / 1.529 GB, free: 15.8 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004596/1.241, allocations: 1.596 MB / 1.531 GB, free: 14.2 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002191/1.244, allocations: 0.7932 MB / 1.532 GB, free: 13.4 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009604/1.245, allocations: 0.5854 MB / 1.532 GB, free: 12.71 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002331/1.247, allocations: 0.8642 MB / 1.533 GB, free: 11.83 MB / 1.232 GB Notification: Performance of pre-optimization done (n=104): time 3.006e-06/1.247, allocations: 0 / 1.533 GB, free: 11.83 MB / 1.232 GB Notification: Performance of matching and sorting (n=104): time 0.006902/1.254, allocations: 2.326 MB / 1.535 GB, free: 9.496 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.35e-05/1.254, allocations: 64.41 kB / 1.535 GB, free: 9.422 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002292/1.256, allocations: 1.665 MB / 1.537 GB, free: 7.758 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 0.0001076/1.256, allocations: 45.7 kB / 1.537 GB, free: 7.707 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007557/1.257, allocations: 0.8517 MB / 1.538 GB, free: 6.848 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003816/1.258, allocations: 376.8 kB / 1.538 GB, free: 6.477 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000432/1.258, allocations: 238.8 kB / 1.539 GB, free: 6.238 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0001636/1.258, allocations: 357.9 kB / 1.539 GB, free: 5.883 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002007/1.26, allocations: 0.6583 MB / 1.539 GB, free: 5.223 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002573/1.263, allocations: 1.057 MB / 1.541 GB, free: 4.008 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004317/1.267, allocations: 1.708 MB / 1.542 GB, free: 2.152 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.747e-06/1.267, allocations: 4 kB / 1.542 GB, free: 2.148 MB / 1.232 GB Notification: Performance of matching and sorting (n=157) (initialization): time 0.005127/1.272, allocations: 1.929 MB / 1.544 GB, free: 212 kB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 2.39e-05/1.272, allocations: 12 kB / 1.544 GB, free: 200 kB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.551e-05/1.272, allocations: 8 kB / 1.544 GB, free: 192 kB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.143e-05/1.272, allocations: 20 kB / 1.544 GB, free: 172 kB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001849/1.274, allocations: 364.1 kB / 1.544 GB, free: 15.81 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.435e-05/1.274, allocations: 27.92 kB / 1.544 GB, free: 15.79 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00172/1.276, allocations: 242.7 kB / 1.545 GB, free: 15.55 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001411/1.276, allocations: 67.97 kB / 1.545 GB, free: 15.48 MB / 1.248 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * 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 (157): * Single equations (assignments): 157 * 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.0006829/1.277, allocations: 403.5 kB / 1.545 GB, free: 15.08 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003365/1.277, allocations: 198.8 kB / 1.545 GB, free: 14.88 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005396/1.283, allocations: 1.784 MB / 1.547 GB, free: 13.1 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.844e-05/1.283, allocations: 12 kB / 1.547 GB, free: 13.09 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.226e-06/1.283, allocations: 0 / 1.547 GB, free: 13.09 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.271e-05/1.283, allocations: 7.969 kB / 1.547 GB, free: 13.08 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008506/1.291, allocations: 3.937 MB / 1.551 GB, free: 8.992 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.175e-05/1.291, allocations: 8 kB / 1.551 GB, free: 8.984 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001576/1.293, allocations: 268.6 kB / 1.551 GB, free: 8.723 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.585e-05/1.293, allocations: 12 kB / 1.551 GB, free: 8.711 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001149/1.293, allocations: 35.97 kB / 1.551 GB, free: 8.676 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.526e-05/1.293, allocations: 15.94 kB / 1.551 GB, free: 8.66 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.826e-06/1.293, allocations: 15.94 kB / 1.551 GB, free: 8.645 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01077/1.304, allocations: 2.871 MB / 1.554 GB, free: 5.672 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001074/1.305, allocations: 399.4 kB / 1.554 GB, free: 5.262 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004285/1.305, allocations: 28.09 kB / 1.555 GB, free: 5.234 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002055/1.307, allocations: 119.9 kB / 1.555 GB, free: 5.117 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002478/1.308, allocations: 92.42 kB / 1.555 GB, free: 5.027 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000179/1.308, allocations: 47.97 kB / 1.555 GB, free: 4.98 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.002603/1.31, allocations: 1.131 MB / 1.556 GB, free: 3.859 MB / 1.248 GB Notification: Performance of sort global known variables: time 3.21e-07/1.31, allocations: 4 kB / 1.556 GB, free: 3.855 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.002168/1.313, allocations: 467.5 kB / 1.556 GB, free: 3.398 MB / 1.248 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 29 * 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 (104): * Single equations (assignments): 98 * 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.01401/1.327, allocations: 3.915 MB / 1.56 GB, free: 15.54 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.007249/1.334, allocations: 1.624 MB / 1.562 GB, free: 13.92 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 8.476e-06/1.334, allocations: 0 / 1.562 GB, free: 13.92 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.003319/1.337, allocations: 0.7938 MB / 1.563 GB, free: 13.13 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006135/1.343, allocations: 0.9303 MB / 1.563 GB, free: 12.22 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03084/1.374, allocations: 14.92 MB / 1.578 GB, free: 12.59 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001052/1.375, allocations: 1.364 MB / 1.579 GB, free: 11.19 MB / 1.279 GB Notification: Performance of simCode: alias equations: time 0.001657/1.377, allocations: 454.6 kB / 1.58 GB, free: 10.74 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001117/1.378, allocations: 0.7101 MB / 1.58 GB, free: 10.03 MB / 1.279 GB Notification: Performance of SimCode: time 6.51e-07/1.378, allocations: 8 kB / 1.58 GB, free: 10.02 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1779/1.556, allocations: 48.87 MB / 1.628 GB, free: 9.789 MB / 1.326 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.33/12.89, allocations: 11.83 kB / 1.628 GB, free: 9.777 MB / 1.326 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 400 --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