Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Examples.Performance.Example5.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.0008239/0.0008239, allocations: 76.55 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0008859/0.0008859, allocations: 181.9 kB / 23.22 MB, free: 1.348 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.9456/0.9456, allocations: 177.1 MB / 203.5 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.637/1.637, allocations: 359 MB / 0.6044 GB, free: 11.1 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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: translateModel(Buildings.Fluid.Examples.Performance.Example5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|c",fileNamePrefix="Buildings_11_Buildings.Fluid.Examples.Performance.Example5") translateModel(Buildings.Fluid.Examples.Performance.Example5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|c",fileNamePrefix="Buildings_11_Buildings.Fluid.Examples.Performance.Example5") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.974e-06/1.974e-06, allocations: 0 / 0.9517 GB, free: 3.02 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.093e-05/3.29e-05, allocations: 2.281 kB / 0.9517 GB, free: 3.016 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example5): time 0.0012/0.001233, allocations: 0.541 MB / 0.9522 GB, free: 2.469 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0001832/0.001416, allocations: 43.75 kB / 0.9523 GB, free: 2.426 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.471e-05/0.001481, allocations: 0 / 0.9523 GB, free: 2.426 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 3.811e-05/0.001519, allocations: 0 / 0.9523 GB, free: 2.426 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.0001986/0.001718, allocations: 11.88 kB / 0.9523 GB, free: 2.414 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 6.133e-05/0.001779, allocations: 3.984 kB / 0.9523 GB, free: 2.41 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 8.107e-05/0.00186, allocations: 23.92 kB / 0.9523 GB, free: 2.387 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 4.799e-05/0.001908, allocations: 0 / 0.9523 GB, free: 2.387 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 6.753e-05/0.001976, allocations: 11.92 kB / 0.9523 GB, free: 2.375 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 7.521e-05/0.002051, allocations: 4 kB / 0.9523 GB, free: 2.371 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 2.565e-05/0.002077, allocations: 0 / 0.9523 GB, free: 2.371 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 8.977e-06/0.002086, allocations: 0 / 0.9523 GB, free: 2.371 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 6.555e-05/0.002151, allocations: 11.98 kB / 0.9523 GB, free: 2.359 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 2.905e-05/0.00218, allocations: 0 / 0.9523 GB, free: 2.359 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 8.56e-05/0.002266, allocations: 15.91 kB / 0.9524 GB, free: 2.344 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 1.904e-06/0.002268, allocations: 4 kB / 0.9524 GB, free: 2.34 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.042e-06/0.002269, allocations: 4 kB / 0.9524 GB, free: 2.336 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 5.931e-06/0.002275, allocations: 0 / 0.9524 GB, free: 2.336 MB / 0.9011 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003831/0.002658, allocations: 254.4 kB / 0.9526 GB, free: 2.055 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.304e-05/0.002701, allocations: 8.031 kB / 0.9526 GB, free: 2.047 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.162e-05/0.002732, allocations: 4.891 kB / 0.9526 GB, free: 2.043 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001546/0.002887, allocations: 121.7 kB / 0.9527 GB, free: 1.898 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.348e-06/0.002896, allocations: 384 / 0.9527 GB, free: 1.898 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.767e-05/0.002914, allocations: 384 / 0.9527 GB, free: 1.898 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.796e-05/0.002982, allocations: 30.27 kB / 0.9528 GB, free: 1.863 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.714e-06/0.00299, allocations: 192 / 0.9528 GB, free: 1.863 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.108e-05/0.003001, allocations: 12.36 kB / 0.9528 GB, free: 1.852 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.698e-06/0.003005, allocations: 384 / 0.9528 GB, free: 1.852 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.726e-05/0.003023, allocations: 7.938 kB / 0.9528 GB, free: 1.844 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001123/0.003135, allocations: 97.33 kB / 0.9529 GB, free: 1.719 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 4.002e-05/0.003175, allocations: 30.53 kB / 0.9529 GB, free: 1.68 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.814e-05/0.003193, allocations: 8.922 kB / 0.9529 GB, free: 1.668 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 1.549e-05/0.003209, allocations: 0 / 0.9529 GB, free: 1.668 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.823e-05/0.003227, allocations: 30.56 kB / 0.9529 GB, free: 1.629 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=1): time 1.522e-06/0.003228, allocations: 3.984 kB / 0.9529 GB, free: 1.625 MB / 0.9011 GB Notification: Performance of matching and sorting (n=1): time 0.0001366/0.003365, allocations: 45.64 kB / 0.953 GB, free: 1.574 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.219e-05/0.003397, allocations: 59.52 kB / 0.953 GB, free: 1.504 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.755e-05/0.003465, allocations: 113.8 kB / 0.9532 GB, free: 1.383 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 8.817e-06/0.003474, allocations: 25.7 kB / 0.9532 GB, free: 1.352 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 3.379e-05/0.003507, allocations: 84.14 kB / 0.9533 GB, free: 1.266 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 1.908e-05/0.003526, allocations: 0 / 0.9533 GB, free: 1.266 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.223e-05/0.003549, allocations: 17.66 kB / 0.9533 GB, free: 1.242 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 8.019e-05/0.003629, allocations: 314.8 kB / 0.9536 GB, free: 0.9258 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.488e-05/0.003644, allocations: 7.984 kB / 0.9536 GB, free: 0.918 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.789e-05/0.003662, allocations: 13.72 kB / 0.9536 GB, free: 0.8984 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.504e-05/0.003697, allocations: 33.7 kB / 0.9536 GB, free: 0.8594 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.003699, allocations: 0 / 0.9536 GB, free: 0.8594 MB / 0.9011 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.816e-05/0.003747, allocations: 49.58 kB / 0.9537 GB, free: 0.8047 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.185e-05/0.003759, allocations: 11.94 kB / 0.9537 GB, free: 0.793 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.003764, allocations: 0 / 0.9537 GB, free: 0.793 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.196e-05/0.003776, allocations: 0 / 0.9537 GB, free: 0.793 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.309e-05/0.003839, allocations: 4 kB / 0.9537 GB, free: 0.7891 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/0.003844, allocations: 256 / 0.9537 GB, free: 0.7891 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.364e-05/0.003857, allocations: 3.938 kB / 0.9537 GB, free: 0.7852 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.826e-06/0.003866, allocations: 8.062 kB / 0.9537 GB, free: 0.7773 MB / 0.9011 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 5.839e-05/0.003925, allocations: 117.8 kB / 0.9538 GB, free: 0.6523 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.529e-06/0.003929, allocations: 4 kB / 0.9538 GB, free: 0.6484 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.842e-05/0.004018, allocations: 49.09 kB / 0.9539 GB, free: 0.5898 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.933e-06/0.00402, allocations: 4 kB / 0.9539 GB, free: 0.5859 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.004023, allocations: 0 / 0.9539 GB, free: 0.5859 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/0.004026, allocations: 3.938 kB / 0.9539 GB, free: 0.582 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.728e-05/0.004084, allocations: 101.3 kB / 0.954 GB, free: 464 kB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.52e-07/0.004084, allocations: 0 / 0.954 GB, free: 464 kB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.261e-05/0.004117, allocations: 4 kB / 0.954 GB, free: 460 kB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.072e-06/0.004118, allocations: 4.031 kB / 0.954 GB, free: 456 kB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.572e-06/0.004125, allocations: 0 / 0.954 GB, free: 456 kB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.004126, allocations: 0 / 0.954 GB, free: 456 kB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.004128, allocations: 7.984 kB / 0.954 GB, free: 448 kB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.621e-05/0.004215, allocations: 84.95 kB / 0.9541 GB, free: 344 kB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 1.554e-05/0.00423, allocations: 4.031 kB / 0.9541 GB, free: 340 kB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.109e-05/0.004241, allocations: 3.984 kB / 0.9541 GB, free: 336 kB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.616e-06/0.00425, allocations: 0 / 0.9541 GB, free: 336 kB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.284e-05/0.004263, allocations: 0 / 0.9541 GB, free: 336 kB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.283e-06/0.004264, allocations: 4 kB / 0.9541 GB, free: 332 kB / 0.9011 GB Notification: Performance of sorting global known variables: time 3.321e-05/0.004297, allocations: 91.36 kB / 0.9542 GB, free: 240 kB / 0.9011 GB Notification: Performance of sort global known variables: time 5e-08/0.004297, allocations: 4 kB / 0.9542 GB, free: 236 kB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0001168/0.004414, allocations: 3.938 kB / 0.9542 GB, free: 232 kB / 0.9011 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (c) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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 Backend phase and start with SimCode phase: time 6.798e-05/0.004482, allocations: 95.25 kB / 0.9543 GB, free: 128 kB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 7.397e-05/0.004556, allocations: 15.98 kB / 0.9543 GB, free: 112 kB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 1.322e-06/0.004557, allocations: 0 / 0.9543 GB, free: 112 kB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 8.817e-06/0.004566, allocations: 7.938 kB / 0.9543 GB, free: 104 kB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001059/0.004672, allocations: 7.938 kB / 0.9543 GB, free: 96 kB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002602/0.004932, allocations: 142.7 kB / 0.9544 GB, free: 15.92 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.126e-05/0.004974, allocations: 63.34 kB / 0.9545 GB, free: 15.84 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.213e-05/0.004996, allocations: 8.5 kB / 0.9545 GB, free: 15.83 MB / 0.9167 GB Notification: Performance of SimCode: time 3.71e-07/0.004996, allocations: 0 / 0.9545 GB, free: 15.83 MB / 0.9167 GB Notification: Performance of Templates: time 0.001393/0.006389, allocations: 0.5237 MB / 0.955 GB, free: 15.31 MB / 0.9167 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.Examples.Performance.Example5.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Examples.Performance.Example5.pipe ; mkfifo Buildings_11_Buildings.Fluid.Examples.Performance.Example5.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Examples.Performance.Example5.pipe >> ../files/Buildings_11_Buildings.Fluid.Examples.Performance.Example5.sim & ./Buildings_11_Buildings.Fluid.Examples.Performance.Example5 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Examples.Performance.Example5.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.Examples.Performance.Example5_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Examples_Performance_Example5.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Examples.Performance.Example5.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: 6.424550241790712]