Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.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,fileNamePrefix="Buildings_10_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet,fileNamePrefix="Buildings_10_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet",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.005135/0.005135, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.001192/0.001192, allocations: 202.4 kB / 16.68 MB, free: 5.969 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.355/1.355, allocations: 222.9 MB / 240.4 MB, free: 4.34 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.743/2.743, allocations: 437.1 MB / 0.7105 GB, free: 5.012 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001309/0.001309, allocations: 63.91 kB / 1.018 GB, free: 15 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3192/0.3205, allocations: 151.6 MB / 1.166 GB, free: 7.266 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet): time 0.8805/1.201, allocations: 193.8 MB / 1.355 GB, free: 352 kB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.009569/1.211, allocations: 5.143 MB / 1.36 GB, free: 12.74 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002305/1.213, allocations: 50.59 kB / 1.361 GB, free: 12.71 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.002203/1.215, allocations: 0.8233 MB / 1.361 GB, free: 12.32 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.008097/1.223, allocations: 2.693 MB / 1.364 GB, free: 10.93 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.00323/1.227, allocations: 1.114 MB / 1.365 GB, free: 10.38 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.004545/1.231, allocations: 2.684 MB / 1.368 GB, free: 9.152 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00164/1.233, allocations: 0.9451 MB / 1.369 GB, free: 8.559 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002662/1.236, allocations: 1.145 MB / 1.37 GB, free: 7.914 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002089/1.238, allocations: 0.9881 MB / 1.371 GB, free: 7.355 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0003858/1.238, allocations: 86.56 kB / 1.371 GB, free: 7.355 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004881/1.243, allocations: 1.804 MB / 1.373 GB, free: 6.352 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0007918/1.244, allocations: 452.8 kB / 1.373 GB, free: 6.055 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.001468/1.245, allocations: 0.6606 MB / 1.374 GB, free: 5.621 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.005197/1.251, allocations: 2.213 MB / 1.376 GB, free: 4.242 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 7.524e-06/1.251, allocations: 1.375 kB / 1.376 GB, free: 4.242 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.404e-06/1.251, allocations: 0 / 1.376 GB, free: 4.242 MB / 1.045 GB Notification: Performance of Transformations before backend: time 4.686e-05/1.251, allocations: 0 / 1.376 GB, free: 4.242 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: 226 * Number of variables: 226 Notification: Performance of Generate backend data structure: time 0.005775/1.256, allocations: 2.019 MB / 1.378 GB, free: 2.73 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.577e-05/1.256, allocations: 7.406 kB / 1.378 GB, free: 2.73 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001723/1.257, allocations: 139.9 kB / 1.378 GB, free: 2.617 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005252/1.262, allocations: 0.9057 MB / 1.379 GB, free: 2.195 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00202/1.264, allocations: 0.9727 MB / 1.38 GB, free: 1.441 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.015e-05/1.264, allocations: 74.52 kB / 1.38 GB, free: 1.406 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00019/1.264, allocations: 95.92 kB / 1.38 GB, free: 1.371 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003562/1.268, allocations: 1.583 MB / 1.381 GB, free: 444 kB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.45e-05/1.268, allocations: 6.281 kB / 1.381 GB, free: 440 kB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001033/1.268, allocations: 31.75 kB / 1.381 GB, free: 416 kB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.465e-05/1.268, allocations: 47.73 kB / 1.382 GB, free: 408 kB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005091/1.273, allocations: 1.846 MB / 1.383 GB, free: 15.5 MB / 1.061 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.007918/1.281, allocations: 4.746 MB / 1.388 GB, free: 11.77 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004489/1.286, allocations: 1.571 MB / 1.389 GB, free: 11 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002361/1.288, allocations: 0.8618 MB / 1.39 GB, free: 10.59 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00141/1.289, allocations: 0.9422 MB / 1.391 GB, free: 9.578 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00237/1.292, allocations: 0.9187 MB / 1.392 GB, free: 9.047 MB / 1.061 GB Notification: Performance of pre-optimization done (n=95): time 3.817e-06/1.292, allocations: 2.969 kB / 1.392 GB, free: 9.047 MB / 1.061 GB Notification: Performance of matching and sorting (n=95): time 0.007639/1.299, allocations: 2.456 MB / 1.395 GB, free: 7.871 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.371e-05/1.3, allocations: 65.88 kB / 1.395 GB, free: 7.805 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001627/1.301, allocations: 1.195 MB / 1.396 GB, free: 7.199 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 0.0001407/1.301, allocations: 49.05 kB / 1.396 GB, free: 7.152 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004407/1.302, allocations: 0.5478 MB / 1.396 GB, free: 6.668 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003436/1.302, allocations: 343.8 kB / 1.397 GB, free: 6.371 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000362/1.302, allocations: 189 kB / 1.397 GB, free: 6.258 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001184/1.303, allocations: 341.8 kB / 1.397 GB, free: 5.926 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00212/1.305, allocations: 0.6957 MB / 1.398 GB, free: 5.594 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002293/1.307, allocations: 0.9139 MB / 1.399 GB, free: 5.027 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004293/1.311, allocations: 1.549 MB / 1.4 GB, free: 4.16 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.094e-05/1.311, allocations: 6.562 kB / 1.4 GB, free: 4.156 MB / 1.061 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.005613/1.317, allocations: 1.794 MB / 1.402 GB, free: 2.629 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 3.12e-05/1.317, allocations: 4 kB / 1.402 GB, free: 2.625 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.771e-05/1.317, allocations: 4 kB / 1.402 GB, free: 2.621 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.455e-05/1.317, allocations: 12 kB / 1.402 GB, free: 2.609 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001818/1.319, allocations: 335.9 kB / 1.402 GB, free: 2.281 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.001e-05/1.319, allocations: 15.94 kB / 1.402 GB, free: 2.266 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001804/1.321, allocations: 235 kB / 1.403 GB, free: 2.035 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000153/1.321, allocations: 43.98 kB / 1.403 GB, free: 1.992 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (121): * Single equations (assignments): 121 * 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.0006461/1.322, allocations: 335.7 kB / 1.403 GB, free: 1.656 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003457/1.322, allocations: 143.1 kB / 1.403 GB, free: 1.516 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005211/1.327, allocations: 1.815 MB / 1.405 GB, free: 15.69 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.025e-05/1.327, allocations: 11.94 kB / 1.405 GB, free: 15.68 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.153e-06/1.327, allocations: 0.875 kB / 1.405 GB, free: 15.68 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.297e-06/1.327, allocations: 3.984 kB / 1.405 GB, free: 15.68 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007738/1.335, allocations: 3.321 MB / 1.408 GB, free: 12.25 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.046e-05/1.335, allocations: 4 kB / 1.408 GB, free: 12.25 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001652/1.337, allocations: 284.1 kB / 1.408 GB, free: 11.97 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.086e-05/1.337, allocations: 8 kB / 1.408 GB, free: 11.96 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000129/1.337, allocations: 36.78 kB / 1.408 GB, free: 11.93 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.506e-05/1.337, allocations: 11.94 kB / 1.408 GB, free: 11.91 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.752e-06/1.337, allocations: 4 kB / 1.408 GB, free: 11.91 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007752/1.345, allocations: 2.848 MB / 1.411 GB, free: 9 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009751/1.346, allocations: 331.9 kB / 1.412 GB, free: 8.656 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003949/1.346, allocations: 24.08 kB / 1.412 GB, free: 8.633 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001594/1.348, allocations: 160.3 kB / 1.412 GB, free: 8.477 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001703/1.348, allocations: 72.45 kB / 1.412 GB, free: 8.406 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001146/1.348, allocations: 43.95 kB / 1.412 GB, free: 8.363 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.001317/1.349, allocations: 0.8354 MB / 1.413 GB, free: 7.523 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.3e-07/1.349, allocations: 0 / 1.413 GB, free: 7.523 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.001461/1.351, allocations: 339.7 kB / 1.413 GB, free: 7.191 MB / 1.076 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 6 (heaHigPow.T,heaHigPow.Xi,cooLimPow.T,cooLimPow.Xi,heaCooUnl.T,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 (95): * Single equations (assignments): 89 * 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.00917/1.36, allocations: 3.842 MB / 1.417 GB, free: 3.449 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.004838/1.365, allocations: 1.638 MB / 1.418 GB, free: 1.812 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 6.623e-06/1.365, allocations: 0 / 1.418 GB, free: 1.812 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.002374/1.367, allocations: 0.8399 MB / 1.419 GB, free: 0.9727 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003201/1.37, allocations: 0.6197 MB / 1.42 GB, free: 376 kB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02564/1.396, allocations: 12.08 MB / 1.432 GB, free: 3.953 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009675/1.397, allocations: 1.179 MB / 1.433 GB, free: 2.746 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.001636/1.399, allocations: 366 kB / 1.433 GB, free: 2.387 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009172/1.4, allocations: 0.5031 MB / 1.434 GB, free: 1.883 MB / 1.092 GB Notification: Performance of SimCode: time 1.834e-06/1.4, allocations: 4 kB / 1.434 GB, free: 1.879 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06916/1.469, allocations: 35.69 MB / 1.468 GB, free: 14.61 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.34/11.81, allocations: 19.78 kB / 1.468 GB, free: 14.59 MB / 1.139 GB (rm -f Buildings_10_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; mkfifo Buildings_10_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe >> ../files/Buildings_10_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_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.fmu > Buildings_10_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Interfaces_Examples_PrescribedOutlet.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches