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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001636/0.001636, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001338/0.001338, allocations: 193 kB / 16.53 MB, free: 6.664 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.417/1.417, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.736/2.736, allocations: 469.4 MB / 0.742 GB, free: 7.688 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001376/0.001376, allocations: 65.73 kB / 0.9083 GB, free: 34.48 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3079/0.3093, allocations: 159.1 MB / 1.064 GB, free: 14.48 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly): time 0.7932/1.103, allocations: 193.8 MB / 1.253 GB, free: 4.598 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.007478/1.11, allocations: 5.151 MB / 1.258 GB, free: 4.555 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007907/1.111, allocations: 46.28 kB / 1.258 GB, free: 4.555 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001502/1.112, allocations: 0.8157 MB / 1.259 GB, free: 4.539 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.005691/1.118, allocations: 2.593 MB / 1.261 GB, free: 4.445 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002776/1.121, allocations: 1.113 MB / 1.262 GB, free: 4.426 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.003212/1.124, allocations: 2.608 MB / 1.265 GB, free: 4.426 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001423/1.126, allocations: 0.8907 MB / 1.266 GB, free: 4.387 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002382/1.128, allocations: 1.072 MB / 1.267 GB, free: 4.383 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001567/1.13, allocations: 0.9497 MB / 1.268 GB, free: 4.379 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001596/1.13, allocations: 78.75 kB / 1.268 GB, free: 4.379 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004236/1.134, allocations: 1.781 MB / 1.27 GB, free: 4.363 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0005399/1.135, allocations: 431.2 kB / 1.27 GB, free: 4.363 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0008663/1.135, allocations: 0.6484 MB / 1.271 GB, free: 4.363 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.004664/1.14, allocations: 2.123 MB / 1.273 GB, free: 4.219 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/1.14, allocations: 0 / 1.273 GB, free: 4.219 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.204e-06/1.14, allocations: 0.9375 kB / 1.273 GB, free: 4.219 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.425e-05/1.14, allocations: 0.5938 kB / 1.273 GB, free: 4.219 MB / 0.9981 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.005579/1.146, allocations: 1.93 MB / 1.275 GB, free: 19.28 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.814e-05/1.146, allocations: 11.59 kB / 1.275 GB, free: 19.28 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001745/1.146, allocations: 136.4 kB / 1.275 GB, free: 19.24 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004305/1.15, allocations: 0.6634 MB / 1.275 GB, free: 19.16 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001665/1.152, allocations: 0.8787 MB / 1.276 GB, free: 18.78 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.069e-05/1.152, allocations: 68.2 kB / 1.276 GB, free: 18.78 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000239/1.152, allocations: 88.08 kB / 1.276 GB, free: 18.78 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004191/1.156, allocations: 1.476 MB / 1.278 GB, free: 18.54 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.037e-05/1.157, allocations: 5.312 kB / 1.278 GB, free: 18.54 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001157/1.157, allocations: 35.28 kB / 1.278 GB, free: 18.54 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.313e-05/1.157, allocations: 49.86 kB / 1.278 GB, free: 18.54 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004696/1.161, allocations: 1.524 MB / 1.279 GB, free: 18.54 MB / 1.014 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.007509/1.169, allocations: 5.49 MB / 1.285 GB, free: 15.56 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003654/1.173, allocations: 1.283 MB / 1.286 GB, free: 15.53 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001659/1.174, allocations: 0.6594 MB / 1.287 GB, free: 15.52 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009219/1.175, allocations: 0.5822 MB / 1.287 GB, free: 14.96 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001886/1.177, allocations: 0.7096 MB / 1.288 GB, free: 14.9 MB / 1.014 GB Notification: Performance of pre-optimization done (n=80): time 2.875e-06/1.177, allocations: 1.531 kB / 1.288 GB, free: 14.9 MB / 1.014 GB Notification: Performance of matching and sorting (n=80): time 0.005963/1.183, allocations: 1.869 MB / 1.29 GB, free: 14.79 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.63e-05/1.183, allocations: 61.81 kB / 1.29 GB, free: 14.72 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001761/1.185, allocations: 1.244 MB / 1.291 GB, free: 14.56 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001587/1.185, allocations: 43.14 kB / 1.291 GB, free: 14.53 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004196/1.186, allocations: 0.5781 MB / 1.292 GB, free: 14.34 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002613/1.186, allocations: 279.5 kB / 1.292 GB, free: 14.17 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003131/1.186, allocations: 183.4 kB / 1.292 GB, free: 14.15 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.000133/1.186, allocations: 341.5 kB / 1.292 GB, free: 13.84 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00167/1.188, allocations: 0.5376 MB / 1.293 GB, free: 13.84 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001828/1.19, allocations: 0.8228 MB / 1.294 GB, free: 13.56 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0033/1.193, allocations: 1.325 MB / 1.295 GB, free: 13.27 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.643e-06/1.193, allocations: 2.625 kB / 1.295 GB, free: 13.27 MB / 1.014 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.004141/1.197, allocations: 1.497 MB / 1.297 GB, free: 13.12 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.411e-05/1.197, allocations: 8.188 kB / 1.297 GB, free: 13.12 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.613e-05/1.197, allocations: 12.28 kB / 1.297 GB, free: 13.11 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.889e-05/1.197, allocations: 15 kB / 1.297 GB, free: 13.11 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001452/1.199, allocations: 296.5 kB / 1.297 GB, free: 13.11 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.684e-05/1.199, allocations: 19.64 kB / 1.297 GB, free: 13.11 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001601/1.201, allocations: 192.5 kB / 1.297 GB, free: 13.05 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001112/1.201, allocations: 51.81 kB / 1.297 GB, free: 13.05 MB / 1.014 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.0006485/1.201, allocations: 336.1 kB / 1.297 GB, free: 12.93 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002453/1.202, allocations: 137.3 kB / 1.298 GB, free: 12.85 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004148/1.206, allocations: 1.409 MB / 1.299 GB, free: 12.75 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.192e-05/1.206, allocations: 8.25 kB / 1.299 GB, free: 12.75 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.003e-06/1.206, allocations: 0 / 1.299 GB, free: 12.75 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.174e-05/1.206, allocations: 10.91 kB / 1.299 GB, free: 12.75 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006263/1.212, allocations: 2.815 MB / 1.302 GB, free: 12.23 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.637e-06/1.212, allocations: 4.188 kB / 1.302 GB, free: 12.23 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001296/1.213, allocations: 225.8 kB / 1.302 GB, free: 12.22 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.024e-05/1.213, allocations: 7.406 kB / 1.302 GB, free: 12.22 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.616e-05/1.213, allocations: 28.66 kB / 1.302 GB, free: 12.22 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.559e-05/1.214, allocations: 10.69 kB / 1.302 GB, free: 12.22 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.801e-06/1.214, allocations: 8.188 kB / 1.302 GB, free: 12.22 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005413/1.219, allocations: 2.25 MB / 1.304 GB, free: 11.82 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005512/1.22, allocations: 290.5 kB / 1.304 GB, free: 11.65 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001889/1.22, allocations: 28.47 kB / 1.304 GB, free: 11.65 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001141/1.221, allocations: 111 kB / 1.305 GB, free: 11.64 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001228/1.221, allocations: 60.91 kB / 1.305 GB, free: 11.64 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.09e-05/1.221, allocations: 37.92 kB / 1.305 GB, free: 11.64 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0009601/1.222, allocations: 0.8551 MB / 1.305 GB, free: 11.53 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.2e-07/1.222, allocations: 0 / 1.305 GB, free: 11.53 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001099/1.223, allocations: 316.9 kB / 1.306 GB, free: 11.51 MB / 1.014 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.006826/1.23, allocations: 3.237 MB / 1.309 GB, free: 10.45 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.00403/1.234, allocations: 1.406 MB / 1.31 GB, free: 10.41 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 7.674e-06/1.234, allocations: 5.75 kB / 1.31 GB, free: 10.41 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.001782/1.236, allocations: 0.6353 MB / 1.311 GB, free: 10.39 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003094/1.239, allocations: 0.5943 MB / 1.312 GB, free: 10.29 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02098/1.26, allocations: 11.74 MB / 1.323 GB, free: 5.922 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001007/1.261, allocations: 1.173 MB / 1.324 GB, free: 5.203 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001758/1.263, allocations: 344 kB / 1.324 GB, free: 5.121 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006605/1.263, allocations: 0.4959 MB / 1.325 GB, free: 5.109 MB / 1.014 GB Notification: Performance of SimCode: time 8.11e-07/1.263, allocations: 0 / 1.325 GB, free: 5.109 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06942/1.333, allocations: 33.58 MB / 1.358 GB, free: 4.312 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.506/9.839, allocations: 11.75 kB / 1.358 GB, free: 4.301 MB / 1.029 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