Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Math.Examples.VectorFunctions.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.00167/0.00167, allocations: 112.8 kB / 17.08 MB, free: 6.012 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.001903/0.001903, allocations: 193.2 kB / 20.03 MB, free: 3.082 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.438/1.438, allocations: 222.9 MB / 245.7 MB, free: 4.223 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.678/2.678, allocations: 437.1 MB / 0.7178 GB, free: 4.559 MB / 0.5606 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.Examples.VectorFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sine.y|sine1.y|sine2.y|minVec.y|maxVec.y|aveVec.y",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Examples.VectorFunctions") translateModel(Buildings.Utilities.Math.Examples.VectorFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sine.y|sine1.y|sine2.y|minVec.y|maxVec.y|aveVec.y",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Examples.VectorFunctions") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.003295/0.003295, allocations: 67.89 kB / 1.028 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3335/0.3369, allocations: 151.6 MB / 1.176 GB, free: 5.898 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.VectorFunctions): time 0.003386/0.3403, allocations: 1.603 MB / 1.177 GB, free: 4.273 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001068/0.3414, allocations: 0.4957 MB / 1.178 GB, free: 3.77 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.91e-05/0.3415, allocations: 7.938 kB / 1.178 GB, free: 3.762 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.000127/0.3416, allocations: 11.88 kB / 1.178 GB, free: 3.75 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 4.383e-05/0.3417, allocations: 15.86 kB / 1.178 GB, free: 3.734 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002716/0.342, allocations: 39.89 kB / 1.178 GB, free: 3.695 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001472/0.3421, allocations: 79.77 kB / 1.178 GB, free: 3.617 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001673/0.3423, allocations: 36.22 kB / 1.178 GB, free: 3.578 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001174/0.3424, allocations: 43.83 kB / 1.178 GB, free: 3.535 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001073/0.3426, allocations: 47.72 kB / 1.178 GB, free: 3.488 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.045e-05/0.3426, allocations: 4 kB / 1.178 GB, free: 3.484 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 7.15e-05/0.3427, allocations: 12 kB / 1.178 GB, free: 3.473 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 5.274e-05/0.3427, allocations: 19.92 kB / 1.178 GB, free: 3.453 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 6.758e-05/0.3428, allocations: 47.72 kB / 1.178 GB, free: 3.406 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001934/0.343, allocations: 87.58 kB / 1.178 GB, free: 3.32 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.343, allocations: 4 kB / 1.178 GB, free: 3.316 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.753e-06/0.343, allocations: 0 / 1.178 GB, free: 3.316 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.861e-06/0.343, allocations: 0 / 1.178 GB, free: 3.316 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0006835/0.3437, allocations: 406.9 kB / 1.179 GB, free: 2.871 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.957e-05/0.3438, allocations: 8.031 kB / 1.179 GB, free: 2.863 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.917e-05/0.3438, allocations: 16.84 kB / 1.179 GB, free: 2.848 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002253/0.344, allocations: 194.5 kB / 1.179 GB, free: 2.621 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.365e-05/0.3441, allocations: 8.375 kB / 1.179 GB, free: 2.613 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.434e-05/0.3441, allocations: 8.375 kB / 1.179 GB, free: 2.605 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002934/0.3444, allocations: 108.3 kB / 1.179 GB, free: 2.496 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.122e-05/0.3444, allocations: 0 / 1.179 GB, free: 2.496 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.689e-05/0.3444, allocations: 8 kB / 1.179 GB, free: 2.488 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/0.3445, allocations: 0 / 1.179 GB, free: 2.488 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002528/0.3447, allocations: 91.94 kB / 1.179 GB, free: 2.398 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000687/0.3454, allocations: 384.5 kB / 1.18 GB, free: 1.973 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001728/0.3456, allocations: 70.47 kB / 1.18 GB, free: 1.895 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001279/0.3457, allocations: 44.95 kB / 1.18 GB, free: 1.848 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 4.507e-05/0.3458, allocations: 4 kB / 1.18 GB, free: 1.844 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.259e-05/0.3458, allocations: 38.56 kB / 1.18 GB, free: 1.797 MB / 0.92 GB Notification: Performance of pre-optimization done (n=6): time 1.333e-06/0.3458, allocations: 0 / 1.18 GB, free: 1.797 MB / 0.92 GB Notification: Performance of matching and sorting (n=6): time 0.0004879/0.3463, allocations: 157.6 kB / 1.18 GB, free: 1.637 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.69e-05/0.3464, allocations: 59.39 kB / 1.18 GB, free: 1.566 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001293/0.3465, allocations: 129.8 kB / 1.18 GB, free: 1.43 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.193e-05/0.3465, allocations: 33.7 kB / 1.18 GB, free: 1.391 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 6.964e-05/0.3466, allocations: 100.2 kB / 1.18 GB, free: 1.289 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 3.705e-05/0.3467, allocations: 23.84 kB / 1.18 GB, free: 1.266 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.98e-05/0.3467, allocations: 17.72 kB / 1.18 GB, free: 1.242 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001531/0.3469, allocations: 326.8 kB / 1.18 GB, free: 0.9141 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001192/0.347, allocations: 35.97 kB / 1.181 GB, free: 0.8789 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001109/0.3471, allocations: 43.97 kB / 1.181 GB, free: 0.8359 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002436/0.3474, allocations: 88.8 kB / 1.181 GB, free: 0.7461 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.018e-06/0.3474, allocations: 0 / 1.181 GB, free: 0.7461 MB / 0.92 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002941/0.3477, allocations: 129.9 kB / 1.181 GB, free: 0.6133 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.502e-05/0.3477, allocations: 4 kB / 1.181 GB, free: 0.6094 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.07e-06/0.3477, allocations: 0 / 1.181 GB, free: 0.6094 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.448e-05/0.3478, allocations: 8 kB / 1.181 GB, free: 0.6016 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001446/0.3479, allocations: 31.86 kB / 1.181 GB, free: 0.5703 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.2e-06/0.3479, allocations: 0 / 1.181 GB, free: 0.5703 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.279e-05/0.348, allocations: 11.92 kB / 1.181 GB, free: 0.5586 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.203e-05/0.348, allocations: 4 kB / 1.181 GB, free: 0.5547 MB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (6): * Single equations (assignments): 6 * 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 9.886e-05/0.3481, allocations: 113.8 kB / 1.181 GB, free: 444 kB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.441e-05/0.3482, allocations: 11.95 kB / 1.181 GB, free: 432 kB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003799/0.3486, allocations: 146.3 kB / 1.181 GB, free: 280 kB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.21e-06/0.3486, allocations: 3.938 kB / 1.181 GB, free: 276 kB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.3486, allocations: 0 / 1.181 GB, free: 276 kB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.3486, allocations: 0 / 1.181 GB, free: 276 kB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002531/0.3488, allocations: 201.6 kB / 1.181 GB, free: 24 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.007e-06/0.3489, allocations: 0 / 1.181 GB, free: 24 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001286/0.349, allocations: 31.97 kB / 1.181 GB, free: 15.99 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.654e-06/0.349, allocations: 0 / 1.181 GB, free: 15.99 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.898e-06/0.349, allocations: 0 / 1.181 GB, free: 15.99 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.797e-06/0.349, allocations: 7.938 kB / 1.181 GB, free: 15.98 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.349, allocations: 0 / 1.181 GB, free: 15.98 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003554/0.3494, allocations: 219.4 kB / 1.182 GB, free: 15.75 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.061e-05/0.3495, allocations: 81.06 kB / 1.182 GB, free: 15.66 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.316e-05/0.3495, allocations: 8 kB / 1.182 GB, free: 15.65 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001089/0.3496, allocations: 11.92 kB / 1.182 GB, free: 15.64 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.904e-05/0.3497, allocations: 4 kB / 1.182 GB, free: 15.63 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.37e-05/0.3497, allocations: 7.984 kB / 1.182 GB, free: 15.62 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 8.194e-05/0.3498, allocations: 109.7 kB / 1.182 GB, free: 15.52 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1e-07/0.3498, allocations: 0 / 1.182 GB, free: 15.52 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002461/0.35, allocations: 19.89 kB / 1.182 GB, free: 15.5 MB / 0.9356 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 (6): * Single equations (assignments): 6 * 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 0.0001653/0.3502, allocations: 99.25 kB / 1.182 GB, free: 15.39 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.00033/0.3505, allocations: 108 kB / 1.182 GB, free: 15.29 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.3506, allocations: 0 / 1.182 GB, free: 15.29 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001372/0.3507, allocations: 55.91 kB / 1.182 GB, free: 15.23 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002359/0.3509, allocations: 3.938 kB / 1.182 GB, free: 15.23 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005178/0.3515, allocations: 256.5 kB / 1.182 GB, free: 14.95 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003732/0.3518, allocations: 0.7041 MB / 1.183 GB, free: 14.21 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.249e-05/0.3519, allocations: 11.44 kB / 1.183 GB, free: 14.2 MB / 0.9356 GB Notification: Performance of SimCode: time 3.11e-07/0.3519, allocations: 0 / 1.183 GB, free: 14.2 MB / 0.9356 GB Notification: Performance of Templates: time 0.00328/0.3552, allocations: 1.113 MB / 1.184 GB, free: 13.09 MB / 0.9356 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Utilities.Math.Examples.VectorFunctions.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Utilities.Math.Examples.VectorFunctions.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Examples.VectorFunctions.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Examples.VectorFunctions.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Examples.VectorFunctions.sim & ./Buildings_10_Buildings.Utilities.Math.Examples.VectorFunctions -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Examples.VectorFunctions.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Examples.VectorFunctions_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Examples_VectorFunctions.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Examples.VectorFunctions.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: 10.23992378404364]