Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly,fileNamePrefix="Buildings_10_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.006187/0.006187, allocations: 98.56 kB / 15.73 MB, free: 5.949 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.001545/0.001545, allocations: 193.1 kB / 16.67 MB, free: 5.871 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.419/1.419, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.537/2.537, allocations: 437 MB / 0.7105 GB, free: 4.355 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001925/0.001925, allocations: 63.91 kB / 1.018 GB, free: 9.867 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8126/0.8146, allocations: 151.6 MB / 1.166 GB, free: 3.75 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly): time 0.2287/1.043, allocations: 193.8 MB / 1.355 GB, free: 1.18 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.009761/1.053, allocations: 5.139 MB / 1.361 GB, free: 12.03 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0014/1.055, allocations: 47.69 kB / 1.361 GB, free: 11.98 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.002226/1.057, allocations: 0.8119 MB / 1.361 GB, free: 11.16 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.006739/1.064, allocations: 2.598 MB / 1.364 GB, free: 8.555 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.003059/1.067, allocations: 1.101 MB / 1.365 GB, free: 7.461 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.003989/1.071, allocations: 2.61 MB / 1.367 GB, free: 4.844 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00157/1.072, allocations: 0.8961 MB / 1.368 GB, free: 3.934 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002212/1.075, allocations: 1.086 MB / 1.369 GB, free: 2.844 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00154/1.076, allocations: 0.9494 MB / 1.37 GB, free: 1.891 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0001676/1.076, allocations: 76 kB / 1.37 GB, free: 1.816 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00374/1.08, allocations: 1.781 MB / 1.372 GB, free: 32 kB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0005652/1.081, allocations: 434.6 kB / 1.373 GB, free: 15.61 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.0008636/1.082, allocations: 0.6526 MB / 1.373 GB, free: 14.95 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.004228/1.086, allocations: 2.156 MB / 1.375 GB, free: 12.79 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 6.051e-06/1.086, allocations: 0 / 1.375 GB, free: 12.79 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.953e-06/1.086, allocations: 0 / 1.375 GB, free: 12.79 MB / 1.107 GB Notification: Performance of Transformations before backend: time 2.344e-05/1.086, allocations: 4 kB / 1.375 GB, free: 12.78 MB / 1.107 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.005322/1.091, allocations: 1.975 MB / 1.377 GB, free: 10.75 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.812e-05/1.091, allocations: 8.922 kB / 1.377 GB, free: 10.74 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001992/1.091, allocations: 143.4 kB / 1.377 GB, free: 10.59 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003965/1.095, allocations: 0.6662 MB / 1.378 GB, free: 9.922 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001821/1.097, allocations: 0.9538 MB / 1.379 GB, free: 8.914 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.64e-05/1.097, allocations: 65.98 kB / 1.379 GB, free: 8.848 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001761/1.097, allocations: 95.98 kB / 1.379 GB, free: 8.754 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003564/1.101, allocations: 1.462 MB / 1.381 GB, free: 7.219 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.938e-05/1.101, allocations: 7.938 kB / 1.381 GB, free: 7.211 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000106/1.101, allocations: 40 kB / 1.381 GB, free: 7.172 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.903e-05/1.101, allocations: 45.98 kB / 1.381 GB, free: 7.125 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004454/1.106, allocations: 1.522 MB / 1.382 GB, free: 5.605 MB / 1.107 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.008527/1.114, allocations: 5.5 MB / 1.388 GB, free: 15.81 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003994/1.118, allocations: 1.277 MB / 1.389 GB, free: 14.53 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001948/1.12, allocations: 0.6597 MB / 1.389 GB, free: 13.87 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001/1.121, allocations: 0.5812 MB / 1.39 GB, free: 13.18 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002135/1.123, allocations: 0.7151 MB / 1.391 GB, free: 12.45 MB / 1.123 GB Notification: Performance of pre-optimization done (n=80): time 3.747e-06/1.124, allocations: 0 / 1.391 GB, free: 12.45 MB / 1.123 GB Notification: Performance of matching and sorting (n=80): time 0.006133/1.13, allocations: 1.883 MB / 1.393 GB, free: 10.56 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.335e-05/1.13, allocations: 64.06 kB / 1.393 GB, free: 10.48 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00179/1.132, allocations: 1.235 MB / 1.394 GB, free: 9.242 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 0.0001481/1.132, allocations: 41.7 kB / 1.394 GB, free: 9.195 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005696/1.132, allocations: 0.5916 MB / 1.394 GB, free: 8.598 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004042/1.133, allocations: 289.6 kB / 1.395 GB, free: 8.312 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003455/1.133, allocations: 182.6 kB / 1.395 GB, free: 8.129 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001782/1.133, allocations: 342 kB / 1.395 GB, free: 7.789 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001753/1.135, allocations: 0.5405 MB / 1.396 GB, free: 7.246 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00206/1.137, allocations: 0.8174 MB / 1.397 GB, free: 6.32 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003648/1.141, allocations: 1.332 MB / 1.398 GB, free: 4.887 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.767e-06/1.141, allocations: 0 / 1.398 GB, free: 4.887 MB / 1.123 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.004473/1.145, allocations: 1.503 MB / 1.399 GB, free: 3.375 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 3.043e-05/1.145, allocations: 8 kB / 1.399 GB, free: 3.367 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.078e-05/1.145, allocations: 8 kB / 1.399 GB, free: 3.359 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.173e-05/1.145, allocations: 12.09 kB / 1.399 GB, free: 3.348 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001491/1.147, allocations: 300.1 kB / 1.4 GB, free: 3.055 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.891e-05/1.147, allocations: 19.92 kB / 1.4 GB, free: 3.035 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001455/1.148, allocations: 199 kB / 1.4 GB, free: 2.84 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001222/1.149, allocations: 55.92 kB / 1.4 GB, free: 2.785 MB / 1.123 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.0006343/1.149, allocations: 339.7 kB / 1.4 GB, free: 2.445 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000278/1.149, allocations: 143 kB / 1.4 GB, free: 2.305 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004185/1.154, allocations: 1.405 MB / 1.402 GB, free: 0.8906 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.551e-05/1.154, allocations: 11.98 kB / 1.402 GB, free: 0.8789 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.172e-06/1.154, allocations: 4 kB / 1.402 GB, free: 0.875 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.255e-05/1.154, allocations: 3.984 kB / 1.402 GB, free: 0.8711 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006732/1.16, allocations: 2.787 MB / 1.404 GB, free: 13.98 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.411e-05/1.161, allocations: 12.44 kB / 1.404 GB, free: 13.97 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001309/1.162, allocations: 235.6 kB / 1.405 GB, free: 13.74 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.807e-05/1.162, allocations: 8 kB / 1.405 GB, free: 13.73 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000122/1.162, allocations: 27.97 kB / 1.405 GB, free: 13.71 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.048e-05/1.162, allocations: 4 kB / 1.405 GB, free: 13.7 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.626e-06/1.162, allocations: 8 kB / 1.405 GB, free: 13.7 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006466/1.168, allocations: 2.256 MB / 1.407 GB, free: 11.38 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007014/1.169, allocations: 307.9 kB / 1.407 GB, free: 11.06 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003014/1.17, allocations: 16 kB / 1.407 GB, free: 11.04 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001227/1.171, allocations: 115.9 kB / 1.407 GB, free: 10.93 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001952/1.171, allocations: 60.38 kB / 1.407 GB, free: 10.87 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000124/1.171, allocations: 39.97 kB / 1.407 GB, free: 10.83 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.001527/1.173, allocations: 0.8561 MB / 1.408 GB, free: 9.973 MB / 1.139 GB Notification: Performance of sort global known variables: time 2.41e-07/1.173, allocations: 0 / 1.408 GB, free: 9.973 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.001293/1.174, allocations: 319.7 kB / 1.409 GB, free: 9.66 MB / 1.139 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.008623/1.183, allocations: 3.231 MB / 1.412 GB, free: 6.516 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.004279/1.187, allocations: 1.294 MB / 1.413 GB, free: 5.227 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 6.993e-06/1.187, allocations: 0 / 1.413 GB, free: 5.227 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.002096/1.189, allocations: 0.6365 MB / 1.414 GB, free: 4.59 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003271/1.192, allocations: 0.6053 MB / 1.414 GB, free: 4 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02494/1.217, allocations: 10.98 MB / 1.425 GB, free: 8.594 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001098/1.219, allocations: 1.174 MB / 1.426 GB, free: 7.387 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.00141/1.22, allocations: 341.9 kB / 1.426 GB, free: 7.051 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009098/1.221, allocations: 0.4953 MB / 1.427 GB, free: 6.555 MB / 1.154 GB Notification: Performance of SimCode: time 4.9e-07/1.221, allocations: 0 / 1.427 GB, free: 6.555 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08225/1.303, allocations: 33.94 MB / 1.46 GB, free: 4.93 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.32/12.62, allocations: 4 kB / 1.46 GB, free: 4.926 MB / 1.186 GB (rm -f Buildings_10_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe ; mkfifo Buildings_10_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe >> ../files/Buildings_10_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly.fmu > Buildings_10_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches