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.001058/0.001058, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001377/0.002435, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.0008015/0.0008015, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00116/0.001962, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.002/1.002, allocations: 177.2 MB / 189.7 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08447/1.086, allocations: 53.67 MB / 243.4 MB, free: 15.49 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.433/2.433, allocations: 447.1 MB / 0.675 GB, free: 5.914 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2546/2.688, allocations: 146 MB / 0.8176 GB, free: 3.84 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-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 2.545e-06/2.545e-06, allocations: 0 / 0.819 GB, free: 2.453 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.267e-05/2.522e-05, allocations: 2.312 kB / 0.819 GB, free: 2.449 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.PowerLinearized): time 0.001878/0.001903, allocations: 0.6567 MB / 0.8196 GB, free: 1.789 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.0001785/0.002081, allocations: 95.72 kB / 0.8197 GB, free: 1.695 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.278e-05/0.002094, allocations: 0 / 0.8197 GB, free: 1.695 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 5.029e-06/0.002099, allocations: 0 / 0.8197 GB, free: 1.695 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 2.284e-05/0.002122, allocations: 3.938 kB / 0.8197 GB, free: 1.691 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 9.562e-05/0.002218, allocations: 11.92 kB / 0.8197 GB, free: 1.68 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 5.451e-05/0.002272, allocations: 8 kB / 0.8198 GB, free: 1.672 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 4.566e-05/0.002318, allocations: 7.938 kB / 0.8198 GB, free: 1.664 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 4.881e-05/0.002367, allocations: 11.97 kB / 0.8198 GB, free: 1.652 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 9.072e-05/0.002457, allocations: 0 / 0.8198 GB, free: 1.652 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 1.699e-05/0.002474, allocations: 4 kB / 0.8198 GB, free: 1.648 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000139/0.002613, allocations: 15.98 kB / 0.8198 GB, free: 1.633 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 2.513e-05/0.002638, allocations: 4 kB / 0.8198 GB, free: 1.629 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 1.75e-05/0.002656, allocations: 0 / 0.8198 GB, free: 1.629 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 9.973e-05/0.002756, allocations: 15.92 kB / 0.8198 GB, free: 1.613 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 1.228e-05/0.002768, allocations: 3.938 kB / 0.8198 GB, free: 1.609 MB / 0.7917 GB Notification: Performance of FrontEnd: time 1.083e-06/0.002769, allocations: 0 / 0.8198 GB, free: 1.609 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 1.239e-05/0.002781, allocations: 0 / 0.8198 GB, free: 1.609 MB / 0.7917 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.0003182/0.0031, allocations: 224.7 kB / 0.82 GB, free: 1.363 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 3.013e-05/0.00313, allocations: 8.031 kB / 0.82 GB, free: 1.355 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001732/0.003303, allocations: 90.03 kB / 0.8201 GB, free: 1.25 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.007e-05/0.003373, allocations: 113.8 kB / 0.8202 GB, free: 1.113 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.848e-05/0.003392, allocations: 384 / 0.8202 GB, free: 1.113 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.159e-05/0.003403, allocations: 384 / 0.8202 GB, free: 1.113 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001102/0.003513, allocations: 46.95 kB / 0.8203 GB, free: 1.059 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.696e-06/0.003522, allocations: 8.172 kB / 0.8203 GB, free: 1.051 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.362e-06/0.003528, allocations: 384 / 0.8203 GB, free: 1.051 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.472e-06/0.003535, allocations: 384 / 0.8203 GB, free: 1.051 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.314e-05/0.003558, allocations: 11.88 kB / 0.8203 GB, free: 1.039 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.272e-05/0.003651, allocations: 61.03 kB / 0.8204 GB, free: 0.9648 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 9.476e-05/0.003745, allocations: 30.58 kB / 0.8204 GB, free: 0.9258 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.532e-05/0.003761, allocations: 8.859 kB / 0.8204 GB, free: 0.9141 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 1.465e-05/0.003775, allocations: 0 / 0.8204 GB, free: 0.9141 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.66e-05/0.003802, allocations: 38.59 kB / 0.8204 GB, free: 0.8672 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=3): time 7.42e-07/0.003803, allocations: 0 / 0.8204 GB, free: 0.8672 MB / 0.7917 GB Notification: Performance of matching and sorting (n=3): time 0.0001183/0.003921, allocations: 41.62 kB / 0.8205 GB, free: 0.8203 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.565e-05/0.003957, allocations: 51.41 kB / 0.8205 GB, free: 0.7578 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.219e-05/0.003989, allocations: 93.86 kB / 0.8206 GB, free: 0.6562 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 1.138e-05/0.004, allocations: 25.7 kB / 0.8206 GB, free: 0.625 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 2.234e-05/0.004023, allocations: 80.14 kB / 0.8207 GB, free: 0.543 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 3.593e-05/0.004059, allocations: 11.95 kB / 0.8207 GB, free: 0.5312 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.551e-05/0.004084, allocations: 13.72 kB / 0.8207 GB, free: 0.5117 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 9.691e-05/0.004181, allocations: 318.8 kB / 0.821 GB, free: 196 kB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.308e-05/0.004194, allocations: 7.984 kB / 0.821 GB, free: 188 kB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.935e-06/0.004202, allocations: 0 / 0.821 GB, free: 188 kB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.191e-05/0.004234, allocations: 12.86 kB / 0.8211 GB, free: 172 kB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.004236, allocations: 3.938 kB / 0.8211 GB, free: 168 kB / 0.7917 GB Notification: Performance of matching and sorting (n=3) (initialization): time 4.933e-05/0.004285, allocations: 41.62 kB / 0.8211 GB, free: 120 kB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.58e-05/0.004301, allocations: 8 kB / 0.8211 GB, free: 112 kB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/0.004307, allocations: 3.984 kB / 0.8211 GB, free: 108 kB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.429e-05/0.004322, allocations: 0 / 0.8211 GB, free: 108 kB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001739/0.004496, allocations: 27.97 kB / 0.8211 GB, free: 80 kB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007164/0.005212, allocations: 1.2 MB / 0.8223 GB, free: 14.8 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.977e-05/0.005232, allocations: 11.94 kB / 0.8223 GB, free: 14.79 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.998e-06/0.005236, allocations: 4.125 kB / 0.8223 GB, free: 14.78 MB / 0.8073 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.785e-05/0.005294, allocations: 109.8 kB / 0.8224 GB, free: 14.66 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.958e-06/0.005298, allocations: 0 / 0.8224 GB, free: 14.66 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.588e-06/0.005307, allocations: 3.531 kB / 0.8224 GB, free: 14.66 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.005309, allocations: 3.984 kB / 0.8224 GB, free: 14.65 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.643e-06/0.00531, allocations: 3.938 kB / 0.8224 GB, free: 14.65 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.005313, allocations: 0 / 0.8224 GB, free: 14.65 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.45e-05/0.005367, allocations: 65.91 kB / 0.8225 GB, free: 14.57 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.633e-06/0.005374, allocations: 4 kB / 0.8225 GB, free: 14.56 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001084/0.005482, allocations: 31.97 kB / 0.8225 GB, free: 14.53 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 3.096e-06/0.005486, allocations: 0 / 0.8225 GB, free: 14.53 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.005487, allocations: 0 / 0.8225 GB, free: 14.53 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.067e-06/0.005491, allocations: 0 / 0.8225 GB, free: 14.53 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005747/0.006066, allocations: 1.211 MB / 0.8237 GB, free: 13.24 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.006068, allocations: 0 / 0.8237 GB, free: 13.24 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.566e-05/0.006123, allocations: 65.06 kB / 0.8238 GB, free: 13.16 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.356e-06/0.006127, allocations: 0 / 0.8238 GB, free: 13.16 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.132e-05/0.006138, allocations: 3.938 kB / 0.8238 GB, free: 13.15 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.621e-05/0.006154, allocations: 3.984 kB / 0.8238 GB, free: 13.15 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.298e-06/0.006158, allocations: 4 kB / 0.8238 GB, free: 13.14 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 8.997e-06/0.006167, allocations: 4.859 kB / 0.8238 GB, free: 13.14 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.006167, allocations: 0 / 0.8238 GB, free: 13.14 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001091/0.006277, allocations: 8 kB / 0.8238 GB, free: 13.13 MB / 0.8073 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.0001057/0.006382, allocations: 76.48 kB / 0.8239 GB, free: 13.04 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001769/0.006559, allocations: 53.61 kB / 0.8239 GB, free: 12.98 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 6.412e-06/0.006566, allocations: 0 / 0.8239 GB, free: 12.98 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 9.331e-05/0.006659, allocations: 33.06 kB / 0.824 GB, free: 12.95 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.143e-05/0.00673, allocations: 12 kB / 0.824 GB, free: 12.93 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002721/0.007002, allocations: 100.3 kB / 0.8241 GB, free: 12.81 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.997e-05/0.007032, allocations: 59.34 kB / 0.8241 GB, free: 12.73 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 2.149e-05/0.007054, allocations: 0 / 0.8241 GB, free: 12.73 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.071e-05/0.007095, allocations: 51.38 kB / 0.8242 GB, free: 12.68 MB / 0.8073 GB Notification: Performance of SimCode: time 8.22e-07/0.007095, allocations: 0 / 0.8242 GB, free: 12.68 MB / 0.8073 GB Notification: Performance of Templates: time 0.001968/0.009063, allocations: 491.7 kB / 0.8246 GB, free: 12.21 MB / 0.8073 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.PowerLinearized_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.PowerLinearized/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.153310835361481]