Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Math.Functions.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.001279/0.001279, allocations: 113.9 kB / 17.61 MB, free: 4.684 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.001338/0.001338, allocations: 185.9 kB / 20.78 MB, free: 1.52 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.446/1.446, allocations: 225.6 MB / 249.4 MB, free: 3.137 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.764/2.764, allocations: 476.7 MB / 0.7629 GB, free: 15.27 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.PowerLinearized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|TExact",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Functions.Examples.PowerLinearized") translateModel(Buildings.Utilities.Math.Functions.Examples.PowerLinearized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|TExact",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Functions.Examples.PowerLinearized") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002217/0.002217, allocations: 63.91 kB / 1.107 GB, free: 4.52 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9956/0.9978, allocations: 168.7 MB / 1.272 GB, free: 7.898 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.PowerLinearized): time 0.002022/0.9998, allocations: 0.601 MB / 1.273 GB, free: 7.535 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0003361/1, allocations: 100.5 kB / 1.273 GB, free: 7.469 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.956e-05/1, allocations: 0.6875 kB / 1.273 GB, free: 7.469 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 1.531e-05/1, allocations: 4 kB / 1.273 GB, free: 7.465 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 5.277e-05/1, allocations: 3.938 kB / 1.273 GB, free: 7.461 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002327/1, allocations: 14 kB / 1.273 GB, free: 7.457 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 6.104e-05/1.001, allocations: 5.938 kB / 1.273 GB, free: 7.457 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.58e-05/1.001, allocations: 1.672 kB / 1.273 GB, free: 7.457 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.077e-05/1.001, allocations: 3.188 kB / 1.273 GB, free: 7.457 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 8.213e-05/1.001, allocations: 10.39 kB / 1.273 GB, free: 7.449 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.326e-05/1.001, allocations: 0.8125 kB / 1.273 GB, free: 7.449 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 6.511e-05/1.001, allocations: 15.45 kB / 1.273 GB, free: 7.445 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.29e-05/1.001, allocations: 0.8125 kB / 1.273 GB, free: 7.445 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.309e-05/1.001, allocations: 9.594 kB / 1.273 GB, free: 7.438 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 9.475e-05/1.001, allocations: 13.36 kB / 1.273 GB, free: 7.434 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.237e-06/1.001, allocations: 0.7188 kB / 1.273 GB, free: 7.434 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.134e-06/1.001, allocations: 0.9844 kB / 1.273 GB, free: 7.434 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.693e-06/1.001, allocations: 0.9062 kB / 1.273 GB, free: 7.434 MB / 0.9981 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.0003298/1.001, allocations: 322.3 kB / 1.273 GB, free: 7.082 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.919e-05/1.001, allocations: 13.38 kB / 1.273 GB, free: 7.078 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001599/1.001, allocations: 10.34 kB / 1.273 GB, free: 7.078 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.182e-05/1.002, allocations: 165.7 kB / 1.273 GB, free: 6.879 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.285e-05/1.002, allocations: 1.25 kB / 1.273 GB, free: 6.879 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.299e-05/1.002, allocations: 2.188 kB / 1.273 GB, free: 6.879 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001248/1.002, allocations: 39.75 kB / 1.273 GB, free: 6.844 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.14e-05/1.002, allocations: 1.078 kB / 1.273 GB, free: 6.844 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.447e-06/1.002, allocations: 3.938 kB / 1.273 GB, free: 6.84 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/1.002, allocations: 0.8125 kB / 1.273 GB, free: 6.84 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.571e-05/1.002, allocations: 15.22 kB / 1.273 GB, free: 6.836 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001193/1.002, allocations: 155.1 kB / 1.273 GB, free: 6.641 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000171/1.002, allocations: 38.28 kB / 1.274 GB, free: 6.613 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.692e-05/1.002, allocations: 14.98 kB / 1.274 GB, free: 6.602 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.925e-05/1.002, allocations: 0.75 kB / 1.274 GB, free: 6.602 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.459e-05/1.002, allocations: 32.16 kB / 1.274 GB, free: 6.562 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/1.002, allocations: 4 kB / 1.274 GB, free: 6.559 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3): time 0.00023/1.002, allocations: 60.67 kB / 1.274 GB, free: 6.516 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.851e-05/1.002, allocations: 56.75 kB / 1.274 GB, free: 6.449 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.839e-05/1.002, allocations: 93.86 kB / 1.274 GB, free: 6.348 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 7.615e-06/1.002, allocations: 26.31 kB / 1.274 GB, free: 6.316 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 1.147e-05/1.002, allocations: 80.89 kB / 1.274 GB, free: 6.234 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.143e-05/1.002, allocations: 14.25 kB / 1.274 GB, free: 6.223 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.92e-05/1.003, allocations: 17.58 kB / 1.274 GB, free: 6.203 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.596e-05/1.003, allocations: 320.3 kB / 1.274 GB, free: 5.883 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.985e-05/1.003, allocations: 5.375 kB / 1.274 GB, free: 5.883 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.192e-05/1.003, allocations: 6.125 kB / 1.274 GB, free: 5.883 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.613e-05/1.003, allocations: 21.42 kB / 1.274 GB, free: 5.871 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/1.003, allocations: 0 / 1.274 GB, free: 5.871 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001122/1.003, allocations: 56.36 kB / 1.274 GB, free: 5.828 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.556e-05/1.003, allocations: 5.688 kB / 1.274 GB, free: 5.828 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.577e-06/1.003, allocations: 4 kB / 1.274 GB, free: 5.824 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.539e-05/1.003, allocations: 8.781 kB / 1.274 GB, free: 5.816 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003845/1.003, allocations: 41.8 kB / 1.274 GB, free: 5.816 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001003/1.004, allocations: 1.401 MB / 1.276 GB, free: 4.375 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.054e-05/1.004, allocations: 6.422 kB / 1.276 GB, free: 4.371 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.863e-06/1.004, allocations: 2.531 kB / 1.276 GB, free: 4.371 MB / 0.9981 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 (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 5.423e-05/1.004, allocations: 116.2 kB / 1.276 GB, free: 4.25 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.434e-06/1.004, allocations: 0.7188 kB / 1.276 GB, free: 4.25 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.187e-05/1.004, allocations: 4.359 kB / 1.276 GB, free: 4.246 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.032e-06/1.004, allocations: 5.031 kB / 1.276 GB, free: 4.242 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.82e-07/1.004, allocations: 0 / 1.276 GB, free: 4.242 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/1.004, allocations: 4.859 kB / 1.276 GB, free: 4.242 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.763e-05/1.004, allocations: 156.2 kB / 1.276 GB, free: 4.043 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.472e-06/1.004, allocations: 0.7188 kB / 1.276 GB, free: 4.043 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003614/1.005, allocations: 49.25 kB / 1.276 GB, free: 4.039 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.684e-06/1.005, allocations: 0.9062 kB / 1.276 GB, free: 4.039 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.384e-06/1.005, allocations: 1.359 kB / 1.276 GB, free: 4.039 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000854/1.006, allocations: 1.406 MB / 1.277 GB, free: 2.594 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/1.006, allocations: 4 kB / 1.277 GB, free: 2.59 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000165/1.006, allocations: 83.28 kB / 1.277 GB, free: 18.51 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 4.146e-05/1.006, allocations: 81.05 kB / 1.278 GB, free: 18.41 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.835e-06/1.006, allocations: 5 kB / 1.278 GB, free: 18.41 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.83e-05/1.006, allocations: 1.875 kB / 1.278 GB, free: 18.41 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.53e-05/1.006, allocations: 5 kB / 1.278 GB, free: 18.41 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.017e-06/1.006, allocations: 0.625 kB / 1.278 GB, free: 18.41 MB / 1.014 GB Notification: Performance of sorting global known variables: time 3.823e-05/1.006, allocations: 80.12 kB / 1.278 GB, free: 18.33 MB / 1.014 GB Notification: Performance of sort global known variables: time 9e-08/1.006, allocations: 0 / 1.278 GB, free: 18.33 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0001912/1.006, allocations: 7 kB / 1.278 GB, free: 18.33 MB / 1.014 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 (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001413/1.006, allocations: 97.91 kB / 1.278 GB, free: 18.24 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0004625/1.007, allocations: 66.84 kB / 1.278 GB, free: 18.23 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 8.787e-06/1.007, allocations: 0 / 1.278 GB, free: 18.23 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0002329/1.007, allocations: 37.95 kB / 1.278 GB, free: 18.22 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001326/1.007, allocations: 4.531 kB / 1.278 GB, free: 18.22 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003233/1.007, allocations: 120.8 kB / 1.278 GB, free: 18.11 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002751/1.008, allocations: 0.6743 MB / 1.279 GB, free: 17.41 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 2.983e-05/1.008, allocations: 1.031 kB / 1.279 GB, free: 17.41 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.563e-05/1.008, allocations: 9.562 kB / 1.279 GB, free: 17.41 MB / 1.014 GB Notification: Performance of SimCode: time 4.61e-07/1.008, allocations: 3.938 kB / 1.279 GB, free: 17.4 MB / 1.014 GB Notification: Performance of Templates: time 0.002723/1.011, allocations: 428 kB / 1.279 GB, free: 17.34 MB / 1.014 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.sim & ./Buildings_11_Buildings.Utilities.Math.Functions.Examples.PowerLinearized -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Functions.Examples.PowerLinearized_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Functions_Examples_PowerLinearized.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Functions.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.891943397931755]