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.009139/0.009139, allocations: 99.34 kB / 15.73 MB, free: 6.059 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.002246/0.002246, allocations: 195 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.312 MB / 190.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.665/2.665, allocations: 437 MB / 0.7105 GB, free: 4.977 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001639/0.001639, allocations: 63.91 kB / 1.018 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2957/0.2974, allocations: 151.6 MB / 1.166 GB, free: 7.387 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly): time 0.8719/1.169, allocations: 193.8 MB / 1.355 GB, free: 384 kB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.009608/1.179, allocations: 5.149 MB / 1.361 GB, free: 12.77 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002272/1.181, allocations: 46.91 kB / 1.361 GB, free: 12.75 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.002196/1.184, allocations: 0.8237 MB / 1.361 GB, free: 12.35 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.00736/1.191, allocations: 2.684 MB / 1.364 GB, free: 10.97 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.003081/1.194, allocations: 1.114 MB / 1.365 GB, free: 10.42 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.004011/1.198, allocations: 2.62 MB / 1.368 GB, free: 9.25 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001684/1.2, allocations: 0.8906 MB / 1.368 GB, free: 8.695 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003283/1.203, allocations: 1.12 MB / 1.37 GB, free: 8.066 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002004/1.205, allocations: 0.9565 MB / 1.371 GB, free: 7.527 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0002014/1.205, allocations: 78.38 kB / 1.371 GB, free: 7.527 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004035/1.209, allocations: 1.792 MB / 1.372 GB, free: 6.527 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.000507/1.21, allocations: 433.8 kB / 1.373 GB, free: 6.246 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0008099/1.211, allocations: 0.6506 MB / 1.373 GB, free: 5.82 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.003994/1.215, allocations: 2.157 MB / 1.376 GB, free: 4.484 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/1.215, allocations: 0 / 1.376 GB, free: 4.484 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.713e-06/1.215, allocations: 1.375 kB / 1.376 GB, free: 4.484 MB / 1.045 GB Notification: Performance of Transformations before backend: time 2.099e-05/1.215, allocations: 0 / 1.376 GB, free: 4.484 MB / 1.045 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.004846/1.22, allocations: 1.975 MB / 1.377 GB, free: 2.996 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.744e-05/1.22, allocations: 9.75 kB / 1.377 GB, free: 2.996 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001557/1.22, allocations: 141.6 kB / 1.378 GB, free: 2.879 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003671/1.224, allocations: 0.6624 MB / 1.378 GB, free: 2.57 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001932/1.225, allocations: 0.9589 MB / 1.379 GB, free: 1.828 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.642e-05/1.226, allocations: 65.94 kB / 1.379 GB, free: 1.797 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001723/1.226, allocations: 86.69 kB / 1.379 GB, free: 1.77 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003019/1.229, allocations: 1.472 MB / 1.381 GB, free: 0.8203 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.473e-05/1.229, allocations: 5.781 kB / 1.381 GB, free: 0.8164 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.856e-05/1.229, allocations: 38.22 kB / 1.381 GB, free: 0.7891 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.03e-05/1.229, allocations: 48.02 kB / 1.381 GB, free: 0.7773 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003889/1.233, allocations: 1.521 MB / 1.382 GB, free: 40 kB / 1.045 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.007352/1.24, allocations: 5.487 MB / 1.388 GB, free: 11.39 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003605/1.244, allocations: 1.285 MB / 1.389 GB, free: 10.77 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001646/1.245, allocations: 0.6585 MB / 1.39 GB, free: 10.45 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009229/1.246, allocations: 0.5818 MB / 1.39 GB, free: 9.84 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001845/1.248, allocations: 0.7159 MB / 1.391 GB, free: 9.418 MB / 1.061 GB Notification: Performance of pre-optimization done (n=80): time 3.807e-06/1.248, allocations: 0 / 1.391 GB, free: 9.418 MB / 1.061 GB Notification: Performance of matching and sorting (n=80): time 0.005647/1.254, allocations: 1.883 MB / 1.393 GB, free: 8.52 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.638e-05/1.254, allocations: 59.91 kB / 1.393 GB, free: 8.453 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001899/1.256, allocations: 1.238 MB / 1.394 GB, free: 7.824 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 0.0001151/1.256, allocations: 45.67 kB / 1.394 GB, free: 7.781 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005504/1.257, allocations: 0.5922 MB / 1.395 GB, free: 7.254 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003053/1.257, allocations: 283.2 kB / 1.395 GB, free: 7.012 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003491/1.257, allocations: 186.9 kB / 1.395 GB, free: 6.902 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001494/1.257, allocations: 341.9 kB / 1.395 GB, free: 6.57 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001568/1.259, allocations: 0.5409 MB / 1.396 GB, free: 6.312 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001859/1.261, allocations: 0.8276 MB / 1.397 GB, free: 5.711 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003317/1.264, allocations: 1.325 MB / 1.398 GB, free: 4.875 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.098e-06/1.264, allocations: 2.406 kB / 1.398 GB, free: 4.875 MB / 1.061 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.003895/1.268, allocations: 1.502 MB / 1.399 GB, free: 4.133 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.402e-05/1.268, allocations: 7.75 kB / 1.399 GB, free: 4.133 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.253e-05/1.268, allocations: 7.969 kB / 1.399 GB, free: 4.133 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.662e-05/1.268, allocations: 12.19 kB / 1.399 GB, free: 4.133 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001364/1.27, allocations: 291.8 kB / 1.4 GB, free: 4.047 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.644e-05/1.27, allocations: 20.14 kB / 1.4 GB, free: 4.039 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001491/1.271, allocations: 210.2 kB / 1.4 GB, free: 3.914 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001192/1.271, allocations: 51.2 kB / 1.4 GB, free: 3.898 MB / 1.061 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.0005978/1.272, allocations: 334.9 kB / 1.4 GB, free: 3.664 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003264/1.272, allocations: 146.1 kB / 1.4 GB, free: 3.582 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003828/1.276, allocations: 1.401 MB / 1.402 GB, free: 2.727 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.486e-06/1.276, allocations: 12 kB / 1.402 GB, free: 2.715 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.552e-06/1.276, allocations: 4 kB / 1.402 GB, free: 2.711 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.037e-06/1.276, allocations: 3.984 kB / 1.402 GB, free: 2.707 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00607/1.282, allocations: 2.795 MB / 1.405 GB, free: 15.81 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.727e-06/1.282, allocations: 4.5 kB / 1.405 GB, free: 15.8 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001185/1.283, allocations: 227.6 kB / 1.405 GB, free: 15.58 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.38e-05/1.283, allocations: 4 kB / 1.405 GB, free: 15.58 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.66e-05/1.284, allocations: 35.91 kB / 1.405 GB, free: 15.54 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.076e-05/1.284, allocations: 8.969 kB / 1.405 GB, free: 15.54 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.468e-06/1.284, allocations: 7.938 kB / 1.405 GB, free: 15.53 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005582/1.289, allocations: 2.26 MB / 1.407 GB, free: 13.21 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007173/1.29, allocations: 303.9 kB / 1.407 GB, free: 12.89 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000298/1.29, allocations: 20 kB / 1.407 GB, free: 12.87 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001235/1.291, allocations: 119.9 kB / 1.407 GB, free: 12.75 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001452/1.292, allocations: 56.44 kB / 1.408 GB, free: 12.7 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.986e-05/1.292, allocations: 41.03 kB / 1.408 GB, free: 12.66 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.001273/1.293, allocations: 0.8561 MB / 1.408 GB, free: 11.8 MB / 1.076 GB Notification: Performance of sort global known variables: time 2.01e-07/1.293, allocations: 0 / 1.408 GB, free: 11.8 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.001314/1.294, allocations: 319.7 kB / 1.409 GB, free: 11.49 MB / 1.076 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.007365/1.302, allocations: 3.222 MB / 1.412 GB, free: 8.355 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.003748/1.305, allocations: 1.294 MB / 1.413 GB, free: 7.066 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 5.36e-06/1.305, allocations: 0 / 1.413 GB, free: 7.066 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.001824/1.307, allocations: 0.6365 MB / 1.414 GB, free: 6.43 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003425/1.311, allocations: 0.5995 MB / 1.414 GB, free: 5.848 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02328/1.334, allocations: 10.98 MB / 1.425 GB, free: 10.45 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001022/1.335, allocations: 1.178 MB / 1.426 GB, free: 9.238 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.001341/1.336, allocations: 341.9 kB / 1.427 GB, free: 8.902 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000806/1.337, allocations: 0.4914 MB / 1.427 GB, free: 8.41 MB / 1.092 GB Notification: Performance of SimCode: time 7.52e-07/1.337, allocations: 0 / 1.427 GB, free: 8.41 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06953/1.407, allocations: 33.94 MB / 1.46 GB, free: 6.891 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.45/11.86, allocations: 15.83 kB / 1.46 GB, free: 6.875 MB / 1.123 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