Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0008412/0.0008412, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0008157/0.0008157, allocations: 170.3 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.8401/0.8401, allocations: 177.1 MB / 202.8 MB, free: 5.758 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.716/1.716, allocations: 389 MB / 0.633 GB, free: 12.7 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly,fileNamePrefix="Buildings_latest_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.916e-06/2.916e-06, allocations: 3.984 kB / 0.9997 GB, free: 13.46 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.859e-05/2.15e-05, allocations: 2.281 kB / 0.9997 GB, free: 13.46 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly): time 0.5699/0.57, allocations: 214.2 MB / 1.209 GB, free: 11.17 MB / 1.057 GB Notification: Performance of NFInst.instExpressions: time 0.01039/0.5803, allocations: 8.027 MB / 1.217 GB, free: 5.656 MB / 1.057 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001141/0.5815, allocations: 91.06 kB / 1.217 GB, free: 5.605 MB / 1.057 GB Notification: Performance of NFTyping.typeComponents: time 0.002/0.5835, allocations: 1.062 MB / 1.218 GB, free: 4.781 MB / 1.057 GB Notification: Performance of NFTyping.typeBindings: time 0.005694/0.5892, allocations: 3.288 MB / 1.221 GB, free: 2.277 MB / 1.057 GB Notification: Performance of NFTyping.typeClassSections: time 0.005896/0.5951, allocations: 3.626 MB / 1.225 GB, free: 15.58 MB / 1.073 GB Notification: Performance of NFFlatten.flatten: time 0.00283/0.5979, allocations: 3.931 MB / 1.228 GB, free: 13.27 MB / 1.073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008831/0.5988, allocations: 1.038 MB / 1.229 GB, free: 12.53 MB / 1.073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002736/0.6015, allocations: 2.785 MB / 1.232 GB, free: 10.84 MB / 1.073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009234/0.6025, allocations: 1.225 MB / 1.233 GB, free: 10.21 MB / 1.073 GB Notification: Performance of NFPackage.collectConstants: time 0.0001313/0.6026, allocations: 127.9 kB / 1.234 GB, free: 10.21 MB / 1.073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004413/0.607, allocations: 3.235 MB / 1.237 GB, free: 8.375 MB / 1.073 GB Notification: Performance of NFScalarize.scalarize: time 0.0004494/0.6074, allocations: 0.6301 MB / 1.237 GB, free: 7.938 MB / 1.073 GB Notification: Performance of NFVerifyModel.verify: time 0.0005491/0.608, allocations: 0.6692 MB / 1.238 GB, free: 7.629 MB / 1.073 GB Notification: Performance of NFConvertDAE.convert: time 0.004033/0.612, allocations: 3.841 MB / 1.242 GB, free: 4.211 MB / 1.073 GB Notification: Performance of FrontEnd - DAE generated: time 8.566e-06/0.612, allocations: 0 / 1.242 GB, free: 4.211 MB / 1.073 GB Notification: Performance of FrontEnd: time 3.476e-06/0.612, allocations: 0 / 1.242 GB, free: 4.211 MB / 1.073 GB Notification: Performance of Transformations before backend: time 1.885e-05/0.6121, allocations: 0 / 1.242 GB, free: 4.211 MB / 1.073 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.003544/0.6156, allocations: 2.615 MB / 1.244 GB, free: 1.543 MB / 1.073 GB Notification: Performance of prepare preOptimizeDAE: time 4.625e-05/0.6156, allocations: 12.75 kB / 1.244 GB, free: 1.531 MB / 1.073 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001626/0.6158, allocations: 194.4 kB / 1.244 GB, free: 1.332 MB / 1.073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003328/0.6191, allocations: 1.099 MB / 1.246 GB, free: 236 kB / 1.073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001333/0.6205, allocations: 1.13 MB / 1.247 GB, free: 15.05 MB / 1.089 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.737e-05/0.6205, allocations: 98.56 kB / 1.247 GB, free: 14.96 MB / 1.089 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000138/0.6207, allocations: 132 kB / 1.247 GB, free: 14.83 MB / 1.089 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002205/0.6229, allocations: 1.975 MB / 1.249 GB, free: 12.71 MB / 1.089 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.271e-05/0.6229, allocations: 7.938 kB / 1.249 GB, free: 12.7 MB / 1.089 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.996e-05/0.623, allocations: 67.86 kB / 1.249 GB, free: 12.64 MB / 1.089 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.918e-05/0.623, allocations: 66.23 kB / 1.249 GB, free: 12.57 MB / 1.089 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002506/0.6255, allocations: 1.882 MB / 1.251 GB, free: 10.68 MB / 1.089 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005655/0.6312, allocations: 7.185 MB / 1.258 GB, free: 3.273 MB / 1.089 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002198/0.6334, allocations: 1.549 MB / 1.259 GB, free: 1.719 MB / 1.089 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001268/0.6347, allocations: 0.7454 MB / 1.26 GB, free: 0.9688 MB / 1.089 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003215/0.635, allocations: 140.9 kB / 1.26 GB, free: 0.832 MB / 1.089 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001112/0.6361, allocations: 0.8721 MB / 1.261 GB, free: 15.95 MB / 1.104 GB Notification: Performance of pre-optimization done (n=104): time 2.474e-06/0.6361, allocations: 0 / 1.261 GB, free: 15.95 MB / 1.104 GB Notification: Performance of matching and sorting (n=104): time 0.003276/0.6394, allocations: 2.345 MB / 1.263 GB, free: 13.59 MB / 1.104 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.323e-05/0.6394, allocations: 64.41 kB / 1.263 GB, free: 13.52 MB / 1.104 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00126/0.6407, allocations: 1.732 MB / 1.265 GB, free: 11.75 MB / 1.104 GB Notification: Performance of collectPreVariables (initialization): time 6.543e-05/0.6407, allocations: 45.7 kB / 1.265 GB, free: 11.7 MB / 1.104 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004227/0.6412, allocations: 0.8479 MB / 1.266 GB, free: 10.84 MB / 1.104 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001985/0.6414, allocations: 368.9 kB / 1.266 GB, free: 10.48 MB / 1.104 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004422/0.6418, allocations: 234.8 kB / 1.266 GB, free: 10.24 MB / 1.104 GB Notification: Performance of setup shared object (initialization): time 9.154e-05/0.6419, allocations: 357.9 kB / 1.267 GB, free: 9.887 MB / 1.104 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009435/0.6428, allocations: 0.6699 MB / 1.267 GB, free: 9.215 MB / 1.104 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001175/0.644, allocations: 1.292 MB / 1.269 GB, free: 7.711 MB / 1.104 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002024/0.646, allocations: 1.723 MB / 1.27 GB, free: 5.836 MB / 1.104 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.941e-06/0.646, allocations: 7.938 kB / 1.27 GB, free: 5.828 MB / 1.104 GB Notification: Performance of matching and sorting (n=157) (initialization): time 0.002355/0.6484, allocations: 1.937 MB / 1.272 GB, free: 3.883 MB / 1.104 GB Notification: Performance of prepare postOptimizeDAE: time 1.951e-05/0.6484, allocations: 8 kB / 1.272 GB, free: 3.875 MB / 1.104 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.145e-05/0.6484, allocations: 12 kB / 1.272 GB, free: 3.863 MB / 1.104 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.01e-05/0.6484, allocations: 19 kB / 1.272 GB, free: 3.848 MB / 1.104 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007885/0.6492, allocations: 371.8 kB / 1.273 GB, free: 3.484 MB / 1.104 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.422e-05/0.6493, allocations: 19.94 kB / 1.273 GB, free: 3.465 MB / 1.104 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007018/0.65, allocations: 254.6 kB / 1.273 GB, free: 3.215 MB / 1.104 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.481e-05/0.65, allocations: 67.97 kB / 1.273 GB, free: 3.148 MB / 1.104 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.000523/0.6506, allocations: 407.2 kB / 1.273 GB, free: 2.742 MB / 1.104 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001508/0.6507, allocations: 198.7 kB / 1.274 GB, free: 2.547 MB / 1.104 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002367/0.6531, allocations: 1.822 MB / 1.275 GB, free: 0.7109 MB / 1.104 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.861e-06/0.6531, allocations: 15.88 kB / 1.275 GB, free: 0.6953 MB / 1.104 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.6531, allocations: 3.188 kB / 1.275 GB, free: 0.6953 MB / 1.104 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.197e-06/0.6531, allocations: 15.97 kB / 1.275 GB, free: 0.6797 MB / 1.104 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004191/0.6573, allocations: 3.798 MB / 1.279 GB, free: 12.74 MB / 1.12 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.52e-06/0.6573, allocations: 8 kB / 1.279 GB, free: 12.73 MB / 1.12 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006594/0.6579, allocations: 272.1 kB / 1.279 GB, free: 12.47 MB / 1.12 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.885e-06/0.658, allocations: 16 kB / 1.279 GB, free: 12.45 MB / 1.12 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.714e-05/0.658, allocations: 35.97 kB / 1.279 GB, free: 12.42 MB / 1.12 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.729e-06/0.658, allocations: 20.5 kB / 1.279 GB, free: 12.4 MB / 1.12 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.967e-06/0.658, allocations: 8 kB / 1.279 GB, free: 12.39 MB / 1.12 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003529/0.6616, allocations: 2.92 MB / 1.282 GB, free: 9.363 MB / 1.12 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003654/0.6619, allocations: 322.4 kB / 1.283 GB, free: 9.047 MB / 1.12 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000124/0.662, allocations: 31.98 kB / 1.283 GB, free: 9.016 MB / 1.12 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005982/0.6626, allocations: 127.8 kB / 1.283 GB, free: 8.891 MB / 1.12 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001122/0.6628, allocations: 92.34 kB / 1.283 GB, free: 8.797 MB / 1.12 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.962e-05/0.6628, allocations: 47.97 kB / 1.283 GB, free: 8.75 MB / 1.12 GB Notification: Performance of sorting global known variables: time 0.0009064/0.6637, allocations: 1.171 MB / 1.284 GB, free: 7.555 MB / 1.12 GB Notification: Performance of sort global known variables: time 1.8e-07/0.6637, allocations: 0 / 1.284 GB, free: 7.555 MB / 1.12 GB Notification: Performance of remove unused functions: time 0.0007737/0.6645, allocations: 467.5 kB / 1.285 GB, free: 7.098 MB / 1.12 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 (110): * Single equations (assignments): 104 * 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.004629/0.6691, allocations: 3.988 MB / 1.288 GB, free: 3.211 MB / 1.12 GB Notification: Performance of simCode: created initialization part: time 0.002138/0.6713, allocations: 1.581 MB / 1.29 GB, free: 1.629 MB / 1.12 GB Notification: Performance of simCode: created event and clocks part: time 4.038e-06/0.6713, allocations: 4.25 kB / 1.29 GB, free: 1.625 MB / 1.12 GB Notification: Performance of simCode: created simulation system equations: time 0.001057/0.6723, allocations: 0.7896 MB / 1.291 GB, free: 0.8359 MB / 1.12 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001971/0.6743, allocations: 0.9074 MB / 1.292 GB, free: 15.94 MB / 1.135 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0162/0.6905, allocations: 15.02 MB / 1.306 GB, free: 208 kB / 1.135 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005087/0.691, allocations: 0.7906 MB / 1.307 GB, free: 15.38 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0009998/0.692, allocations: 466.2 kB / 1.307 GB, free: 14.91 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007968/0.6928, allocations: 0.7151 MB / 1.308 GB, free: 14.2 MB / 1.151 GB Notification: Performance of SimCode: time 8.42e-07/0.6928, allocations: 0 / 1.308 GB, free: 14.2 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05098/0.7438, allocations: 53.3 MB / 1.36 GB, free: 9.793 MB / 1.198 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.007/8.75, allocations: 4.062 kB / 1.36 GB, free: 9.789 MB / 1.198 GB " [Timeout remaining time 291] (rm -f Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe >> ../files/Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly_fmu --startTime=0 --stopTime=1200 --stepSize=0.48 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly.fmu > Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 12.792676743119955]