Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Math.Examples.PowerLinearized.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.001309/0.001309, allocations: 113.9 kB / 18.94 MB, free: 2.93 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.001413/0.001413, allocations: 188.4 kB / 22.22 MB, free: 5.105 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.402/1.402, allocations: 225.6 MB / 251 MB, free: 13.26 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.599/2.599, allocations: 443.4 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.Examples.PowerLinearized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|powerLinearized.y",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Examples.PowerLinearized") translateModel(Buildings.Utilities.Math.Examples.PowerLinearized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|powerLinearized.y",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Examples.PowerLinearized") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002669/0.002669, allocations: 67.89 kB / 1.061 GB, free: 3.027 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.858/0.8607, allocations: 160.8 MB / 1.218 GB, free: 3.801 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.PowerLinearized): time 0.002703/0.8634, allocations: 1.46 MB / 1.22 GB, free: 2.66 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0002855/0.8637, allocations: 102.1 kB / 1.22 GB, free: 2.578 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.804e-05/0.8637, allocations: 0 / 1.22 GB, free: 2.578 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 2.379e-05/0.8637, allocations: 0 / 1.22 GB, free: 2.578 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 4.776e-05/0.8638, allocations: 9.734 kB / 1.22 GB, free: 2.57 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001821/0.864, allocations: 16.47 kB / 1.22 GB, free: 2.559 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 9.791e-05/0.8641, allocations: 20.47 kB / 1.22 GB, free: 2.547 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 9.454e-05/0.8642, allocations: 11.95 kB / 1.22 GB, free: 2.539 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 4.232e-05/0.8642, allocations: 6.906 kB / 1.22 GB, free: 2.535 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 4.325e-05/0.8642, allocations: 11.02 kB / 1.22 GB, free: 2.527 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.85e-05/0.8643, allocations: 2.688 kB / 1.22 GB, free: 2.527 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 6.554e-05/0.8643, allocations: 20.11 kB / 1.22 GB, free: 2.516 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.946e-05/0.8643, allocations: 9.188 kB / 1.22 GB, free: 2.508 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 2.812e-05/0.8644, allocations: 15.39 kB / 1.22 GB, free: 2.496 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001175/0.8645, allocations: 38.28 kB / 1.22 GB, free: 2.469 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.8645, allocations: 1.438 kB / 1.22 GB, free: 2.469 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.463e-06/0.8645, allocations: 0 / 1.22 GB, free: 2.469 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.909e-06/0.8645, allocations: 3.938 kB / 1.22 GB, free: 2.465 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004965/0.865, allocations: 345.5 kB / 1.22 GB, free: 2.094 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.41e-05/0.865, allocations: 9.188 kB / 1.22 GB, free: 2.094 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001612/0.8652, allocations: 17.52 kB / 1.22 GB, free: 2.086 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000159/0.8653, allocations: 169.4 kB / 1.221 GB, free: 1.883 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.237e-05/0.8654, allocations: 1.781 kB / 1.221 GB, free: 1.883 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.017e-06/0.8654, allocations: 1.812 kB / 1.221 GB, free: 1.883 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001873/0.8656, allocations: 53.17 kB / 1.221 GB, free: 1.84 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.646e-06/0.8656, allocations: 192 / 1.221 GB, free: 1.84 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.063e-05/0.8656, allocations: 3.938 kB / 1.221 GB, free: 1.836 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.938e-06/0.8656, allocations: 1.375 kB / 1.221 GB, free: 1.836 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002199/0.8658, allocations: 54.16 kB / 1.221 GB, free: 1.809 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004085/0.8662, allocations: 266.8 kB / 1.221 GB, free: 1.512 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001846/0.8664, allocations: 57.88 kB / 1.221 GB, free: 1.465 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001003/0.8665, allocations: 30.91 kB / 1.221 GB, free: 1.445 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.657e-05/0.8665, allocations: 0 / 1.221 GB, free: 1.445 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.829e-05/0.8665, allocations: 31.78 kB / 1.221 GB, free: 1.406 MB / 0.92 GB Notification: Performance of pre-optimization done (n=2): time 9.52e-07/0.8665, allocations: 0 / 1.221 GB, free: 1.406 MB / 0.92 GB Notification: Performance of matching and sorting (n=2): time 0.000395/0.8669, allocations: 109.2 kB / 1.221 GB, free: 1.336 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.105e-05/0.867, allocations: 51.41 kB / 1.221 GB, free: 1.273 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.526e-05/0.8671, allocations: 105.1 kB / 1.221 GB, free: 1.168 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.758e-05/0.8671, allocations: 26.8 kB / 1.221 GB, free: 1.137 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 4.861e-05/0.8671, allocations: 85.08 kB / 1.222 GB, free: 1.051 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.251e-05/0.8672, allocations: 13.08 kB / 1.222 GB, free: 1.039 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.4e-05/0.8672, allocations: 11.91 kB / 1.222 GB, free: 1.023 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.000136/0.8673, allocations: 315.9 kB / 1.222 GB, free: 0.707 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.733e-05/0.8674, allocations: 25.69 kB / 1.222 GB, free: 0.6953 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.092e-05/0.8675, allocations: 21.58 kB / 1.222 GB, free: 0.6875 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001769/0.8677, allocations: 51.28 kB / 1.222 GB, free: 0.6602 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.3e-06/0.8677, allocations: 11.92 kB / 1.222 GB, free: 0.6484 MB / 0.92 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000228/0.8679, allocations: 87.19 kB / 1.222 GB, free: 0.5859 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.336e-05/0.8679, allocations: 6.062 kB / 1.222 GB, free: 0.5859 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.8679, allocations: 0 / 1.222 GB, free: 0.5859 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.518e-05/0.868, allocations: 1.219 kB / 1.222 GB, free: 0.5859 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001017/0.8681, allocations: 10.27 kB / 1.222 GB, free: 0.582 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.8681, allocations: 1.125 kB / 1.222 GB, free: 0.582 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.685e-05/0.8681, allocations: 16.47 kB / 1.222 GB, free: 0.5703 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.382e-06/0.8681, allocations: 1.156 kB / 1.222 GB, free: 0.5703 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 (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 8.525e-05/0.8682, allocations: 119.7 kB / 1.222 GB, free: 456 kB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.531e-05/0.8682, allocations: 4.875 kB / 1.222 GB, free: 452 kB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.73e-05/0.8683, allocations: 4.688 kB / 1.222 GB, free: 448 kB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.8683, allocations: 1.125 kB / 1.222 GB, free: 448 kB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.856e-06/0.8683, allocations: 7.969 kB / 1.222 GB, free: 440 kB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.8683, allocations: 1.125 kB / 1.222 GB, free: 440 kB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002203/0.8685, allocations: 164.1 kB / 1.222 GB, free: 232 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.8685, allocations: 4 kB / 1.222 GB, free: 228 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.853e-05/0.8686, allocations: 15.36 kB / 1.222 GB, free: 220 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.8686, allocations: 0 / 1.222 GB, free: 220 kB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.164e-06/0.8686, allocations: 1.188 kB / 1.222 GB, free: 220 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.8686, allocations: 0 / 1.222 GB, free: 220 kB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.8686, allocations: 4.938 kB / 1.222 GB, free: 216 kB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002825/0.8689, allocations: 178.6 kB / 1.223 GB, free: 52 kB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 6.621e-05/0.869, allocations: 82.12 kB / 1.223 GB, free: 15.95 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.396e-05/0.869, allocations: 1.031 kB / 1.223 GB, free: 15.95 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.971e-05/0.8691, allocations: 12.3 kB / 1.223 GB, free: 15.95 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.603e-05/0.8691, allocations: 1.125 kB / 1.223 GB, free: 15.95 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.168e-06/0.8691, allocations: 1.125 kB / 1.223 GB, free: 15.95 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 5.046e-05/0.8691, allocations: 87.92 kB / 1.223 GB, free: 15.86 MB / 0.9356 GB Notification: Performance of sort global known variables: time 7e-08/0.8691, allocations: 0 / 1.223 GB, free: 15.86 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002192/0.8694, allocations: 9.156 kB / 1.223 GB, free: 15.86 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 (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 0.0001169/0.8695, allocations: 92.94 kB / 1.223 GB, free: 15.77 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002521/0.8697, allocations: 53.89 kB / 1.223 GB, free: 15.75 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.8697, allocations: 0 / 1.223 GB, free: 15.75 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.000102/0.8698, allocations: 27.38 kB / 1.223 GB, free: 15.74 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002736/0.8701, allocations: 9.219 kB / 1.223 GB, free: 15.73 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003414/0.8705, allocations: 122.1 kB / 1.223 GB, free: 15.61 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003088/0.8708, allocations: 0.678 MB / 1.224 GB, free: 14.91 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 2.81e-05/0.8708, allocations: 1.188 kB / 1.224 GB, free: 14.91 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.958e-05/0.8708, allocations: 12.34 kB / 1.224 GB, free: 14.9 MB / 0.9356 GB Notification: Performance of SimCode: time 2.71e-07/0.8708, allocations: 1.125 kB / 1.224 GB, free: 14.9 MB / 0.9356 GB Notification: Performance of Templates: time 0.003087/0.8739, allocations: 0.5825 MB / 1.224 GB, free: 14.61 MB / 0.9356 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Utilities.Math.Examples.PowerLinearized.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Utilities.Math.Examples.PowerLinearized.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Examples.PowerLinearized.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Examples.PowerLinearized.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Examples.PowerLinearized.sim & ./Buildings_10_Buildings.Utilities.Math.Examples.PowerLinearized -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Examples.PowerLinearized.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Examples.PowerLinearized_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Examples_PowerLinearized.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Examples.PowerLinearized.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.462472549639642]