Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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: 114.5 kB / 18.88 MB, free: 3.062 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.001658/0.001658, allocations: 195.5 kB / 22.17 MB, free: 5.656 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.498/1.498, allocations: 225.6 MB / 250.9 MB, free: 13.3 MB / 206.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.785/2.785, allocations: 476.7 MB / 0.7645 GB, free: 10.11 MB / 0.6231 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.Examples.PowerLinearized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|powerLinearized.y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Examples.PowerLinearized") translateModel(Buildings.Utilities.Math.Examples.PowerLinearized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|powerLinearized.y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Examples.PowerLinearized") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001842/0.001842, allocations: 67.89 kB / 1.109 GB, free: 6.551 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8706/0.8724, allocations: 168.7 MB / 1.274 GB, free: 4.43 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.PowerLinearized): time 0.002747/0.8752, allocations: 1.454 MB / 1.275 GB, free: 2.969 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.000307/0.8755, allocations: 95.69 kB / 1.276 GB, free: 2.875 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.478e-05/0.8755, allocations: 4 kB / 1.276 GB, free: 2.871 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.804e-05/0.8756, allocations: 0 / 1.276 GB, free: 2.871 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 5.136e-05/0.8756, allocations: 11.92 kB / 1.276 GB, free: 2.859 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002004/0.8758, allocations: 19.92 kB / 1.276 GB, free: 2.84 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 7.232e-05/0.8759, allocations: 19.98 kB / 1.276 GB, free: 2.82 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 9.266e-05/0.876, allocations: 11.92 kB / 1.276 GB, free: 2.809 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 4.526e-05/0.876, allocations: 11.94 kB / 1.276 GB, free: 2.797 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 3.936e-05/0.8761, allocations: 7.984 kB / 1.276 GB, free: 2.789 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.431e-05/0.8761, allocations: 3.938 kB / 1.276 GB, free: 2.785 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 6.027e-05/0.8761, allocations: 15.98 kB / 1.276 GB, free: 2.77 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.91e-05/0.8761, allocations: 15.94 kB / 1.276 GB, free: 2.754 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.473e-05/0.8762, allocations: 11.92 kB / 1.276 GB, free: 2.742 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001138/0.8763, allocations: 34.56 kB / 1.276 GB, free: 2.711 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.8763, allocations: 0 / 1.276 GB, free: 2.711 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.293e-06/0.8763, allocations: 4 kB / 1.276 GB, free: 2.707 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.779e-06/0.8763, allocations: 0 / 1.276 GB, free: 2.707 MB / 0.9669 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.0004773/0.8768, allocations: 343.3 kB / 1.276 GB, free: 2.32 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.572e-05/0.8768, allocations: 16.02 kB / 1.276 GB, free: 2.305 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001594/0.877, allocations: 16.92 kB / 1.276 GB, free: 2.289 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001484/0.8771, allocations: 168.3 kB / 1.276 GB, free: 2.086 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.944e-05/0.8771, allocations: 384 / 1.276 GB, free: 2.086 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.742e-05/0.8772, allocations: 8.375 kB / 1.276 GB, free: 2.078 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001978/0.8773, allocations: 54.22 kB / 1.276 GB, free: 2.02 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.245e-06/0.8774, allocations: 192 / 1.276 GB, free: 2.02 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.108e-05/0.8774, allocations: 7.938 kB / 1.276 GB, free: 2.012 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.067e-06/0.8774, allocations: 0 / 1.276 GB, free: 2.012 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002265/0.8776, allocations: 51.89 kB / 1.276 GB, free: 1.961 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004092/0.878, allocations: 261 kB / 1.277 GB, free: 1.656 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001922/0.8782, allocations: 54.48 kB / 1.277 GB, free: 1.594 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001178/0.8783, allocations: 32.89 kB / 1.277 GB, free: 1.559 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.774e-05/0.8783, allocations: 0 / 1.277 GB, free: 1.559 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.139e-05/0.8784, allocations: 34.56 kB / 1.277 GB, free: 1.516 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 8.52e-07/0.8784, allocations: 3.938 kB / 1.277 GB, free: 1.512 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.0004446/0.8788, allocations: 97.62 kB / 1.277 GB, free: 1.41 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.728e-05/0.8788, allocations: 55.53 kB / 1.277 GB, free: 1.344 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.841e-05/0.8789, allocations: 105.8 kB / 1.277 GB, free: 1.23 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.99e-05/0.879, allocations: 25.7 kB / 1.277 GB, free: 1.199 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.166e-05/0.879, allocations: 88.14 kB / 1.277 GB, free: 1.109 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.928e-05/0.879, allocations: 3.953 kB / 1.277 GB, free: 1.105 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.788e-05/0.8791, allocations: 13.72 kB / 1.277 GB, free: 1.086 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0002188/0.8793, allocations: 310.8 kB / 1.277 GB, free: 0.7734 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001223/0.8794, allocations: 27.97 kB / 1.277 GB, free: 0.7461 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001157/0.8796, allocations: 27.97 kB / 1.277 GB, free: 0.7188 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002659/0.8798, allocations: 52.75 kB / 1.278 GB, free: 0.6641 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.8798, allocations: 0 / 1.278 GB, free: 0.6641 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002631/0.8801, allocations: 93.55 kB / 1.278 GB, free: 0.5664 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.299e-05/0.8801, allocations: 4 kB / 1.278 GB, free: 0.5625 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.807e-06/0.8801, allocations: 3.938 kB / 1.278 GB, free: 0.5586 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.46e-05/0.8801, allocations: 3.984 kB / 1.278 GB, free: 0.5547 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001087/0.8802, allocations: 8 kB / 1.278 GB, free: 0.5469 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.454e-06/0.8802, allocations: 3.984 kB / 1.278 GB, free: 0.543 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.301e-05/0.8803, allocations: 4 kB / 1.278 GB, free: 0.5391 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.861e-06/0.8803, allocations: 4.031 kB / 1.278 GB, free: 0.5352 MB / 0.9669 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 9.084e-05/0.8804, allocations: 118.3 kB / 1.278 GB, free: 420 kB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.82e-05/0.8804, allocations: 8 kB / 1.278 GB, free: 412 kB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.63e-05/0.8804, allocations: 3.531 kB / 1.278 GB, free: 408 kB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.8804, allocations: 0 / 1.278 GB, free: 408 kB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/0.8805, allocations: 0 / 1.278 GB, free: 408 kB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.134e-06/0.8805, allocations: 0 / 1.278 GB, free: 408 kB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001927/0.8806, allocations: 169.5 kB / 1.278 GB, free: 188 kB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.01e-07/0.8806, allocations: 0 / 1.278 GB, free: 188 kB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.803e-05/0.8807, allocations: 19.98 kB / 1.278 GB, free: 168 kB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.8807, allocations: 0 / 1.278 GB, free: 168 kB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.494e-06/0.8807, allocations: 256 / 1.278 GB, free: 168 kB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.8807, allocations: 0 / 1.278 GB, free: 168 kB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/0.8807, allocations: 4 kB / 1.278 GB, free: 164 kB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000366/0.8811, allocations: 175.4 kB / 1.278 GB, free: 15.97 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.921e-05/0.8812, allocations: 85.09 kB / 1.278 GB, free: 15.87 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.396e-05/0.8812, allocations: 0 / 1.278 GB, free: 15.87 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001061/0.8813, allocations: 11.98 kB / 1.278 GB, free: 15.86 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.802e-05/0.8813, allocations: 3.984 kB / 1.278 GB, free: 15.86 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.967e-06/0.8813, allocations: 0 / 1.278 GB, free: 15.86 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.194e-05/0.8814, allocations: 87.27 kB / 1.278 GB, free: 15.77 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.01e-07/0.8814, allocations: 0 / 1.278 GB, free: 15.77 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002181/0.8816, allocations: 8 kB / 1.278 GB, free: 15.76 MB / 0.9825 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.0001259/0.8817, allocations: 103.2 kB / 1.278 GB, free: 15.65 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002825/0.882, allocations: 47.95 kB / 1.278 GB, free: 15.6 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.744e-06/0.882, allocations: 0 / 1.278 GB, free: 15.6 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001177/0.8821, allocations: 27.97 kB / 1.278 GB, free: 15.57 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002981/0.8824, allocations: 5.969 kB / 1.278 GB, free: 15.57 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005157/0.8829, allocations: 137.5 kB / 1.279 GB, free: 15.41 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004856/0.8834, allocations: 0.6845 MB / 1.279 GB, free: 14.7 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 4.082e-05/0.8835, allocations: 3.938 kB / 1.279 GB, free: 14.7 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.881e-05/0.8835, allocations: 7.438 kB / 1.279 GB, free: 14.69 MB / 0.9825 GB Notification: Performance of SimCode: time 3.81e-07/0.8835, allocations: 0 / 1.279 GB, free: 14.69 MB / 0.9825 GB Notification: Performance of Templates: time 0.004206/0.8877, allocations: 0.5825 MB / 1.28 GB, free: 14.11 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Utilities.Math.Examples.PowerLinearized.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Math.Examples.PowerLinearized.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.PowerLinearized.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.PowerLinearized.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.PowerLinearized.sim & ./Buildings_11_Buildings.Utilities.Math.Examples.PowerLinearized -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Examples.PowerLinearized.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.PowerLinearized_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_PowerLinearized.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_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.819772463757545]