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.001734/0.001734, allocations: 103.7 kB / 16.45 MB, free: 6.457 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.001956/0.001956, allocations: 198.8 kB / 19.41 MB, free: 3.645 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.421/1.421, allocations: 225.6 MB / 247.8 MB, free: 13.93 MB / 206.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.534/2.534, allocations: 443.4 MB / 0.7286 GB, free: 13.27 MB / 0.5919 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.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.001932/0.001932, allocations: 67.89 kB / 1.056 GB, free: 5.383 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8051/0.807, allocations: 160.7 MB / 1.213 GB, free: 4.141 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.PowerLinearized): time 0.003004/0.81, allocations: 1.447 MB / 1.215 GB, free: 3.008 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.000319/0.8103, allocations: 97.08 kB / 1.215 GB, free: 2.93 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.218e-05/0.8104, allocations: 0 / 1.215 GB, free: 2.93 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.086e-05/0.8104, allocations: 13 kB / 1.215 GB, free: 2.918 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 3.737e-05/0.8104, allocations: 0 / 1.215 GB, free: 2.918 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001943/0.8106, allocations: 16.61 kB / 1.215 GB, free: 2.906 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 7.699e-05/0.8107, allocations: 26.42 kB / 1.215 GB, free: 2.891 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 9.624e-05/0.8108, allocations: 5.969 kB / 1.215 GB, free: 2.887 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 4.292e-05/0.8108, allocations: 16.25 kB / 1.215 GB, free: 2.875 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 3.575e-05/0.8109, allocations: 7.281 kB / 1.215 GB, free: 2.871 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.351e-05/0.8109, allocations: 1.938 kB / 1.215 GB, free: 2.871 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 6.004e-05/0.8109, allocations: 16.95 kB / 1.215 GB, free: 2.863 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.75e-05/0.811, allocations: 8.984 kB / 1.215 GB, free: 2.855 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 2.645e-05/0.811, allocations: 14.22 kB / 1.215 GB, free: 2.844 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001304/0.8111, allocations: 39.61 kB / 1.215 GB, free: 2.816 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.127e-06/0.8111, allocations: 0.7188 kB / 1.215 GB, free: 2.816 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.153e-06/0.8111, allocations: 0 / 1.215 GB, free: 2.816 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.789e-06/0.8111, allocations: 0.75 kB / 1.215 GB, free: 2.816 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.0005093/0.8116, allocations: 344.5 kB / 1.215 GB, free: 2.445 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.461e-05/0.8117, allocations: 10.03 kB / 1.215 GB, free: 2.445 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000159/0.8118, allocations: 12.86 kB / 1.215 GB, free: 2.441 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001535/0.812, allocations: 178.2 kB / 1.216 GB, free: 2.23 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.317e-05/0.812, allocations: 1.25 kB / 1.216 GB, free: 2.23 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.517e-05/0.812, allocations: 5.406 kB / 1.216 GB, free: 2.227 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002066/0.8122, allocations: 62.22 kB / 1.216 GB, free: 2.176 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/0.8122, allocations: 192 / 1.216 GB, free: 2.176 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.178e-05/0.8123, allocations: 3.938 kB / 1.216 GB, free: 2.172 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.8123, allocations: 0.9688 kB / 1.216 GB, free: 2.172 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002193/0.8125, allocations: 50.05 kB / 1.216 GB, free: 2.148 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004075/0.8129, allocations: 263 kB / 1.216 GB, free: 1.855 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001845/0.8131, allocations: 50.11 kB / 1.216 GB, free: 1.816 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001292/0.8132, allocations: 39.23 kB / 1.216 GB, free: 1.789 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.724e-05/0.8132, allocations: 0 / 1.216 GB, free: 1.789 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.155e-05/0.8132, allocations: 35.22 kB / 1.216 GB, free: 1.746 MB / 0.92 GB Notification: Performance of pre-optimization done (n=2): time 7.81e-07/0.8132, allocations: 0.7188 kB / 1.216 GB, free: 1.746 MB / 0.92 GB Notification: Performance of matching and sorting (n=2): time 0.0004294/0.8137, allocations: 96.16 kB / 1.216 GB, free: 1.688 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.258e-05/0.8137, allocations: 56.62 kB / 1.216 GB, free: 1.621 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.544e-05/0.8138, allocations: 105.2 kB / 1.216 GB, free: 1.516 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.955e-05/0.8138, allocations: 29.7 kB / 1.216 GB, free: 1.48 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 4.971e-05/0.8139, allocations: 81.33 kB / 1.216 GB, free: 1.398 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.136e-05/0.8139, allocations: 4.984 kB / 1.216 GB, free: 1.395 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.761e-05/0.8139, allocations: 15.81 kB / 1.216 GB, free: 1.375 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001493/0.8141, allocations: 315.9 kB / 1.217 GB, free: 1.059 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001112/0.8142, allocations: 29.05 kB / 1.217 GB, free: 1.043 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001031/0.8143, allocations: 29.84 kB / 1.217 GB, free: 1.027 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000203/0.8145, allocations: 54.66 kB / 1.217 GB, free: 0.9961 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.8145, allocations: 0 / 1.217 GB, free: 0.9961 MB / 0.92 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002558/0.8148, allocations: 84.73 kB / 1.217 GB, free: 0.9375 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.467e-05/0.8148, allocations: 4.75 kB / 1.217 GB, free: 0.9375 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.8148, allocations: 1.188 kB / 1.217 GB, free: 0.9375 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.293e-05/0.8148, allocations: 0 / 1.217 GB, free: 0.9375 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001061/0.8149, allocations: 10.95 kB / 1.217 GB, free: 0.9336 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.8149, allocations: 1.156 kB / 1.217 GB, free: 0.9336 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.839e-05/0.815, allocations: 16.44 kB / 1.217 GB, free: 0.9219 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.953e-06/0.815, allocations: 5.312 kB / 1.217 GB, free: 0.918 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.931e-05/0.8151, allocations: 114.9 kB / 1.217 GB, free: 0.7969 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.482e-05/0.8151, allocations: 2.219 kB / 1.217 GB, free: 0.7969 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.936e-05/0.8151, allocations: 4.625 kB / 1.217 GB, free: 0.7891 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.8151, allocations: 0 / 1.217 GB, free: 0.7891 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.8152, allocations: 1.125 kB / 1.217 GB, free: 0.7891 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.424e-06/0.8152, allocations: 0 / 1.217 GB, free: 0.7891 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001942/0.8154, allocations: 168.2 kB / 1.217 GB, free: 0.582 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.31e-07/0.8154, allocations: 0 / 1.217 GB, free: 0.582 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.171e-05/0.8154, allocations: 16.02 kB / 1.217 GB, free: 0.5742 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.794e-06/0.8154, allocations: 256 / 1.217 GB, free: 0.5742 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.102e-05/0.8154, allocations: 3.984 kB / 1.217 GB, free: 0.5703 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.995e-06/0.8154, allocations: 5.125 kB / 1.217 GB, free: 0.5664 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.8155, allocations: 3.984 kB / 1.217 GB, free: 0.5625 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003045/0.8158, allocations: 174.8 kB / 1.217 GB, free: 416 kB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 5.632e-05/0.8158, allocations: 86.44 kB / 1.217 GB, free: 312 kB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.71e-05/0.8158, allocations: 5.328 kB / 1.217 GB, free: 308 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.129e-05/0.8159, allocations: 8.625 kB / 1.218 GB, free: 304 kB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.016e-05/0.816, allocations: 5.047 kB / 1.218 GB, free: 300 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.709e-06/0.816, allocations: 1.125 kB / 1.218 GB, free: 300 kB / 0.92 GB Notification: Performance of sorting global known variables: time 5.021e-05/0.816, allocations: 84.31 kB / 1.218 GB, free: 220 kB / 0.92 GB Notification: Performance of sort global known variables: time 8e-08/0.816, allocations: 0 / 1.218 GB, free: 220 kB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002242/0.8162, allocations: 4.719 kB / 1.218 GB, free: 220 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 (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.0001297/0.8164, allocations: 100.3 kB / 1.218 GB, free: 128 kB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0002769/0.8166, allocations: 52.25 kB / 1.218 GB, free: 104 kB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.8166, allocations: 0 / 1.218 GB, free: 104 kB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0001123/0.8168, allocations: 27.08 kB / 1.218 GB, free: 92 kB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002938/0.8171, allocations: 10.11 kB / 1.218 GB, free: 84 kB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003729/0.8174, allocations: 124.6 kB / 1.218 GB, free: 15.96 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003262/0.8178, allocations: 0.6781 MB / 1.219 GB, free: 15.26 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 2.972e-05/0.8178, allocations: 0.9062 kB / 1.219 GB, free: 15.26 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.043e-05/0.8178, allocations: 12.44 kB / 1.219 GB, free: 15.25 MB / 0.9356 GB Notification: Performance of SimCode: time 3.11e-07/0.8178, allocations: 0 / 1.219 GB, free: 15.25 MB / 0.9356 GB Notification: Performance of Templates: time 0.003016/0.8208, allocations: 0.5794 MB / 1.219 GB, free: 14.96 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.345512392930686]