Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.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.001652/0.001652, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.00206/0.00206, allocations: 215.2 kB / 22.25 MB, free: 5.082 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.506/1.506, allocations: 230.6 MB / 256 MB, free: 8.027 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 3.195/3.195, allocations: 0.49 GB / 0.7951 GB, free: 33.45 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_TSetOnly,fileNamePrefix="Buildings_12_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly,fileNamePrefix="Buildings_12_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly",fmuType="me",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.002129/0.002129, allocations: 72.36 kB / 1.154 GB, free: 25.68 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3715/0.3736, allocations: 176.1 MB / 1.326 GB, free: 1.91 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly): time 0.3243/0.6979, allocations: 246.4 MB / 1.567 GB, free: 10.57 MB / 1.264 GB Notification: Performance of NFInst.instExpressions: time 0.01757/0.7155, allocations: 8.568 MB / 1.575 GB, free: 1.98 MB / 1.264 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003567/0.7191, allocations: 99.06 kB / 1.575 GB, free: 1.883 MB / 1.264 GB Notification: Performance of NFTyping.typeComponents: time 0.003794/0.7229, allocations: 1.076 MB / 1.576 GB, free: 0.8008 MB / 1.264 GB Notification: Performance of NFTyping.typeBindings: time 0.01064/0.7335, allocations: 3.271 MB / 1.579 GB, free: 13.51 MB / 1.279 GB Notification: Performance of NFTyping.typeClassSections: time 0.01075/0.7443, allocations: 3.608 MB / 1.583 GB, free: 9.898 MB / 1.279 GB Notification: Performance of NFFlatten.flatten: time 0.00901/0.7533, allocations: 3.975 MB / 1.587 GB, free: 5.91 MB / 1.279 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003076/0.7563, allocations: 1.1 MB / 1.588 GB, free: 4.777 MB / 1.279 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00639/0.7627, allocations: 2.32 MB / 1.59 GB, free: 2.449 MB / 1.279 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003514/0.7662, allocations: 1.447 MB / 1.591 GB, free: 0.9961 MB / 1.279 GB Notification: Performance of NFPackage.collectConstants: time 0.001031/0.7673, allocations: 128 kB / 1.592 GB, free: 0.8711 MB / 1.279 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01011/0.7774, allocations: 4.271 MB / 1.596 GB, free: 12.59 MB / 1.295 GB Notification: Performance of NFScalarize.scalarize: time 0.001299/0.7787, allocations: 0.6151 MB / 1.596 GB, free: 11.97 MB / 1.295 GB Notification: Performance of NFVerifyModel.verify: time 0.002517/0.7812, allocations: 0.9908 MB / 1.597 GB, free: 10.98 MB / 1.295 GB Notification: Performance of NFConvertDAE.convert: time 0.01231/0.7935, allocations: 3.889 MB / 1.601 GB, free: 7.074 MB / 1.295 GB Notification: Performance of FrontEnd - DAE generated: time 9.769e-06/0.7935, allocations: 0 / 1.601 GB, free: 7.074 MB / 1.295 GB Notification: Performance of FrontEnd: time 2.545e-06/0.7935, allocations: 0 / 1.601 GB, free: 7.074 MB / 1.295 GB Notification: Performance of Transformations before backend: time 0.0001453/0.7937, allocations: 3.938 kB / 1.601 GB, free: 7.07 MB / 1.295 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.008461/0.8021, allocations: 2.654 MB / 1.604 GB, free: 4.363 MB / 1.295 GB Notification: Performance of prepare preOptimizeDAE: time 4.833e-05/0.8022, allocations: 8.031 kB / 1.604 GB, free: 4.355 MB / 1.295 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003901/0.8026, allocations: 198.4 kB / 1.604 GB, free: 4.152 MB / 1.295 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00752/0.8101, allocations: 1.138 MB / 1.605 GB, free: 3.012 MB / 1.295 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00341/0.8135, allocations: 1.176 MB / 1.606 GB, free: 1.789 MB / 1.295 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001428/0.8136, allocations: 98.55 kB / 1.606 GB, free: 1.691 MB / 1.295 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004933/0.8141, allocations: 132 kB / 1.606 GB, free: 1.562 MB / 1.295 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.8209/1.635, allocations: 1.951 MB / 1.608 GB, free: 280.6 MB / 1.295 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.789e-05/1.635, allocations: 8.641 kB / 1.608 GB, free: 280.6 MB / 1.295 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001488/1.635, allocations: 58.52 kB / 1.608 GB, free: 280.6 MB / 1.295 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001326/1.635, allocations: 63.34 kB / 1.608 GB, free: 280.6 MB / 1.295 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006033/1.641, allocations: 1.888 MB / 1.61 GB, free: 280.6 MB / 1.295 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01257/1.654, allocations: 8.592 MB / 1.619 GB, free: 274.5 MB / 1.295 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004271/1.658, allocations: 1.46 MB / 1.62 GB, free: 274.2 MB / 1.295 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00198/1.66, allocations: 0.7529 MB / 1.621 GB, free: 274 MB / 1.295 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001074/1.661, allocations: 201.3 kB / 1.621 GB, free: 273.9 MB / 1.295 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002306/1.664, allocations: 0.8774 MB / 1.622 GB, free: 273.7 MB / 1.295 GB Notification: Performance of pre-optimization done (n=106): time 3.928e-06/1.664, allocations: 3.719 kB / 1.622 GB, free: 273.7 MB / 1.295 GB Notification: Performance of matching and sorting (n=106): time 0.00806/1.672, allocations: 2.393 MB / 1.624 GB, free: 273 MB / 1.295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.529e-05/1.672, allocations: 63.62 kB / 1.624 GB, free: 272.9 MB / 1.295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003587/1.675, allocations: 1.741 MB / 1.626 GB, free: 272.3 MB / 1.295 GB Notification: Performance of collectPreVariables (initialization): time 0.0001969/1.676, allocations: 48.67 kB / 1.626 GB, free: 272.2 MB / 1.295 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007274/1.676, allocations: 0.8456 MB / 1.627 GB, free: 271.6 MB / 1.295 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003974/1.677, allocations: 385.9 kB / 1.627 GB, free: 271.4 MB / 1.295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004359/1.677, allocations: 237 kB / 1.627 GB, free: 271.3 MB / 1.295 GB Notification: Performance of setup shared object (initialization): time 0.0001123/1.677, allocations: 355.8 kB / 1.628 GB, free: 271 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001889/1.679, allocations: 0.6765 MB / 1.628 GB, free: 270.8 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002098/1.681, allocations: 1.052 MB / 1.629 GB, free: 270.2 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003836/1.685, allocations: 1.715 MB / 1.631 GB, free: 269.3 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.067e-05/1.685, allocations: 3.688 kB / 1.631 GB, free: 269.3 MB / 1.295 GB Notification: Performance of matching and sorting (n=157) (initialization): time 0.005185/1.69, allocations: 1.931 MB / 1.633 GB, free: 268.6 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 3.595e-05/1.69, allocations: 12.05 kB / 1.633 GB, free: 268.6 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.223e-05/1.69, allocations: 12.5 kB / 1.633 GB, free: 268.6 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.78e-05/1.69, allocations: 16.72 kB / 1.633 GB, free: 268.6 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001802/1.692, allocations: 362.4 kB / 1.633 GB, free: 268.6 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.182e-05/1.692, allocations: 22.97 kB / 1.633 GB, free: 268.6 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002074/1.694, allocations: 259.2 kB / 1.634 GB, free: 268.5 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001419/1.694, allocations: 67.3 kB / 1.634 GB, free: 268.5 MB / 1.295 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * 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.0008512/1.695, allocations: 401.2 kB / 1.634 GB, free: 268.3 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003738/1.696, allocations: 204 kB / 1.634 GB, free: 268.2 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00476/1.7, allocations: 1.852 MB / 1.636 GB, free: 267.6 MB / 1.295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.815e-05/1.7, allocations: 12 kB / 1.636 GB, free: 267.6 MB / 1.295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.304e-06/1.7, allocations: 0 / 1.636 GB, free: 267.6 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.64e-05/1.7, allocations: 4.781 kB / 1.636 GB, free: 267.6 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008197/1.709, allocations: 3.987 MB / 1.64 GB, free: 266 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.562e-05/1.709, allocations: 9.594 kB / 1.64 GB, free: 266 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001503/1.71, allocations: 279.1 kB / 1.64 GB, free: 265.9 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.897e-05/1.71, allocations: 10.28 kB / 1.64 GB, free: 265.9 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001007/1.71, allocations: 35.97 kB / 1.64 GB, free: 265.9 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-05/1.71, allocations: 14.06 kB / 1.64 GB, free: 265.9 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.558e-06/1.71, allocations: 11.41 kB / 1.64 GB, free: 265.9 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00646/1.717, allocations: 2.953 MB / 1.643 GB, free: 264.2 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001134/1.718, allocations: 336.4 kB / 1.644 GB, free: 264 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002605/1.718, allocations: 26.19 kB / 1.644 GB, free: 264 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001323/1.719, allocations: 126.5 kB / 1.644 GB, free: 263.9 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002046/1.72, allocations: 91.83 kB / 1.644 GB, free: 263.9 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001058/1.72, allocations: 48.88 kB / 1.644 GB, free: 263.9 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.001622/1.721, allocations: 1.186 MB / 1.645 GB, free: 263.2 MB / 1.295 GB Notification: Performance of sort global known variables: time 1.1e-07/1.721, allocations: 0 / 1.645 GB, free: 263.2 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.001596/1.723, allocations: 472 kB / 1.645 GB, free: 263.2 MB / 1.295 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 29 * Number of states: 3 (heaHigPow.T,cooLimPow.T,heaCooUnl.T) * 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 (109): * Single equations (assignments): 103 * 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.007513/1.73, allocations: 3.976 MB / 1.649 GB, free: 260.8 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.00382/1.734, allocations: 1.592 MB / 1.651 GB, free: 260.1 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 1.013e-05/1.734, allocations: 3.5 kB / 1.651 GB, free: 260.1 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.001758/1.736, allocations: 0.7973 MB / 1.652 GB, free: 259.7 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00423/1.74, allocations: 0.9791 MB / 1.653 GB, free: 259.2 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02108/1.761, allocations: 14.77 MB / 1.667 GB, free: 244.4 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006583/1.762, allocations: 1.376 MB / 1.668 GB, free: 243 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.001837/1.764, allocations: 470.7 kB / 1.669 GB, free: 242.5 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008699/1.765, allocations: 0.7296 MB / 1.67 GB, free: 241.8 MB / 1.295 GB Notification: Performance of SimCode: time 1.292e-06/1.765, allocations: 0 / 1.67 GB, free: 241.8 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09326/1.858, allocations: 51.91 MB / 1.72 GB, free: 190.5 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 23.78/25.64, allocations: 0 / 1.72 GB, free: 190.5 MB / 1.295 GB " [Timeout remaining time 274] (rm -f Buildings_12_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe ; mkfifo Buildings_12_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe >> ../files/Buildings_12_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly_fmu --startTime=0 --stopTime=1200 --stepSize=0.48 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly.fmu > Buildings_12_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.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: 32.78272159490734]