Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Examples.Performance.Example1v1.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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: translateModel(Buildings.Fluid.Examples.Performance.Example1v1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pump.m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Examples.Performance.Example1v1") translateModel(Buildings.Fluid.Examples.Performance.Example1v1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pump.m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Examples.Performance.Example1v1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008466/0.008466, allocations: 100.3 kB / 15.73 MB, free: 6.031 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.001762/0.001763, allocations: 190.9 kB / 16.67 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.384/1.384, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.664/2.664, allocations: 461.9 MB / 0.7347 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001217/0.001217, allocations: 67.83 kB / 1.054 GB, free: 7.121 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2788/0.28, allocations: 157.4 MB / 1.208 GB, free: 9.617 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example1v1): time 0.7961/1.076, allocations: 72.77 MB / 1.279 GB, free: 452 kB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.03046/1.107, allocations: 18.8 MB / 1.297 GB, free: 7.789 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004882/1.112, allocations: 99.19 kB / 1.297 GB, free: 7.75 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.006259/1.118, allocations: 1.816 MB / 1.299 GB, free: 7.164 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.008905/1.127, allocations: 2.522 MB / 1.301 GB, free: 5.809 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.007171/1.134, allocations: 2.154 MB / 1.304 GB, free: 4.695 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.01985/1.154, allocations: 10.96 MB / 1.314 GB, free: 200 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01093/1.165, allocations: 6.154 MB / 1.32 GB, free: 13.6 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01108/1.176, allocations: 3.356 MB / 1.324 GB, free: 12.14 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007413/1.184, allocations: 2.57 MB / 1.326 GB, free: 10.98 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.001286/1.185, allocations: 269.2 kB / 1.326 GB, free: 10.97 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006239/1.191, allocations: 1.552 MB / 1.328 GB, free: 10.55 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.001748/1.193, allocations: 0.9069 MB / 1.329 GB, free: 10.06 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.00489/1.198, allocations: 1.964 MB / 1.331 GB, free: 8.875 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.01324/1.211, allocations: 5.343 MB / 1.336 GB, free: 6.676 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 7.765e-06/1.211, allocations: 0 / 1.336 GB, free: 6.676 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.254e-06/1.211, allocations: 1.281 kB / 1.336 GB, free: 6.676 MB / 1.029 GB Notification: Performance of Transformations before backend: time 0.0002258/1.211, allocations: 0 / 1.336 GB, free: 6.676 MB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 402 * Number of variables: 402 Notification: Performance of Generate backend data structure: time 0.01678/1.228, allocations: 4.372 MB / 1.34 GB, free: 3.574 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.608e-05/1.228, allocations: 10.41 kB / 1.34 GB, free: 3.574 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003961/1.232, allocations: 0.673 MB / 1.341 GB, free: 3.254 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01089/1.243, allocations: 3.814 MB / 1.345 GB, free: 0.7617 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000226/1.243, allocations: 137.6 kB / 1.345 GB, free: 0.7031 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000593/1.244, allocations: 188.8 kB / 1.345 GB, free: 0.6445 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005134/1.249, allocations: 2.353 MB / 1.347 GB, free: 15.03 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.549e-05/1.249, allocations: 8 kB / 1.347 GB, free: 15.03 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001811/1.249, allocations: 72.95 kB / 1.347 GB, free: 14.97 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.486e-05/1.249, allocations: 45.44 kB / 1.347 GB, free: 14.97 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004146/1.254, allocations: 1.903 MB / 1.349 GB, free: 13.98 MB / 1.045 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.01772/1.271, allocations: 11.5 MB / 1.36 GB, free: 4.352 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002795/1.274, allocations: 1.334 MB / 1.362 GB, free: 3.676 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001681/1.276, allocations: 1.025 MB / 1.363 GB, free: 3.168 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007899/1.284, allocations: 3.709 MB / 1.366 GB, free: 32 kB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00153/1.285, allocations: 0.7763 MB / 1.367 GB, free: 15.56 MB / 1.061 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001907/1.287, allocations: 245.3 kB / 1.367 GB, free: 15.43 MB / 1.061 GB Notification: Performance of pre-optimization done (n=94): time 5.781e-06/1.287, allocations: 4 kB / 1.367 GB, free: 15.43 MB / 1.061 GB Notification: Performance of matching and sorting (n=94): time 0.01311/1.3, allocations: 4.234 MB / 1.371 GB, free: 13.09 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.909e-05/1.301, allocations: 66.75 kB / 1.371 GB, free: 13.02 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005716/1.306, allocations: 3.478 MB / 1.375 GB, free: 10.53 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 0.0002956/1.307, allocations: 53.7 kB / 1.375 GB, free: 10.47 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.001354/1.308, allocations: 1.56 MB / 1.376 GB, free: 8.895 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003768/1.308, allocations: 343.2 kB / 1.377 GB, free: 8.555 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006279/1.309, allocations: 459.4 kB / 1.377 GB, free: 8.098 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 9.595e-05/1.309, allocations: 305.1 kB / 1.378 GB, free: 7.797 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001549/1.311, allocations: 0.8644 MB / 1.378 GB, free: 6.93 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002098/1.313, allocations: 1.671 MB / 1.38 GB, free: 4.895 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003394/1.316, allocations: 2.267 MB / 1.382 GB, free: 2.41 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.808e-06/1.316, allocations: 4 kB / 1.382 GB, free: 2.406 MB / 1.061 GB Notification: Performance of matching and sorting (n=249) (initialization): time 0.007059/1.323, allocations: 3.342 MB / 1.385 GB, free: 15.04 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 5.453e-05/1.323, allocations: 45.69 kB / 1.386 GB, free: 14.98 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.255e-05/1.323, allocations: 12 kB / 1.386 GB, free: 14.97 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002352/1.326, allocations: 0.6962 MB / 1.386 GB, free: 14.27 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00136/1.327, allocations: 357.2 kB / 1.387 GB, free: 13.92 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001805/1.329, allocations: 1.901 MB / 1.388 GB, free: 11.96 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003052/1.332, allocations: 124.3 kB / 1.389 GB, free: 11.84 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002245/1.332, allocations: 95.94 kB / 1.389 GB, free: 11.75 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003057/1.335, allocations: 1.581 MB / 1.39 GB, free: 10.16 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002005/1.337, allocations: 1.653 MB / 1.392 GB, free: 8.148 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003157/1.34, allocations: 2.203 MB / 1.394 GB, free: 5.723 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.227e-06/1.341, allocations: 4 kB / 1.394 GB, free: 5.719 MB / 1.076 GB Notification: Performance of matching and sorting (n=249) (initialization_lambda0): time 0.005944/1.346, allocations: 3.214 MB / 1.397 GB, free: 2.457 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 5.658e-05/1.347, allocations: 43.11 kB / 1.397 GB, free: 2.41 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.97e-05/1.347, allocations: 20.16 kB / 1.397 GB, free: 2.391 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009172/1.347, allocations: 469.5 kB / 1.398 GB, free: 1.926 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001277/1.349, allocations: 349.1 kB / 1.398 GB, free: 1.586 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006698/1.355, allocations: 6.336 MB / 1.404 GB, free: 10.95 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003255/1.359, allocations: 144.8 kB / 1.404 GB, free: 10.81 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002472/1.359, allocations: 87.97 kB / 1.404 GB, free: 10.73 MB / 1.092 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 70 * Number of states: 0 () * Number of discrete variables: 8 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1,from_dp.y,nRes.y,allowFlowReversal.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (169): * Single equations (assignments): 164 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,40), (2,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0005803/1.36, allocations: 292.2 kB / 1.405 GB, free: 10.43 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007546/1.36, allocations: 335.7 kB / 1.405 GB, free: 10.1 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005032/1.365, allocations: 2.467 MB / 1.407 GB, free: 7.613 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.337e-05/1.365, allocations: 19.92 kB / 1.407 GB, free: 7.594 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/1.365, allocations: 4 kB / 1.407 GB, free: 7.59 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003427/1.369, allocations: 2.07 MB / 1.409 GB, free: 5.441 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00931/1.378, allocations: 4.58 MB / 1.414 GB, free: 0.7852 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.695e-06/1.378, allocations: 4 kB / 1.414 GB, free: 0.7812 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008857/1.379, allocations: 173.7 kB / 1.414 GB, free: 0.6094 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001034/1.38, allocations: 481 kB / 1.414 GB, free: 136 kB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.174e-05/1.38, allocations: 31.98 kB / 1.414 GB, free: 104 kB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001601/1.382, allocations: 1.858 MB / 1.416 GB, free: 14.19 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/1.382, allocations: 3.938 kB / 1.416 GB, free: 14.19 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006148/1.388, allocations: 3.175 MB / 1.419 GB, free: 10.98 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002254/1.39, allocations: 0.5318 MB / 1.42 GB, free: 10.42 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004827/1.391, allocations: 24 kB / 1.42 GB, free: 10.4 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001259/1.392, allocations: 79.84 kB / 1.42 GB, free: 10.32 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000199/1.392, allocations: 84.81 kB / 1.42 GB, free: 10.23 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001051/1.392, allocations: 43.97 kB / 1.42 GB, free: 10.19 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.003718/1.396, allocations: 2.351 MB / 1.422 GB, free: 7.828 MB / 1.107 GB Notification: Performance of sort global known variables: time 3.41e-07/1.396, allocations: 0 / 1.422 GB, free: 7.828 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.005469/1.402, allocations: 1.509 MB / 1.424 GB, free: 6.316 MB / 1.107 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (pump.vol.dynBal.U,hea.outCon.T) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (78): * Single equations (assignments): 70 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,5), (1,40)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001703/1.403, allocations: 0.6037 MB / 1.425 GB, free: 5.715 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.007406/1.411, allocations: 3.723 MB / 1.428 GB, free: 1.949 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 7.274e-06/1.411, allocations: 1.312 kB / 1.428 GB, free: 1.949 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.001688/1.413, allocations: 0.807 MB / 1.429 GB, free: 1.145 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007263/1.42, allocations: 1.443 MB / 1.43 GB, free: 15.72 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01135/1.431, allocations: 5.948 MB / 1.436 GB, free: 9.742 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001718/1.433, allocations: 2.229 MB / 1.438 GB, free: 7.484 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.003223/1.436, allocations: 0.8345 MB / 1.439 GB, free: 6.645 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006218/1.437, allocations: 247.3 kB / 1.439 GB, free: 6.402 MB / 1.123 GB Notification: Performance of SimCode: time 7.82e-07/1.437, allocations: 0 / 1.439 GB, free: 6.402 MB / 1.123 GB Notification: Performance of Templates: time 0.1022/1.539, allocations: 61.95 MB / 1.5 GB, free: 9.227 MB / 1.186 GB make -j1 -f Buildings_latest_Buildings.Fluid.Examples.Performance.Example1v1.makefile (rm -f Buildings_latest_Buildings.Fluid.Examples.Performance.Example1v1.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Examples.Performance.Example1v1.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Examples.Performance.Example1v1.pipe >> ../files/Buildings_latest_Buildings.Fluid.Examples.Performance.Example1v1.sim & ./Buildings_latest_Buildings.Fluid.Examples.Performance.Example1v1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Examples.Performance.Example1v1.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Examples.Performance.Example1v1_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Examples_Performance_Example1v1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Examples.Performance.Example1v1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches