Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001578/0.001578, allocations: 120.9 kB / 17.16 MB, free: 5.914 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001726/0.001726, allocations: 208 kB / 20.13 MB, free: 2.969 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.502/1.502, allocations: 230.6 MB / 253.5 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.93/2.93, allocations: 0.49 GB / 0.7923 GB, free: 1.293 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly,fileNamePrefix="Buildings_12_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly,fileNamePrefix="Buildings_12_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002057/0.002057, allocations: 63.91 kB / 1.15 GB, free: 14.45 MB / 0.8887 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9025/0.9045, allocations: 176.1 MB / 1.322 GB, free: 7.645 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly): time 0.2799/1.184, allocations: 245.7 MB / 1.561 GB, free: 15.52 MB / 1.248 GB Notification: Performance of NFInst.instExpressions: time 0.0141/1.199, allocations: 8.526 MB / 1.57 GB, free: 6.977 MB / 1.248 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001777/1.2, allocations: 99.12 kB / 1.57 GB, free: 6.879 MB / 1.248 GB Notification: Performance of NFTyping.typeComponents: time 0.002477/1.203, allocations: 1.08 MB / 1.571 GB, free: 5.793 MB / 1.248 GB Notification: Performance of NFTyping.typeBindings: time 0.007815/1.211, allocations: 3.232 MB / 1.574 GB, free: 2.547 MB / 1.248 GB Notification: Performance of NFTyping.typeClassSections: time 0.008445/1.219, allocations: 3.503 MB / 1.578 GB, free: 15.04 MB / 1.264 GB Notification: Performance of NFFlatten.flatten: time 0.008049/1.227, allocations: 3.948 MB / 1.581 GB, free: 11.07 MB / 1.264 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002802/1.23, allocations: 1.158 MB / 1.583 GB, free: 9.883 MB / 1.264 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005792/1.236, allocations: 2.308 MB / 1.585 GB, free: 7.566 MB / 1.264 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002766/1.238, allocations: 1.432 MB / 1.586 GB, free: 6.129 MB / 1.264 GB Notification: Performance of NFPackage.collectConstants: time 0.0005644/1.239, allocations: 128 kB / 1.586 GB, free: 6.004 MB / 1.264 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008099/1.247, allocations: 4.173 MB / 1.59 GB, free: 1.82 MB / 1.264 GB Notification: Performance of NFScalarize.scalarize: time 0.001166/1.248, allocations: 0.6033 MB / 1.591 GB, free: 1.215 MB / 1.264 GB Notification: Performance of NFVerifyModel.verify: time 0.002417/1.251, allocations: 0.9908 MB / 1.592 GB, free: 224 kB / 1.264 GB Notification: Performance of NFConvertDAE.convert: time 0.009787/1.26, allocations: 3.869 MB / 1.596 GB, free: 12.34 MB / 1.279 GB Notification: Performance of FrontEnd - DAE generated: time 7.494e-06/1.26, allocations: 0 / 1.596 GB, free: 12.34 MB / 1.279 GB Notification: Performance of FrontEnd: time 4.899e-06/1.26, allocations: 4 kB / 1.596 GB, free: 12.33 MB / 1.279 GB Notification: Performance of Transformations before backend: time 0.0001132/1.261, allocations: 0 / 1.596 GB, free: 12.33 MB / 1.279 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 334 * Number of variables: 334 Notification: Performance of Generate backend data structure: time 0.007551/1.268, allocations: 2.733 MB / 1.598 GB, free: 9.527 MB / 1.279 GB Notification: Performance of prepare preOptimizeDAE: time 5.203e-05/1.268, allocations: 15.98 kB / 1.598 GB, free: 9.512 MB / 1.279 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.933e-05/1.268, allocations: 30.56 kB / 1.598 GB, free: 9.48 MB / 1.279 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002699/1.269, allocations: 194.4 kB / 1.599 GB, free: 9.281 MB / 1.279 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007233/1.276, allocations: 1.095 MB / 1.6 GB, free: 8.184 MB / 1.279 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002779/1.279, allocations: 1.272 MB / 1.601 GB, free: 6.859 MB / 1.279 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001008/1.279, allocations: 102.5 kB / 1.601 GB, free: 6.758 MB / 1.279 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002425/1.279, allocations: 139.9 kB / 1.601 GB, free: 6.621 MB / 1.279 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00415/1.283, allocations: 1.976 MB / 1.603 GB, free: 4.5 MB / 1.279 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.076e-05/1.283, allocations: 7.938 kB / 1.603 GB, free: 4.492 MB / 1.279 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001458/1.283, allocations: 59.92 kB / 1.603 GB, free: 4.434 MB / 1.279 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.808e-05/1.283, allocations: 66.3 kB / 1.603 GB, free: 4.367 MB / 1.279 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004901/1.288, allocations: 1.867 MB / 1.605 GB, free: 2.492 MB / 1.279 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01184/1.3, allocations: 9.175 MB / 1.614 GB, free: 8.688 MB / 1.295 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004428/1.304, allocations: 1.542 MB / 1.615 GB, free: 7.141 MB / 1.295 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002006/1.306, allocations: 0.7475 MB / 1.616 GB, free: 6.395 MB / 1.295 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009584/1.307, allocations: 0.5854 MB / 1.617 GB, free: 5.699 MB / 1.295 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002265/1.31, allocations: 0.8598 MB / 1.618 GB, free: 4.824 MB / 1.295 GB Notification: Performance of pre-optimization done (n=104): time 3.096e-06/1.31, allocations: 4 kB / 1.618 GB, free: 4.82 MB / 1.295 GB Notification: Performance of matching and sorting (n=104): time 0.006879/1.317, allocations: 2.322 MB / 1.62 GB, free: 2.492 MB / 1.295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.446e-05/1.317, allocations: 60.41 kB / 1.62 GB, free: 2.422 MB / 1.295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002418/1.319, allocations: 1.701 MB / 1.622 GB, free: 0.6719 MB / 1.295 GB Notification: Performance of collectPreVariables (initialization): time 0.0001614/1.319, allocations: 45.7 kB / 1.622 GB, free: 0.6211 MB / 1.295 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007472/1.32, allocations: 0.8596 MB / 1.622 GB, free: 15.75 MB / 1.311 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004294/1.32, allocations: 380.8 kB / 1.623 GB, free: 15.38 MB / 1.311 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004125/1.321, allocations: 238.8 kB / 1.623 GB, free: 15.14 MB / 1.311 GB Notification: Performance of setup shared object (initialization): time 0.0001666/1.321, allocations: 357.9 kB / 1.623 GB, free: 14.79 MB / 1.311 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001925/1.323, allocations: 0.6622 MB / 1.624 GB, free: 14.12 MB / 1.311 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002316/1.325, allocations: 1.055 MB / 1.625 GB, free: 12.91 MB / 1.311 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004258/1.329, allocations: 1.715 MB / 1.627 GB, free: 11.04 MB / 1.311 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.876e-06/1.329, allocations: 0 / 1.627 GB, free: 11.04 MB / 1.311 GB Notification: Performance of matching and sorting (n=157) (initialization): time 0.005161/1.335, allocations: 1.925 MB / 1.629 GB, free: 9.105 MB / 1.311 GB Notification: Performance of prepare postOptimizeDAE: time 2.835e-05/1.335, allocations: 8 kB / 1.629 GB, free: 9.098 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.83e-05/1.335, allocations: 12 kB / 1.629 GB, free: 9.086 MB / 1.311 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.526e-05/1.335, allocations: 19.98 kB / 1.629 GB, free: 9.066 MB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001829/1.337, allocations: 367.9 kB / 1.629 GB, free: 8.707 MB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.953e-05/1.337, allocations: 19.94 kB / 1.629 GB, free: 8.688 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001858/1.338, allocations: 254.6 kB / 1.629 GB, free: 8.438 MB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001532/1.339, allocations: 67.91 kB / 1.629 GB, free: 8.371 MB / 1.311 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * 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 (157): * Single equations (assignments): 157 * 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.0007344/1.339, allocations: 403.5 kB / 1.63 GB, free: 7.969 MB / 1.311 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003857/1.34, allocations: 198.7 kB / 1.63 GB, free: 7.773 MB / 1.311 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004934/1.345, allocations: 1.781 MB / 1.632 GB, free: 5.988 MB / 1.311 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.314e-05/1.345, allocations: 12 kB / 1.632 GB, free: 5.977 MB / 1.311 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/1.345, allocations: 4 kB / 1.632 GB, free: 5.973 MB / 1.311 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.193e-05/1.345, allocations: 3.984 kB / 1.632 GB, free: 5.969 MB / 1.311 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00842/1.353, allocations: 3.941 MB / 1.636 GB, free: 1.867 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.18e-05/1.353, allocations: 11.94 kB / 1.636 GB, free: 1.855 MB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001542/1.355, allocations: 267.6 kB / 1.636 GB, free: 1.594 MB / 1.311 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.67e-05/1.355, allocations: 12 kB / 1.636 GB, free: 1.582 MB / 1.311 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001071/1.355, allocations: 35.97 kB / 1.636 GB, free: 1.547 MB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-05/1.355, allocations: 19.92 kB / 1.636 GB, free: 1.527 MB / 1.311 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.054e-05/1.355, allocations: 11.94 kB / 1.636 GB, free: 1.516 MB / 1.311 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007087/1.362, allocations: 2.872 MB / 1.639 GB, free: 14.54 MB / 1.326 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009304/1.363, allocations: 399.4 kB / 1.639 GB, free: 14.12 MB / 1.326 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003955/1.363, allocations: 31.98 kB / 1.639 GB, free: 14.09 MB / 1.326 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001651/1.365, allocations: 119.9 kB / 1.639 GB, free: 13.98 MB / 1.326 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000214/1.365, allocations: 88.44 kB / 1.639 GB, free: 13.89 MB / 1.326 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001184/1.365, allocations: 43.97 kB / 1.639 GB, free: 13.85 MB / 1.326 GB Notification: Performance of sorting global known variables: time 0.001907/1.367, allocations: 1.151 MB / 1.64 GB, free: 12.67 MB / 1.326 GB Notification: Performance of sort global known variables: time 2.5e-07/1.367, allocations: 0 / 1.64 GB, free: 12.67 MB / 1.326 GB Notification: Performance of remove unused functions: time 0.001768/1.369, allocations: 475.4 kB / 1.641 GB, free: 12.21 MB / 1.326 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 29 * 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 (104): * Single equations (assignments): 98 * 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.009568/1.378, allocations: 3.903 MB / 1.645 GB, free: 8.355 MB / 1.326 GB Notification: Performance of simCode: created initialization part: time 0.004819/1.383, allocations: 1.562 MB / 1.646 GB, free: 6.793 MB / 1.326 GB Notification: Performance of simCode: created event and clocks part: time 1.108e-05/1.383, allocations: 8.062 kB / 1.646 GB, free: 6.785 MB / 1.326 GB Notification: Performance of simCode: created simulation system equations: time 0.002322/1.386, allocations: 0.7662 MB / 1.647 GB, free: 6.02 MB / 1.326 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004902/1.39, allocations: 0.926 MB / 1.648 GB, free: 5.105 MB / 1.326 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03188/1.422, allocations: 15.02 MB / 1.663 GB, free: 5.375 MB / 1.342 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001197/1.424, allocations: 1.371 MB / 1.664 GB, free: 3.973 MB / 1.342 GB Notification: Performance of simCode: alias equations: time 0.001742/1.425, allocations: 462.6 kB / 1.664 GB, free: 3.516 MB / 1.342 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001161/1.426, allocations: 0.7179 MB / 1.665 GB, free: 2.797 MB / 1.342 GB Notification: Performance of SimCode: time 1.042e-06/1.426, allocations: 0 / 1.665 GB, free: 2.797 MB / 1.342 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1161/1.543, allocations: 49.34 MB / 1.713 GB, free: 2.059 MB / 1.389 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.81/13.35, allocations: 18.38 kB / 1.713 GB, free: 2.043 MB / 1.389 GB " [Timeout remaining time 286] (rm -f Buildings_12_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe ; mkfifo Buildings_12_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe >> ../files/Buildings_12_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly_fmu --startTime=0 --stopTime=1200 --stepSize=0.48 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly.fmu > Buildings_12_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 20.015091447974555]