Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001941/0.001941, allocations: 110 kB / 18.93 MB, free: 2.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002288/0.002288, allocations: 186.2 kB / 22.23 MB, free: 5.16 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.444/1.444, allocations: 225.6 MB / 251 MB, free: 13.01 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.611/2.611, allocations: 443.5 MB / 0.7321 GB, free: 12.31 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/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.Utilities.Math.Functions.Examples.TrapezoidalIntegration,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration") translateModel(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002034/0.002034, allocations: 63.89 kB / 1.061 GB, free: 2.984 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7433/0.7454, allocations: 160.8 MB / 1.218 GB, free: 3.684 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.002102/0.7475, allocations: 0.5868 MB / 1.219 GB, free: 3.25 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0002943/0.7478, allocations: 36.69 kB / 1.219 GB, free: 3.223 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.218e-05/0.7478, allocations: 0 / 1.219 GB, free: 3.223 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.019e-05/0.7478, allocations: 3.938 kB / 1.219 GB, free: 3.219 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 4.079e-05/0.7478, allocations: 9.312 kB / 1.219 GB, free: 3.211 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002323/0.7481, allocations: 13.2 kB / 1.219 GB, free: 3.203 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 8.921e-05/0.7482, allocations: 2.531 kB / 1.219 GB, free: 3.203 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 5.639e-05/0.7482, allocations: 5.328 kB / 1.219 GB, free: 3.199 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 1.961e-05/0.7482, allocations: 2.375 kB / 1.219 GB, free: 3.199 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 4.5e-05/0.7483, allocations: 0 / 1.219 GB, free: 3.199 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.432e-05/0.7483, allocations: 1.5 kB / 1.219 GB, free: 3.199 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 9.446e-05/0.7484, allocations: 24.58 kB / 1.219 GB, free: 3.184 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 3.858e-05/0.7484, allocations: 6.328 kB / 1.219 GB, free: 3.18 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 2.917e-05/0.7485, allocations: 9.125 kB / 1.219 GB, free: 3.172 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001362/0.7486, allocations: 29.75 kB / 1.219 GB, free: 3.156 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.7486, allocations: 0 / 1.219 GB, free: 3.156 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.563e-06/0.7486, allocations: 3.938 kB / 1.219 GB, free: 3.152 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.2e-06/0.7486, allocations: 0 / 1.219 GB, free: 3.152 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004123/0.749, allocations: 356.3 kB / 1.22 GB, free: 2.758 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.844e-05/0.7491, allocations: 9.219 kB / 1.22 GB, free: 2.758 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.473e-05/0.7491, allocations: 6.203 kB / 1.22 GB, free: 2.754 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001165/0.7492, allocations: 165.5 kB / 1.22 GB, free: 2.555 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.467e-05/0.7492, allocations: 1.531 kB / 1.22 GB, free: 2.555 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.335e-05/0.7492, allocations: 5.5 kB / 1.22 GB, free: 2.551 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001648/0.7494, allocations: 58.3 kB / 1.22 GB, free: 2.508 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.155e-05/0.7494, allocations: 192 / 1.22 GB, free: 2.508 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.26e-05/0.7494, allocations: 5 kB / 1.22 GB, free: 2.504 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.293e-05/0.7495, allocations: 8.516 kB / 1.22 GB, free: 2.5 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.801e-05/0.7495, allocations: 24.48 kB / 1.22 GB, free: 2.492 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000395/0.7499, allocations: 266.8 kB / 1.22 GB, free: 2.199 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 6.269e-05/0.75, allocations: 25.09 kB / 1.22 GB, free: 2.168 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.14e-05/0.75, allocations: 5.984 kB / 1.22 GB, free: 2.16 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.058e-05/0.75, allocations: 4.969 kB / 1.22 GB, free: 2.156 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.802e-05/0.75, allocations: 31.66 kB / 1.22 GB, free: 2.117 MB / 0.92 GB Notification: Performance of pre-optimization done (n=1): time 1.333e-06/0.75, allocations: 0 / 1.22 GB, free: 2.117 MB / 0.92 GB Notification: Performance of matching and sorting (n=1): time 0.0002206/0.7503, allocations: 69.03 kB / 1.22 GB, free: 2.047 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.047e-05/0.7503, allocations: 82.22 kB / 1.22 GB, free: 1.949 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001072/0.7504, allocations: 118.1 kB / 1.22 GB, free: 1.836 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.736e-05/0.7504, allocations: 27.23 kB / 1.22 GB, free: 1.805 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 6.197e-05/0.7505, allocations: 102.5 kB / 1.221 GB, free: 1.703 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 7.525e-06/0.7505, allocations: 1.375 kB / 1.221 GB, free: 1.703 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.187e-05/0.7506, allocations: 28.53 kB / 1.221 GB, free: 1.676 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001381/0.7507, allocations: 321.2 kB / 1.221 GB, free: 1.355 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.207e-05/0.7507, allocations: 9.797 kB / 1.221 GB, free: 1.352 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.594e-05/0.7508, allocations: 62.17 kB / 1.221 GB, free: 1.277 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001417/0.751, allocations: 136.6 kB / 1.221 GB, free: 1.125 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.348e-06/0.751, allocations: 4 kB / 1.221 GB, free: 1.121 MB / 0.92 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001676/0.7511, allocations: 115.7 kB / 1.221 GB, free: 1.031 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 3.96e-05/0.7512, allocations: 32.36 kB / 1.221 GB, free: 1 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.273e-06/0.7512, allocations: 6.688 kB / 1.221 GB, free: 0.9961 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.69e-05/0.7512, allocations: 2.094 kB / 1.221 GB, free: 0.9961 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.982e-05/0.7513, allocations: 10.47 kB / 1.221 GB, free: 0.9961 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.012e-05/0.7513, allocations: 6.641 kB / 1.221 GB, free: 0.9922 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.751e-05/0.7514, allocations: 15.77 kB / 1.221 GB, free: 0.9805 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.71e-05/0.7514, allocations: 6.25 kB / 1.221 GB, free: 0.9805 MB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (8): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 1 * 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.0001215/0.7515, allocations: 152.4 kB / 1.221 GB, free: 0.8203 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.696e-05/0.7516, allocations: 5.375 kB / 1.221 GB, free: 0.8164 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.761e-05/0.7516, allocations: 14.14 kB / 1.221 GB, free: 0.8047 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.7516, allocations: 3.938 kB / 1.221 GB, free: 0.8008 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.618e-06/0.7516, allocations: 0 / 1.221 GB, free: 0.8008 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/0.7516, allocations: 1.25 kB / 1.221 GB, free: 0.8008 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001731/0.7518, allocations: 157.5 kB / 1.222 GB, free: 0.6016 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.462e-06/0.7518, allocations: 0 / 1.222 GB, free: 0.6016 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.242e-06/0.7518, allocations: 1.219 kB / 1.222 GB, free: 0.6016 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.7518, allocations: 0 / 1.222 GB, free: 0.6016 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.095e-06/0.7518, allocations: 1.344 kB / 1.222 GB, free: 0.6016 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/0.7518, allocations: 0 / 1.222 GB, free: 0.6016 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.7518, allocations: 0 / 1.222 GB, free: 0.6016 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001533/0.7519, allocations: 182 kB / 1.222 GB, free: 424 kB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 5.121e-05/0.752, allocations: 82.39 kB / 1.222 GB, free: 324 kB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.399e-05/0.752, allocations: 1.219 kB / 1.222 GB, free: 324 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.655e-05/0.752, allocations: 1.156 kB / 1.222 GB, free: 324 kB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.793e-05/0.7521, allocations: 1.062 kB / 1.222 GB, free: 324 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.721e-06/0.7521, allocations: 1.094 kB / 1.222 GB, free: 324 kB / 0.92 GB Notification: Performance of sorting global known variables: time 6.205e-05/0.7521, allocations: 92.03 kB / 1.222 GB, free: 240 kB / 0.92 GB Notification: Performance of sort global known variables: time 1e-07/0.7521, allocations: 4.031 kB / 1.222 GB, free: 236 kB / 0.92 GB Notification: Performance of remove unused functions: time 0.00027/0.7524, allocations: 17.12 kB / 1.222 GB, free: 228 kB / 0.92 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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 0.0001663/0.7526, allocations: 103.4 kB / 1.222 GB, free: 136 kB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0001516/0.7527, allocations: 82.92 kB / 1.222 GB, free: 60 kB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 6.021e-06/0.7527, allocations: 0 / 1.222 GB, free: 60 kB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 6.29e-05/0.7528, allocations: 59.44 kB / 1.222 GB, free: 15.99 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002103/0.753, allocations: 10.34 kB / 1.222 GB, free: 15.98 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002936/0.7533, allocations: 104.2 kB / 1.222 GB, free: 15.88 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003255/0.7536, allocations: 0.6783 MB / 1.223 GB, free: 15.18 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0001041/0.7537, allocations: 10.89 kB / 1.223 GB, free: 15.17 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.578e-05/0.7537, allocations: 8.531 kB / 1.223 GB, free: 15.17 MB / 0.9356 GB Notification: Performance of SimCode: time 4.91e-07/0.7537, allocations: 1.219 kB / 1.223 GB, free: 15.17 MB / 0.9356 GB Notification: Performance of Templates: time 0.003348/0.7571, allocations: 0.5702 MB / 1.224 GB, free: 14.88 MB / 0.9356 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.sim & ./Buildings_10_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Functions_Examples_TrapezoidalIntegration.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.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: 8.47375054564327]