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.001305/0.001305, allocations: 116.4 kB / 17.17 MB, free: 5.883 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.001377/0.001377, allocations: 211 kB / 20.13 MB, free: 2.941 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.445/1.445, allocations: 230.6 MB / 253.5 MB, free: 15.09 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.897/2.897, allocations: 0.49 GB / 0.7923 GB, free: 1.328 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly,fileNamePrefix="Buildings_12_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly",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.002054/0.002054, allocations: 67.91 kB / 1.15 GB, free: 15.32 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9948/0.9969, allocations: 176.1 MB / 1.322 GB, free: 24.68 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly): time 0.3041/1.301, allocations: 245.7 MB / 1.561 GB, free: 3.359 MB / 1.232 GB Notification: Performance of NFInst.instExpressions: time 0.01603/1.317, allocations: 8.528 MB / 1.57 GB, free: 10.81 MB / 1.248 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00249/1.32, allocations: 95.12 kB / 1.57 GB, free: 10.72 MB / 1.248 GB Notification: Performance of NFTyping.typeComponents: time 0.003277/1.323, allocations: 1.08 MB / 1.571 GB, free: 9.633 MB / 1.248 GB Notification: Performance of NFTyping.typeBindings: time 0.009062/1.332, allocations: 3.236 MB / 1.574 GB, free: 6.383 MB / 1.248 GB Notification: Performance of NFTyping.typeClassSections: time 0.009171/1.341, allocations: 3.501 MB / 1.578 GB, free: 2.875 MB / 1.248 GB Notification: Performance of NFFlatten.flatten: time 0.00701/1.348, allocations: 3.932 MB / 1.581 GB, free: 14.93 MB / 1.264 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004206/1.352, allocations: 1.162 MB / 1.582 GB, free: 13.73 MB / 1.264 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008835/1.361, allocations: 2.301 MB / 1.585 GB, free: 11.42 MB / 1.264 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003351/1.364, allocations: 1.447 MB / 1.586 GB, free: 9.969 MB / 1.264 GB Notification: Performance of NFPackage.collectConstants: time 0.0007897/1.365, allocations: 128 kB / 1.586 GB, free: 9.844 MB / 1.264 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00947/1.375, allocations: 4.177 MB / 1.59 GB, free: 5.656 MB / 1.264 GB Notification: Performance of NFScalarize.scalarize: time 0.001265/1.376, allocations: 0.6073 MB / 1.591 GB, free: 5.047 MB / 1.264 GB Notification: Performance of NFVerifyModel.verify: time 0.002376/1.378, allocations: 0.9947 MB / 1.592 GB, free: 4.047 MB / 1.264 GB Notification: Performance of NFConvertDAE.convert: time 0.01156/1.39, allocations: 3.885 MB / 1.596 GB, free: 152 kB / 1.264 GB Notification: Performance of FrontEnd - DAE generated: time 7.094e-06/1.39, allocations: 0 / 1.596 GB, free: 152 kB / 1.264 GB Notification: Performance of FrontEnd: time 2.084e-06/1.39, allocations: 0 / 1.596 GB, free: 152 kB / 1.264 GB Notification: Performance of Transformations before backend: time 0.0001287/1.39, allocations: 0 / 1.596 GB, free: 152 kB / 1.264 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.008809/1.399, allocations: 2.737 MB / 1.598 GB, free: 13.34 MB / 1.279 GB Notification: Performance of prepare preOptimizeDAE: time 5.515e-05/1.399, allocations: 11.98 kB / 1.598 GB, free: 13.32 MB / 1.279 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.022e-05/1.399, allocations: 38.56 kB / 1.598 GB, free: 13.29 MB / 1.279 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004561/1.399, allocations: 190.4 kB / 1.599 GB, free: 13.09 MB / 1.279 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008052/1.407, allocations: 1.138 MB / 1.6 GB, free: 11.95 MB / 1.279 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004046/1.412, allocations: 1.283 MB / 1.601 GB, free: 10.61 MB / 1.279 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001393/1.412, allocations: 98.56 kB / 1.601 GB, free: 10.52 MB / 1.279 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005255/1.412, allocations: 139.9 kB / 1.601 GB, free: 10.38 MB / 1.279 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005571/1.418, allocations: 1.963 MB / 1.603 GB, free: 8.289 MB / 1.279 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.703e-05/1.418, allocations: 4 kB / 1.603 GB, free: 8.285 MB / 1.279 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002712/1.418, allocations: 55.98 kB / 1.603 GB, free: 8.23 MB / 1.279 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.154e-05/1.418, allocations: 66.34 kB / 1.603 GB, free: 8.164 MB / 1.279 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005984/1.424, allocations: 1.886 MB / 1.605 GB, free: 6.27 MB / 1.279 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01574/1.44, allocations: 8.669 MB / 1.614 GB, free: 13.02 MB / 1.295 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004755/1.445, allocations: 1.451 MB / 1.615 GB, free: 11.56 MB / 1.295 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002244/1.447, allocations: 0.7424 MB / 1.616 GB, free: 10.82 MB / 1.295 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001592/1.448, allocations: 0.9531 MB / 1.617 GB, free: 9.684 MB / 1.295 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002736/1.451, allocations: 0.8716 MB / 1.617 GB, free: 8.797 MB / 1.295 GB Notification: Performance of pre-optimization done (n=106): time 5.571e-06/1.451, allocations: 0 / 1.617 GB, free: 8.797 MB / 1.295 GB Notification: Performance of matching and sorting (n=106): time 0.008/1.459, allocations: 2.4 MB / 1.62 GB, free: 6.391 MB / 1.295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.89e-05/1.459, allocations: 64.41 kB / 1.62 GB, free: 6.316 MB / 1.295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003212/1.463, allocations: 1.738 MB / 1.622 GB, free: 4.531 MB / 1.295 GB Notification: Performance of collectPreVariables (initialization): time 0.0002143/1.463, allocations: 49.69 kB / 1.622 GB, free: 4.477 MB / 1.295 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009329/1.464, allocations: 0.8405 MB / 1.622 GB, free: 3.629 MB / 1.295 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005757/1.464, allocations: 384.7 kB / 1.623 GB, free: 3.25 MB / 1.295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005315/1.465, allocations: 238.9 kB / 1.623 GB, free: 3.012 MB / 1.295 GB Notification: Performance of setup shared object (initialization): time 0.0002061/1.465, allocations: 357.9 kB / 1.623 GB, free: 2.656 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00197/1.467, allocations: 0.6739 MB / 1.624 GB, free: 1.98 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002394/1.469, allocations: 1.053 MB / 1.625 GB, free: 0.7695 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004347/1.474, allocations: 1.714 MB / 1.627 GB, free: 14.91 MB / 1.311 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.674e-05/1.474, allocations: 4 kB / 1.627 GB, free: 14.91 MB / 1.311 GB Notification: Performance of matching and sorting (n=157) (initialization): time 0.005448/1.479, allocations: 1.929 MB / 1.629 GB, free: 12.97 MB / 1.311 GB Notification: Performance of prepare postOptimizeDAE: time 3.619e-05/1.479, allocations: 17.56 kB / 1.629 GB, free: 12.95 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.211e-05/1.479, allocations: 8 kB / 1.629 GB, free: 12.95 MB / 1.311 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.505e-05/1.479, allocations: 20 kB / 1.629 GB, free: 12.93 MB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001893/1.481, allocations: 359.4 kB / 1.629 GB, free: 12.57 MB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.349e-05/1.481, allocations: 27.86 kB / 1.629 GB, free: 12.55 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001995/1.483, allocations: 254.6 kB / 1.629 GB, free: 12.3 MB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00019/1.483, allocations: 67.97 kB / 1.629 GB, free: 12.23 MB / 1.311 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.0008793/1.484, allocations: 399.5 kB / 1.63 GB, free: 11.83 MB / 1.311 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005605/1.485, allocations: 206.7 kB / 1.63 GB, free: 11.63 MB / 1.311 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005261/1.49, allocations: 1.817 MB / 1.632 GB, free: 9.809 MB / 1.311 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.369e-05/1.49, allocations: 8 kB / 1.632 GB, free: 9.801 MB / 1.311 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.758e-06/1.49, allocations: 0 / 1.632 GB, free: 9.801 MB / 1.311 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.406e-05/1.49, allocations: 7.984 kB / 1.632 GB, free: 9.793 MB / 1.311 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009515/1.5, allocations: 4.001 MB / 1.636 GB, free: 5.637 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.177e-05/1.5, allocations: 8.094 kB / 1.636 GB, free: 5.629 MB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001645/1.501, allocations: 276.2 kB / 1.636 GB, free: 5.359 MB / 1.311 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.273e-05/1.501, allocations: 11.94 kB / 1.636 GB, free: 5.348 MB / 1.311 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001474/1.501, allocations: 35.97 kB / 1.636 GB, free: 5.312 MB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.815e-05/1.501, allocations: 19.92 kB / 1.636 GB, free: 5.293 MB / 1.311 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.269e-05/1.501, allocations: 15.92 kB / 1.636 GB, free: 5.277 MB / 1.311 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007287/1.509, allocations: 2.919 MB / 1.639 GB, free: 2.254 MB / 1.311 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001031/1.51, allocations: 407.4 kB / 1.639 GB, free: 1.836 MB / 1.311 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004654/1.51, allocations: 24 kB / 1.639 GB, free: 1.812 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001746/1.512, allocations: 127.9 kB / 1.639 GB, free: 1.688 MB / 1.311 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002464/1.512, allocations: 84.44 kB / 1.639 GB, free: 1.605 MB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001362/1.512, allocations: 51.97 kB / 1.639 GB, free: 1.555 MB / 1.311 GB Notification: Performance of sorting global known variables: time 0.002124/1.515, allocations: 1.188 MB / 1.641 GB, free: 352 kB / 1.311 GB Notification: Performance of sort global known variables: time 1.1e-07/1.515, allocations: 0 / 1.641 GB, free: 352 kB / 1.311 GB Notification: Performance of remove unused functions: time 0.00183/1.516, allocations: 475.5 kB / 1.641 GB, free: 15.88 MB / 1.326 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 (106): * Single equations (assignments): 100 * 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.009755/1.526, allocations: 3.953 MB / 1.645 GB, free: 11.97 MB / 1.326 GB Notification: Performance of simCode: created initialization part: time 0.005172/1.531, allocations: 1.585 MB / 1.647 GB, free: 10.39 MB / 1.326 GB Notification: Performance of simCode: created event and clocks part: time 1.093e-05/1.531, allocations: 4 kB / 1.647 GB, free: 10.38 MB / 1.326 GB Notification: Performance of simCode: created simulation system equations: time 0.002506/1.534, allocations: 0.7859 MB / 1.647 GB, free: 9.598 MB / 1.326 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005554/1.539, allocations: 0.9694 MB / 1.648 GB, free: 8.641 MB / 1.326 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03445/1.574, allocations: 14.76 MB / 1.663 GB, free: 9.184 MB / 1.342 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001325/1.575, allocations: 1.368 MB / 1.664 GB, free: 7.789 MB / 1.342 GB Notification: Performance of simCode: alias equations: time 0.002091/1.577, allocations: 479 kB / 1.664 GB, free: 7.316 MB / 1.342 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001298/1.579, allocations: 0.7258 MB / 1.665 GB, free: 6.59 MB / 1.342 GB Notification: Performance of SimCode: time 1.323e-06/1.579, allocations: 0 / 1.665 GB, free: 6.59 MB / 1.342 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1035/1.682, allocations: 50.89 MB / 1.715 GB, free: 4.316 MB / 1.389 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.44/14.12, allocations: 8.047 kB / 1.715 GB, free: 4.309 MB / 1.389 GB " [Timeout remaining time 286] (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: 20.771846399002243]