Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007651/0.0007651, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008236/0.0008236, allocations: 178.2 kB / 23.22 MB, free: 1.348 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.852/0.852, allocations: 177.1 MB / 203.5 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.73/1.73, allocations: 389 MB / 0.6338 GB, free: 12.69 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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_latest_Buildings.Utilities.Math.Examples.PowerLinearized") translateModel(Buildings.Utilities.Math.Examples.PowerLinearized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|powerLinearized.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 0 / 1.001 GB, free: 11.9 MB / 0.9167 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.96e-05/2.126e-05, allocations: 6.281 kB / 1.001 GB, free: 11.89 MB / 0.9167 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.PowerLinearized): time 0.00172/0.001741, allocations: 1.474 MB / 1.002 GB, free: 10.41 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.0002363/0.001978, allocations: 91.69 kB / 1.002 GB, free: 10.32 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.303e-05/0.002011, allocations: 0 / 1.002 GB, free: 10.32 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 2.848e-05/0.002039, allocations: 4 kB / 1.002 GB, free: 10.32 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 4.066e-05/0.00208, allocations: 7.938 kB / 1.002 GB, free: 10.31 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.000194/0.002274, allocations: 15.92 kB / 1.002 GB, free: 10.29 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 6.485e-05/0.002339, allocations: 23.92 kB / 1.002 GB, free: 10.27 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 9.167e-05/0.00243, allocations: 11.98 kB / 1.002 GB, free: 10.26 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 5.079e-05/0.002481, allocations: 11.94 kB / 1.002 GB, free: 10.25 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 3.499e-05/0.002516, allocations: 11.97 kB / 1.002 GB, free: 10.23 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 1.846e-05/0.002535, allocations: 4 kB / 1.002 GB, free: 10.23 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 5.6e-05/0.002591, allocations: 15.98 kB / 1.003 GB, free: 10.21 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 1.536e-05/0.002606, allocations: 0 / 1.003 GB, free: 10.21 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 2.098e-05/0.002627, allocations: 23.92 kB / 1.003 GB, free: 10.19 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.000113/0.00274, allocations: 31.89 kB / 1.003 GB, free: 10.16 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 2.966e-06/0.002743, allocations: 4 kB / 1.003 GB, free: 10.16 MB / 0.9167 GB Notification: Performance of FrontEnd: time 9.72e-07/0.002744, allocations: 0 / 1.003 GB, free: 10.16 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 4.118e-06/0.002748, allocations: 0 / 1.003 GB, free: 10.16 MB / 0.9167 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.0003311/0.003079, allocations: 266.3 kB / 1.003 GB, free: 9.863 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.529e-05/0.003114, allocations: 8.75 kB / 1.003 GB, free: 9.855 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001159/0.00323, allocations: 12.92 kB / 1.003 GB, free: 9.844 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.703e-05/0.003317, allocations: 117.7 kB / 1.003 GB, free: 9.703 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.352e-05/0.003341, allocations: 4.375 kB / 1.003 GB, free: 9.699 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.054e-05/0.003351, allocations: 4.375 kB / 1.003 GB, free: 9.695 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001344/0.003486, allocations: 54.22 kB / 1.003 GB, free: 9.637 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.304e-06/0.003493, allocations: 192 / 1.003 GB, free: 9.637 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.979e-06/0.003503, allocations: 4.375 kB / 1.003 GB, free: 9.633 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.498e-06/0.003508, allocations: 384 / 1.003 GB, free: 9.633 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001218/0.00363, allocations: 51.83 kB / 1.003 GB, free: 9.582 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003089/0.003938, allocations: 208.6 kB / 1.003 GB, free: 9.348 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001082/0.004047, allocations: 50.53 kB / 1.003 GB, free: 9.289 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.829e-05/0.004105, allocations: 24.91 kB / 1.003 GB, free: 9.262 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 1.692e-05/0.004122, allocations: 7.938 kB / 1.003 GB, free: 9.254 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.313e-05/0.004145, allocations: 38.56 kB / 1.003 GB, free: 9.207 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=2): time 1.242e-06/0.004146, allocations: 0 / 1.003 GB, free: 9.207 MB / 0.9167 GB Notification: Performance of matching and sorting (n=2): time 0.0002647/0.004411, allocations: 113.5 kB / 1.003 GB, free: 9.09 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.302e-05/0.004444, allocations: 51.41 kB / 1.004 GB, free: 9.027 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.408e-05/0.004508, allocations: 109.8 kB / 1.004 GB, free: 8.91 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 9.688e-06/0.004518, allocations: 25.7 kB / 1.004 GB, free: 8.879 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 4.133e-05/0.004559, allocations: 88.12 kB / 1.004 GB, free: 8.789 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 1.899e-05/0.004578, allocations: 3.953 kB / 1.004 GB, free: 8.785 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.202e-05/0.00461, allocations: 17.72 kB / 1.004 GB, free: 8.762 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 7.726e-05/0.004687, allocations: 310.8 kB / 1.004 GB, free: 8.449 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.827e-05/0.004746, allocations: 32.09 kB / 1.004 GB, free: 8.418 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.745e-05/0.004793, allocations: 23.97 kB / 1.004 GB, free: 8.395 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001004/0.004893, allocations: 48.81 kB / 1.004 GB, free: 8.344 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.004895, allocations: 3.938 kB / 1.004 GB, free: 8.34 MB / 0.9167 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001305/0.005026, allocations: 81.67 kB / 1.004 GB, free: 8.254 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.323e-05/0.005039, allocations: 8 kB / 1.004 GB, free: 8.246 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.005046, allocations: 3.938 kB / 1.004 GB, free: 8.242 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.245e-05/0.005058, allocations: 0 / 1.004 GB, free: 8.242 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.635e-05/0.005135, allocations: 11.98 kB / 1.004 GB, free: 8.23 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.611e-06/0.00514, allocations: 0 / 1.004 GB, free: 8.23 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.903e-05/0.005169, allocations: 11.98 kB / 1.004 GB, free: 8.219 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.981e-06/0.005175, allocations: 0 / 1.004 GB, free: 8.219 MB / 0.9167 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 5.879e-05/0.005234, allocations: 113.9 kB / 1.004 GB, free: 8.098 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.16e-05/0.005246, allocations: 0 / 1.004 GB, free: 8.098 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.02e-05/0.005276, allocations: 11.55 kB / 1.004 GB, free: 8.082 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.784e-06/0.005278, allocations: 4 kB / 1.004 GB, free: 8.078 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.005282, allocations: 0 / 1.004 GB, free: 8.078 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.005285, allocations: 0 / 1.004 GB, free: 8.078 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000179/0.005464, allocations: 109.3 kB / 1.005 GB, free: 7.941 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.005465, allocations: 4 kB / 1.005 GB, free: 7.938 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.085e-05/0.005495, allocations: 7.984 kB / 1.005 GB, free: 7.93 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.005498, allocations: 7.938 kB / 1.005 GB, free: 7.922 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.121e-06/0.005504, allocations: 4 kB / 1.005 GB, free: 7.918 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.005506, allocations: 3.938 kB / 1.005 GB, free: 7.914 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.005507, allocations: 0 / 1.005 GB, free: 7.914 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001523/0.005659, allocations: 175.4 kB / 1.005 GB, free: 7.727 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 6.221e-06/0.005665, allocations: 3.984 kB / 1.005 GB, free: 7.723 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.129e-05/0.005677, allocations: 7.984 kB / 1.005 GB, free: 7.715 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.265e-05/0.005719, allocations: 11.92 kB / 1.005 GB, free: 7.703 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.221e-05/0.005752, allocations: 4.031 kB / 1.005 GB, free: 7.699 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.886e-06/0.005754, allocations: 0 / 1.005 GB, free: 7.699 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 2.892e-05/0.005783, allocations: 91.53 kB / 1.005 GB, free: 7.609 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.005783, allocations: 0 / 1.005 GB, free: 7.609 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001411/0.005925, allocations: 4 kB / 1.005 GB, free: 7.605 MB / 0.9167 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 6.787e-05/0.005992, allocations: 95.23 kB / 1.005 GB, free: 7.5 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001474/0.00614, allocations: 55.89 kB / 1.005 GB, free: 7.445 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.383e-06/0.006141, allocations: 3.938 kB / 1.005 GB, free: 7.441 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 5.252e-05/0.006194, allocations: 27.97 kB / 1.005 GB, free: 7.414 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001812/0.006375, allocations: 4 kB / 1.005 GB, free: 7.41 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002673/0.006642, allocations: 155.1 kB / 1.005 GB, free: 7.227 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.101e-05/0.006683, allocations: 59.34 kB / 1.005 GB, free: 7.148 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.222e-05/0.006715, allocations: 16.62 kB / 1.005 GB, free: 7.133 MB / 0.9167 GB Notification: Performance of SimCode: time 3.51e-07/0.006716, allocations: 0 / 1.005 GB, free: 7.133 MB / 0.9167 GB Notification: Performance of Templates: time 0.001445/0.008161, allocations: 0.6574 MB / 1.006 GB, free: 6.48 MB / 0.9167 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_PowerLinearized.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 6.431844473816454]