Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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_11_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly,fileNamePrefix="Buildings_11_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.007065/0.007065, allocations: 96.7 kB / 15.73 MB, free: 6.055 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.00186/0.00186, allocations: 194.9 kB / 16.67 MB, free: 5.977 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.457/1.457, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.829/2.829, allocations: 469.8 MB / 0.7425 GB, free: 7.316 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001958/0.001958, allocations: 71.88 kB / 1.065 GB, free: 13.54 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2656/0.2675, allocations: 159.1 MB / 1.22 GB, free: 14.29 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly): time 0.7107/0.9783, allocations: 193.8 MB / 1.409 GB, free: 13.29 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.008807/0.9871, allocations: 5.147 MB / 1.415 GB, free: 9.113 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008106/0.988, allocations: 47.19 kB / 1.415 GB, free: 9.094 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.001707/0.9897, allocations: 0.8127 MB / 1.415 GB, free: 8.484 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.005664/0.9954, allocations: 2.597 MB / 1.418 GB, free: 6.543 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.002631/0.998, allocations: 1.106 MB / 1.419 GB, free: 5.719 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.003136/1.001, allocations: 2.62 MB / 1.422 GB, free: 4.223 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001095/1.002, allocations: 0.8898 MB / 1.422 GB, free: 3.668 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001497/1.004, allocations: 1.08 MB / 1.423 GB, free: 3.066 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001083/1.005, allocations: 0.9474 MB / 1.424 GB, free: 2.535 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0001295/1.005, allocations: 78.28 kB / 1.424 GB, free: 2.535 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003089/1.008, allocations: 1.781 MB / 1.426 GB, free: 1.543 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0003935/1.009, allocations: 435 kB / 1.427 GB, free: 1.262 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.0006127/1.009, allocations: 0.6555 MB / 1.427 GB, free: 0.8281 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.002655/1.012, allocations: 2.16 MB / 1.429 GB, free: 15.36 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/1.012, allocations: 0 / 1.429 GB, free: 15.36 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.173e-06/1.012, allocations: 0 / 1.429 GB, free: 15.36 MB / 1.123 GB Notification: Performance of Transformations before backend: time 1.781e-05/1.012, allocations: 0 / 1.429 GB, free: 15.36 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.004786/1.017, allocations: 1.971 MB / 1.431 GB, free: 13.33 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.047e-05/1.017, allocations: 12.03 kB / 1.431 GB, free: 13.32 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001687/1.017, allocations: 135.5 kB / 1.431 GB, free: 13.18 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004082/1.021, allocations: 0.674 MB / 1.432 GB, free: 12.5 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001524/1.023, allocations: 0.9538 MB / 1.433 GB, free: 11.49 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.87e-05/1.023, allocations: 66 kB / 1.433 GB, free: 11.43 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001679/1.023, allocations: 95.97 kB / 1.433 GB, free: 11.33 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003286/1.026, allocations: 1.466 MB / 1.435 GB, free: 9.793 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.35e-05/1.026, allocations: 4 kB / 1.435 GB, free: 9.789 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001065/1.026, allocations: 36 kB / 1.435 GB, free: 9.754 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.648e-05/1.026, allocations: 50.48 kB / 1.435 GB, free: 9.703 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004489/1.031, allocations: 1.518 MB / 1.436 GB, free: 8.184 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.007507/1.038, allocations: 5.496 MB / 1.442 GB, free: 2.402 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004011/1.042, allocations: 1.274 MB / 1.443 GB, free: 1.121 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001846/1.044, allocations: 0.659 MB / 1.443 GB, free: 464 kB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000964/1.045, allocations: 0.5812 MB / 1.444 GB, free: 15.76 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002027/1.047, allocations: 0.7174 MB / 1.445 GB, free: 15.04 MB / 1.139 GB Notification: Performance of pre-optimization done (n=80): time 3.456e-06/1.047, allocations: 0 / 1.445 GB, free: 15.04 MB / 1.139 GB Notification: Performance of matching and sorting (n=80): time 0.006078/1.053, allocations: 1.886 MB / 1.447 GB, free: 13.14 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.89e-05/1.053, allocations: 60.06 kB / 1.447 GB, free: 13.07 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001528/1.055, allocations: 1.239 MB / 1.448 GB, free: 11.83 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 8.346e-05/1.055, allocations: 45.7 kB / 1.448 GB, free: 11.78 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005209/1.056, allocations: 0.5838 MB / 1.448 GB, free: 11.19 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002691/1.056, allocations: 297.5 kB / 1.449 GB, free: 10.89 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003206/1.056, allocations: 182.5 kB / 1.449 GB, free: 10.71 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001505/1.056, allocations: 341.9 kB / 1.449 GB, free: 10.37 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001763/1.058, allocations: 0.5367 MB / 1.45 GB, free: 9.832 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00201/1.06, allocations: 0.825 MB / 1.451 GB, free: 8.898 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00366/1.064, allocations: 1.332 MB / 1.452 GB, free: 7.461 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.589e-06/1.064, allocations: 0 / 1.452 GB, free: 7.461 MB / 1.139 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.004226/1.068, allocations: 1.499 MB / 1.453 GB, free: 5.953 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 2.029e-05/1.068, allocations: 8 kB / 1.453 GB, free: 5.945 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.221e-05/1.068, allocations: 8 kB / 1.453 GB, free: 5.938 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.559e-05/1.068, allocations: 12 kB / 1.453 GB, free: 5.926 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001516/1.07, allocations: 296.2 kB / 1.454 GB, free: 5.637 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.088e-05/1.07, allocations: 15.94 kB / 1.454 GB, free: 5.621 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001287/1.071, allocations: 207 kB / 1.454 GB, free: 5.418 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000108/1.071, allocations: 51.97 kB / 1.454 GB, free: 5.367 MB / 1.139 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.0005098/1.072, allocations: 339.7 kB / 1.454 GB, free: 5.027 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002065/1.072, allocations: 143 kB / 1.454 GB, free: 4.887 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00421/1.076, allocations: 1.405 MB / 1.456 GB, free: 3.473 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.42e-05/1.076, allocations: 12 kB / 1.456 GB, free: 3.461 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/1.076, allocations: 3.875 kB / 1.456 GB, free: 3.461 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.015e-05/1.076, allocations: 3.984 kB / 1.456 GB, free: 3.457 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00616/1.082, allocations: 2.791 MB / 1.458 GB, free: 0.5664 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.364e-06/1.082, allocations: 4.5 kB / 1.458 GB, free: 0.5625 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001303/1.084, allocations: 239.5 kB / 1.459 GB, free: 336 kB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.045e-05/1.084, allocations: 8 kB / 1.459 GB, free: 328 kB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.845e-05/1.084, allocations: 23.98 kB / 1.459 GB, free: 304 kB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.239e-05/1.084, allocations: 11.98 kB / 1.459 GB, free: 292 kB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.253e-06/1.084, allocations: 7.938 kB / 1.459 GB, free: 284 kB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005968/1.09, allocations: 2.252 MB / 1.461 GB, free: 13.96 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004708/1.09, allocations: 303.9 kB / 1.461 GB, free: 13.65 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001792/1.09, allocations: 23.98 kB / 1.461 GB, free: 13.62 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001098/1.091, allocations: 111.9 kB / 1.461 GB, free: 13.52 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001728/1.092, allocations: 64.36 kB / 1.461 GB, free: 13.45 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.993e-05/1.092, allocations: 39.97 kB / 1.461 GB, free: 13.41 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.001193/1.093, allocations: 0.8562 MB / 1.462 GB, free: 12.55 MB / 1.154 GB Notification: Performance of sort global known variables: time 2e-07/1.093, allocations: 0 / 1.462 GB, free: 12.55 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0009855/1.094, allocations: 315.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.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.008127/1.102, allocations: 3.241 MB / 1.466 GB, free: 9.113 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.003951/1.106, allocations: 1.29 MB / 1.467 GB, free: 7.82 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/1.106, allocations: 0 / 1.467 GB, free: 7.82 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.001953/1.108, allocations: 0.6443 MB / 1.468 GB, free: 7.176 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002842/1.111, allocations: 0.5973 MB / 1.468 GB, free: 6.594 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02073/1.132, allocations: 10.97 MB / 1.479 GB, free: 11.2 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008354/1.132, allocations: 1.169 MB / 1.48 GB, free: 10 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.00123/1.134, allocations: 345.9 kB / 1.48 GB, free: 9.66 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008/1.134, allocations: 0.4915 MB / 1.481 GB, free: 9.168 MB / 1.17 GB Notification: Performance of SimCode: time 6.42e-07/1.134, allocations: 0 / 1.481 GB, free: 9.168 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06757/1.202, allocations: 33.92 MB / 1.514 GB, free: 7.676 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.29/11.49, allocations: 11.77 kB / 1.514 GB, free: 7.672 MB / 1.201 GB (rm -f Buildings_11_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe ; mkfifo Buildings_11_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe >> ../files/Buildings_11_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.sim & python3 -m fmpy simulate --output-file Buildings_11_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_11_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly.fmu > Buildings_11_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches