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.001025/0.001025, allocations: 87.58 kB / 20.45 MB, free: 4.121 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.0009978/0.0009978, allocations: 161 kB / 23.82 MB, free: 0.7539 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.93/0.93, allocations: 177.1 MB / 204.2 MB, free: 5.594 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.788/1.788, allocations: 359 MB / 0.6052 GB, free: 11 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.713e-06/1.713e-06, allocations: 0 / 0.7871 GB, free: 12.48 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.649e-05/3.82e-05, allocations: 8.781 kB / 0.7871 GB, free: 12.47 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example5): time 0.001403/0.001441, allocations: 0.5421 MB / 0.7876 GB, free: 11.94 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0001801/0.001621, allocations: 47.8 kB / 0.7877 GB, free: 11.89 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.839e-05/0.001669, allocations: 0.75 kB / 0.7877 GB, free: 11.89 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.749e-05/0.001707, allocations: 0 / 0.7877 GB, free: 11.89 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0001496/0.001856, allocations: 8.5 kB / 0.7877 GB, free: 11.89 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 4.42e-05/0.001901, allocations: 1.5 kB / 0.7877 GB, free: 11.89 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 8.327e-05/0.001984, allocations: 23.91 kB / 0.7877 GB, free: 11.86 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 4.214e-05/0.002026, allocations: 0 / 0.7877 GB, free: 11.86 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 5.428e-05/0.00208, allocations: 4 kB / 0.7877 GB, free: 11.86 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 8.613e-05/0.002167, allocations: 9.203 kB / 0.7877 GB, free: 11.85 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.227e-05/0.002189, allocations: 0 / 0.7877 GB, free: 11.85 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 9.357e-06/0.002198, allocations: 4 kB / 0.7877 GB, free: 11.85 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 4.926e-05/0.002247, allocations: 8.562 kB / 0.7877 GB, free: 11.84 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 3.06e-05/0.002278, allocations: 4 kB / 0.7877 GB, free: 11.84 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 8.183e-05/0.00236, allocations: 17.31 kB / 0.7877 GB, free: 11.82 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.324e-06/0.002362, allocations: 0 / 0.7877 GB, free: 11.82 MB / 0.7448 GB Notification: Performance of FrontEnd: time 8.82e-07/0.002363, allocations: 0 / 0.7877 GB, free: 11.82 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.829e-06/0.002368, allocations: 0 / 0.7877 GB, free: 11.82 MB / 0.7448 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.0004294/0.002797, allocations: 361.5 kB / 0.7881 GB, free: 11.43 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.533e-05/0.002843, allocations: 8.031 kB / 0.7881 GB, free: 11.43 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.944e-05/0.002882, allocations: 9.375 kB / 0.7881 GB, free: 11.42 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001287/0.003011, allocations: 113.4 kB / 0.7882 GB, free: 11.28 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.266e-06/0.003019, allocations: 384 / 0.7882 GB, free: 11.28 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.988e-05/0.003039, allocations: 5.344 kB / 0.7882 GB, free: 11.28 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.781e-05/0.003107, allocations: 30.25 kB / 0.7882 GB, free: 11.24 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.46e-06/0.003112, allocations: 0.7812 kB / 0.7882 GB, free: 11.24 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.277e-06/0.003121, allocations: 384 / 0.7882 GB, free: 11.24 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.995e-06/0.003129, allocations: 5.375 kB / 0.7882 GB, free: 11.24 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.075e-05/0.00314, allocations: 8 kB / 0.7883 GB, free: 11.23 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001053/0.003245, allocations: 112.7 kB / 0.7884 GB, free: 11.09 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 6.079e-05/0.003306, allocations: 36.53 kB / 0.7884 GB, free: 11.04 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.733e-05/0.003324, allocations: 7.688 kB / 0.7884 GB, free: 11.03 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.238e-05/0.003336, allocations: 4.062 kB / 0.7884 GB, free: 11.02 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.059e-05/0.003357, allocations: 33.39 kB / 0.7884 GB, free: 10.98 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=1): time 9.52e-07/0.003358, allocations: 1.188 kB / 0.7884 GB, free: 10.98 MB / 0.7448 GB Notification: Performance of matching and sorting (n=1): time 0.0001173/0.003475, allocations: 33.69 kB / 0.7885 GB, free: 10.94 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.948e-05/0.003504, allocations: 62.41 kB / 0.7885 GB, free: 10.87 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.754e-05/0.003582, allocations: 169.9 kB / 0.7887 GB, free: 10.69 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 8.116e-06/0.00359, allocations: 25.7 kB / 0.7887 GB, free: 10.66 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 3.905e-05/0.003629, allocations: 130.9 kB / 0.7888 GB, free: 10.52 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.984e-05/0.003649, allocations: 3.953 kB / 0.7888 GB, free: 10.52 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.486e-05/0.003674, allocations: 19.38 kB / 0.7889 GB, free: 10.49 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 9.702e-05/0.003771, allocations: 496.1 kB / 0.7893 GB, free: 9.996 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.578e-06/0.00378, allocations: 4 kB / 0.7893 GB, free: 9.992 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.796e-05/0.003798, allocations: 20.08 kB / 0.7894 GB, free: 9.965 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.058e-05/0.003829, allocations: 25.03 kB / 0.7894 GB, free: 9.934 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.674e-06/0.003831, allocations: 0 / 0.7894 GB, free: 9.934 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.825e-05/0.003889, allocations: 46.78 kB / 0.7894 GB, free: 9.883 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.333e-05/0.003902, allocations: 4 kB / 0.7894 GB, free: 9.879 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.827e-06/0.003906, allocations: 0 / 0.7894 GB, free: 9.879 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.282e-05/0.003919, allocations: 9.016 kB / 0.7894 GB, free: 9.871 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.895e-05/0.003978, allocations: 0 / 0.7894 GB, free: 9.871 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.53e-06/0.003983, allocations: 7.938 kB / 0.7895 GB, free: 9.863 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.227e-05/0.003995, allocations: 1.75 kB / 0.7895 GB, free: 9.863 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.32e-06/0.004001, allocations: 0 / 0.7895 GB, free: 9.863 MB / 0.7448 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.766e-05/0.004058, allocations: 160.5 kB / 0.7896 GB, free: 9.695 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.539e-06/0.004063, allocations: 4 kB / 0.7896 GB, free: 9.691 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.743e-05/0.00413, allocations: 42.38 kB / 0.7896 GB, free: 9.648 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.004133, allocations: 0 / 0.7896 GB, free: 9.648 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.004136, allocations: 256 / 0.7897 GB, free: 9.648 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.00414, allocations: 4.5 kB / 0.7897 GB, free: 9.645 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.756e-05/0.004207, allocations: 124.6 kB / 0.7898 GB, free: 9.488 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.709e-06/0.004212, allocations: 5.469 kB / 0.7898 GB, free: 9.484 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.953e-05/0.004251, allocations: 0 / 0.7898 GB, free: 9.484 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.01e-07/0.004252, allocations: 0 / 0.7898 GB, free: 9.484 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.79e-05/0.00427, allocations: 4 kB / 0.7898 GB, free: 9.48 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.004271, allocations: 4.5 kB / 0.7898 GB, free: 9.477 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.004272, allocations: 1.688 kB / 0.7898 GB, free: 9.477 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.004e-05/0.004362, allocations: 88.27 kB / 0.7899 GB, free: 9.367 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.516e-05/0.004377, allocations: 7.984 kB / 0.7899 GB, free: 9.359 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.037e-06/0.004386, allocations: 0 / 0.7899 GB, free: 9.359 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.285e-06/0.004395, allocations: 0.9062 kB / 0.7899 GB, free: 9.359 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.482e-05/0.004409, allocations: 4 kB / 0.7899 GB, free: 9.355 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.146e-06/0.004413, allocations: 4.531 kB / 0.7899 GB, free: 9.352 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.635e-05/0.004449, allocations: 131.1 kB / 0.79 GB, free: 9.223 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7e-08/0.004449, allocations: 0.625 kB / 0.79 GB, free: 9.223 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001121/0.004561, allocations: 4.531 kB / 0.79 GB, free: 9.219 MB / 0.7448 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.176e-05/0.004623, allocations: 92.5 kB / 0.7901 GB, free: 9.121 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 7.29e-05/0.004696, allocations: 24.16 kB / 0.7901 GB, free: 9.094 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.004698, allocations: 0 / 0.7901 GB, free: 9.094 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.18e-05/0.004709, allocations: 17.05 kB / 0.7901 GB, free: 9.074 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001195/0.004829, allocations: 0 / 0.7901 GB, free: 9.074 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002305/0.005059, allocations: 115.7 kB / 0.7903 GB, free: 8.934 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.214e-05/0.005092, allocations: 55.36 kB / 0.7903 GB, free: 8.859 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.171e-05/0.005113, allocations: 4.922 kB / 0.7903 GB, free: 8.855 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.052e-05/0.005144, allocations: 8.5 kB / 0.7903 GB, free: 8.848 MB / 0.7448 GB Notification: Performance of SimCode: time 5.82e-07/0.005144, allocations: 0 / 0.7903 GB, free: 8.848 MB / 0.7448 GB Notification: Performance of Templates: time 0.001866/0.007011, allocations: 357.7 kB / 0.7907 GB, free: 8.512 MB / 0.7448 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=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Examples.Performance.Example5.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Fluid.Examples.Performance.Example5_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Examples_Performance_Example5.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.0358969937078655]