Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Functions.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.00183/0.00183, allocations: 92.7 kB / 19.44 MB, free: 324 kB / 13.93 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.00238/0.00238, allocations: 161.3 kB / 22.75 MB, free: 1.656 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 1.486/1.486, allocations: 177.1 MB / 203.1 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 178] 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 3.21/3.21, allocations: 429.6 MB / 0.673 GB, free: 3.879 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/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.Functions.Examples.PowerLinearized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|TExact",fileNamePrefix="Buildings_latest_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_latest_Buildings.Utilities.Math.Functions.Examples.PowerLinearized") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.753e-06/1.753e-06, allocations: 0 / 0.8776 GB, free: 6.461 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.525e-05/2.7e-05, allocations: 10.25 kB / 0.8776 GB, free: 6.449 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.PowerLinearized): time 0.001792/0.001819, allocations: 0.6082 MB / 0.8782 GB, free: 5.867 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0003094/0.002128, allocations: 92.56 kB / 0.8783 GB, free: 5.777 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.718e-05/0.002145, allocations: 0 / 0.8783 GB, free: 5.777 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 1.301e-05/0.002158, allocations: 1.031 kB / 0.8783 GB, free: 5.777 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 4.922e-05/0.002208, allocations: 0 / 0.8783 GB, free: 5.777 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002161/0.002424, allocations: 13.05 kB / 0.8783 GB, free: 5.766 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 5.06e-05/0.002474, allocations: 13.73 kB / 0.8784 GB, free: 5.754 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 3.883e-05/0.002513, allocations: 4 kB / 0.8784 GB, free: 5.75 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 3.047e-05/0.002544, allocations: 5.016 kB / 0.8784 GB, free: 5.746 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 7.334e-05/0.002617, allocations: 5.531 kB / 0.8784 GB, free: 5.742 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.355e-05/0.002631, allocations: 1.094 kB / 0.8784 GB, free: 5.742 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 6.408e-05/0.002695, allocations: 15.98 kB / 0.8784 GB, free: 5.727 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.299e-05/0.002708, allocations: 0 / 0.8784 GB, free: 5.727 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.268e-05/0.00273, allocations: 4.703 kB / 0.8784 GB, free: 5.723 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001085/0.002839, allocations: 16.53 kB / 0.8784 GB, free: 5.707 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 1.864e-06/0.002841, allocations: 1.562 kB / 0.8784 GB, free: 5.707 MB / 0.8386 GB Notification: Performance of FrontEnd: time 6.62e-07/0.002841, allocations: 0 / 0.8784 GB, free: 5.707 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.697e-06/0.002845, allocations: 0 / 0.8784 GB, free: 5.707 MB / 0.8386 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.0003698/0.003215, allocations: 246.3 kB / 0.8786 GB, free: 5.434 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.965e-05/0.003255, allocations: 9.531 kB / 0.8786 GB, free: 5.426 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001888/0.003443, allocations: 12.92 kB / 0.8787 GB, free: 5.414 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000103/0.003546, allocations: 105.8 kB / 0.8788 GB, free: 5.285 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.935e-05/0.003566, allocations: 0.875 kB / 0.8788 GB, free: 5.285 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.036e-05/0.003576, allocations: 5.219 kB / 0.8788 GB, free: 5.281 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001269/0.003703, allocations: 38.19 kB / 0.8788 GB, free: 5.238 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.885e-06/0.003711, allocations: 1.281 kB / 0.8788 GB, free: 5.238 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.293e-05/0.003724, allocations: 4.375 kB / 0.8788 GB, free: 5.234 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/0.003729, allocations: 384 / 0.8788 GB, free: 5.234 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.198e-05/0.003821, allocations: 17.39 kB / 0.8788 GB, free: 5.219 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001605/0.003981, allocations: 113.2 kB / 0.8789 GB, free: 5.078 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001907/0.004172, allocations: 41.94 kB / 0.879 GB, free: 5.031 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.427e-05/0.004226, allocations: 12.91 kB / 0.879 GB, free: 5.016 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.96e-05/0.004246, allocations: 7.938 kB / 0.879 GB, free: 5.008 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.583e-05/0.004281, allocations: 34.56 kB / 0.879 GB, free: 4.965 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=3): time 8.72e-07/0.004282, allocations: 0 / 0.879 GB, free: 4.965 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3): time 0.0002594/0.004542, allocations: 53.67 kB / 0.8791 GB, free: 4.906 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.747e-05/0.004589, allocations: 51.41 kB / 0.8791 GB, free: 4.844 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.811e-05/0.004657, allocations: 91.05 kB / 0.8792 GB, free: 4.746 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.996e-05/0.004677, allocations: 25.7 kB / 0.8792 GB, free: 4.715 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.57e-05/0.004723, allocations: 84.14 kB / 0.8793 GB, free: 4.629 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.715e-05/0.00476, allocations: 12.98 kB / 0.8793 GB, free: 4.617 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.645e-05/0.004797, allocations: 13.72 kB / 0.8793 GB, free: 4.598 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001796/0.004976, allocations: 318.8 kB / 0.8796 GB, free: 4.277 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.803e-05/0.005024, allocations: 12 kB / 0.8797 GB, free: 4.266 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.519e-05/0.005059, allocations: 11.92 kB / 0.8797 GB, free: 4.254 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.128e-05/0.005151, allocations: 16.86 kB / 0.8797 GB, free: 4.234 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.005152, allocations: 0 / 0.8797 GB, free: 4.234 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001496/0.005302, allocations: 53.67 kB / 0.8797 GB, free: 4.176 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.447e-05/0.005317, allocations: 4 kB / 0.8797 GB, free: 4.172 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.005322, allocations: 0 / 0.8797 GB, free: 4.172 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.916e-05/0.005341, allocations: 0 / 0.8797 GB, free: 4.172 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004321/0.005773, allocations: 47.94 kB / 0.8798 GB, free: 4.125 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00172/0.007493, allocations: 1.286 MB / 0.881 GB, free: 2.738 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.103e-05/0.007524, allocations: 3.938 kB / 0.881 GB, free: 2.734 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.227e-06/0.007533, allocations: 4.031 kB / 0.881 GB, free: 2.73 MB / 0.8386 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 0.0001083/0.007642, allocations: 105.8 kB / 0.8812 GB, free: 2.617 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.645e-05/0.007658, allocations: 7.875 kB / 0.8812 GB, free: 2.609 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.037e-05/0.007679, allocations: 11.86 kB / 0.8812 GB, free: 2.598 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.393e-06/0.00768, allocations: 4.094 kB / 0.8812 GB, free: 2.594 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.007684, allocations: 3.984 kB / 0.8812 GB, free: 2.59 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.007688, allocations: 3.984 kB / 0.8812 GB, free: 2.586 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001051/0.007793, allocations: 101.3 kB / 0.8813 GB, free: 2.457 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.007795, allocations: 0 / 0.8813 GB, free: 2.457 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004006/0.008195, allocations: 51.92 kB / 0.8813 GB, free: 2.406 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.008198, allocations: 0 / 0.8813 GB, free: 2.406 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.418e-06/0.008208, allocations: 3.938 kB / 0.8813 GB, free: 2.402 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001459/0.009666, allocations: 1.274 MB / 0.8826 GB, free: 1.023 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.009668, allocations: 0 / 0.8826 GB, free: 1.023 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000163/0.009831, allocations: 85.03 kB / 0.8827 GB, free: 0.9219 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 6.262e-06/0.009837, allocations: 4 kB / 0.8827 GB, free: 0.918 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.458e-06/0.009846, allocations: 4 kB / 0.8827 GB, free: 0.9141 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.758e-05/0.009874, allocations: 0 / 0.8827 GB, free: 0.9141 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.962e-05/0.009894, allocations: 7.984 kB / 0.8827 GB, free: 0.9062 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.246e-06/0.009897, allocations: 0 / 0.8827 GB, free: 0.9062 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 4.508e-05/0.009942, allocations: 75.38 kB / 0.8827 GB, free: 0.832 MB / 0.8386 GB Notification: Performance of sort global known variables: time 8e-08/0.009942, allocations: 4 kB / 0.8827 GB, free: 0.8281 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002013/0.01014, allocations: 7.938 kB / 0.8828 GB, free: 0.8203 MB / 0.8386 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.000136/0.01028, allocations: 99.25 kB / 0.8828 GB, free: 0.7148 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0005013/0.01078, allocations: 59.91 kB / 0.8829 GB, free: 0.6562 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.01078, allocations: 0 / 0.8829 GB, free: 0.6562 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.000262/0.01104, allocations: 40.23 kB / 0.8829 GB, free: 0.6133 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001486/0.01119, allocations: 7.875 kB / 0.883 GB, free: 0.6055 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003947/0.01159, allocations: 100.4 kB / 0.883 GB, free: 496 kB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.963e-05/0.01165, allocations: 55.36 kB / 0.8831 GB, free: 420 kB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.41e-05/0.01168, allocations: 11.94 kB / 0.8831 GB, free: 408 kB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.509e-05/0.01173, allocations: 12.48 kB / 0.8831 GB, free: 392 kB / 0.8386 GB Notification: Performance of SimCode: time 6.12e-07/0.01173, allocations: 0 / 0.8831 GB, free: 392 kB / 0.8386 GB Notification: Performance of Templates: time 0.002996/0.01472, allocations: 476.4 kB / 0.8836 GB, free: 15.93 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.PowerLinearized -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.PowerLinearized_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_PowerLinearized.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.146489060018212]