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.000769/0.000769, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001045/0.001814, allocations: 435.8 kB / 10.33 MB, free: 368 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.0007322/0.0007322, allocations: 157.2 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000972/0.001704, allocations: 467.6 kB / 11.69 MB, free: 2.48 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 0.9398/0.9398, allocations: 177.2 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09815/1.038, allocations: 53.66 MB / 243.2 MB, free: 15.59 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.452/2.452, allocations: 446.7 MB / 0.6745 GB, free: 6.207 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2573/2.71, allocations: 145.9 MB / 0.817 GB, free: 4.207 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 1.292e-06/1.292e-06, allocations: 0 / 0.8184 GB, free: 2.84 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.066e-05/1.195e-05, allocations: 2.312 kB / 0.8184 GB, free: 2.836 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.PowerLinearized): time 0.001209/0.001221, allocations: 0.6539 MB / 0.819 GB, free: 2.18 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.0001342/0.001355, allocations: 99.72 kB / 0.8191 GB, free: 2.082 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.038e-05/0.001366, allocations: 0 / 0.8191 GB, free: 2.082 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 4.689e-06/0.00137, allocations: 3.938 kB / 0.8191 GB, free: 2.078 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 1.559e-05/0.001386, allocations: 0 / 0.8191 GB, free: 2.078 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 7.907e-05/0.001465, allocations: 11.92 kB / 0.8191 GB, free: 2.066 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 4.248e-05/0.001507, allocations: 8 kB / 0.8191 GB, free: 2.059 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 3.34e-05/0.001541, allocations: 11.92 kB / 0.8191 GB, free: 2.047 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 3.456e-05/0.001575, allocations: 7.984 kB / 0.8191 GB, free: 2.039 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 5.932e-05/0.001635, allocations: 4 kB / 0.8191 GB, free: 2.035 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 1.169e-05/0.001646, allocations: 0 / 0.8191 GB, free: 2.035 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 7.4e-05/0.00172, allocations: 15.98 kB / 0.8192 GB, free: 2.02 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 7.804e-06/0.001728, allocations: 0 / 0.8192 GB, free: 2.02 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 1.395e-05/0.001742, allocations: 7.938 kB / 0.8192 GB, free: 2.012 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 7.663e-05/0.001819, allocations: 15.92 kB / 0.8192 GB, free: 1.996 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 1.316e-05/0.001832, allocations: 0 / 0.8192 GB, free: 1.996 MB / 0.7917 GB Notification: Performance of FrontEnd: time 5.11e-07/0.001832, allocations: 0 / 0.8192 GB, free: 1.996 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 1.4e-05/0.001846, allocations: 0 / 0.8192 GB, free: 1.996 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.0002791/0.002126, allocations: 220.7 kB / 0.8194 GB, free: 1.754 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 2.899e-05/0.002155, allocations: 16.62 kB / 0.8194 GB, free: 1.738 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003146/0.005301, allocations: 86.03 kB / 0.8195 GB, free: 1.637 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.027e-05/0.005361, allocations: 109.8 kB / 0.8196 GB, free: 1.504 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.657e-05/0.005378, allocations: 4.375 kB / 0.8196 GB, free: 1.5 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.64e-06/0.005383, allocations: 384 / 0.8196 GB, free: 1.5 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.754e-05/0.005471, allocations: 46.95 kB / 0.8196 GB, free: 1.445 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.791e-06/0.005477, allocations: 192 / 0.8196 GB, free: 1.445 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.53e-06/0.005482, allocations: 384 / 0.8196 GB, free: 1.445 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.49e-06/0.005488, allocations: 4.375 kB / 0.8196 GB, free: 1.441 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.955e-05/0.005517, allocations: 19.84 kB / 0.8197 GB, free: 1.422 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.643e-05/0.005594, allocations: 61.05 kB / 0.8197 GB, free: 1.348 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 7.526e-05/0.005669, allocations: 30.61 kB / 0.8197 GB, free: 1.309 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.973e-05/0.005689, allocations: 8.859 kB / 0.8198 GB, free: 1.297 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 9.948e-06/0.005699, allocations: 0 / 0.8198 GB, free: 1.297 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.826e-05/0.005717, allocations: 30.56 kB / 0.8198 GB, free: 1.258 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=3): time 7.41e-07/0.005718, allocations: 0 / 0.8198 GB, free: 1.258 MB / 0.7917 GB Notification: Performance of matching and sorting (n=3): time 9.012e-05/0.005808, allocations: 45.62 kB / 0.8198 GB, free: 1.207 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.917e-05/0.005837, allocations: 51.41 kB / 0.8199 GB, free: 1.145 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.563e-05/0.005863, allocations: 89.86 kB / 0.82 GB, free: 1.047 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 1.059e-05/0.005873, allocations: 25.7 kB / 0.82 GB, free: 1.016 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 2.093e-05/0.005894, allocations: 88.14 kB / 0.8201 GB, free: 0.9258 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 2.511e-05/0.005919, allocations: 7.953 kB / 0.8201 GB, free: 0.918 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.207e-05/0.005951, allocations: 17.7 kB / 0.8201 GB, free: 0.8945 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 7.272e-05/0.006024, allocations: 318.8 kB / 0.8204 GB, free: 0.5742 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.237e-06/0.006033, allocations: 4 kB / 0.8204 GB, free: 0.5703 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.583e-06/0.00604, allocations: 3.938 kB / 0.8204 GB, free: 0.5664 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.985e-05/0.00607, allocations: 20.84 kB / 0.8204 GB, free: 0.543 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.006071, allocations: 0 / 0.8204 GB, free: 0.543 MB / 0.7917 GB Notification: Performance of matching and sorting (n=3) (initialization): time 4.235e-05/0.006114, allocations: 37.64 kB / 0.8205 GB, free: 0.5 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.037e-05/0.006124, allocations: 4 kB / 0.8205 GB, free: 0.4961 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.006129, allocations: 11.98 kB / 0.8205 GB, free: 496 kB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.494e-06/0.006136, allocations: 0 / 0.8205 GB, free: 496 kB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001618/0.006298, allocations: 19.98 kB / 0.8205 GB, free: 476 kB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006546/0.006953, allocations: 1.196 MB / 0.8217 GB, free: 15.19 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.492e-05/0.006968, allocations: 11.97 kB / 0.8217 GB, free: 15.18 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.158e-06/0.006972, allocations: 4 kB / 0.8217 GB, free: 15.17 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.026e-05/0.007022, allocations: 105.8 kB / 0.8218 GB, free: 15.06 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.704e-06/0.00703, allocations: 7.984 kB / 0.8218 GB, free: 15.05 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.114e-06/0.007037, allocations: 3.531 kB / 0.8218 GB, free: 15.05 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.72e-07/0.007038, allocations: 0 / 0.8218 GB, free: 15.05 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.044e-06/0.00704, allocations: 3.938 kB / 0.8218 GB, free: 15.04 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.054e-06/0.007042, allocations: 0 / 0.8218 GB, free: 15.04 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.936e-05/0.007091, allocations: 61.91 kB / 0.8219 GB, free: 14.96 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.007093, allocations: 4 kB / 0.8219 GB, free: 14.96 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001257/0.007219, allocations: 31.97 kB / 0.8219 GB, free: 14.93 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 5.831e-06/0.007225, allocations: 7.984 kB / 0.8219 GB, free: 14.92 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.152e-06/0.007226, allocations: 0 / 0.8219 GB, free: 14.92 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.488e-06/0.00723, allocations: 3.984 kB / 0.8219 GB, free: 14.92 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005434/0.007774, allocations: 1.204 MB / 0.8231 GB, free: 13.63 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.82e-07/0.007774, allocations: 0 / 0.8231 GB, free: 13.63 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.261e-05/0.007827, allocations: 69.03 kB / 0.8231 GB, free: 13.54 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.33e-06/0.007832, allocations: 4 kB / 0.8231 GB, free: 13.54 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.252e-05/0.007845, allocations: 3.938 kB / 0.8232 GB, free: 13.54 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.104e-05/0.007856, allocations: 0 / 0.8232 GB, free: 13.54 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.963e-06/0.007858, allocations: 0 / 0.8232 GB, free: 13.54 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 7.294e-06/0.007865, allocations: 8.859 kB / 0.8232 GB, free: 13.52 MB / 0.8073 GB Notification: Performance of sort global known variables: time 7e-08/0.007865, allocations: 4.094 kB / 0.8232 GB, free: 13.52 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001418/0.008007, allocations: 4 kB / 0.8232 GB, free: 13.52 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 7.002e-05/0.008077, allocations: 80.41 kB / 0.8232 GB, free: 13.43 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001703/0.008247, allocations: 45.62 kB / 0.8233 GB, free: 13.38 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.947e-06/0.008251, allocations: 3.938 kB / 0.8233 GB, free: 13.37 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 9.619e-05/0.008347, allocations: 33.12 kB / 0.8233 GB, free: 13.33 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 5.076e-05/0.008398, allocations: 4 kB / 0.8233 GB, free: 13.33 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001785/0.008577, allocations: 103 kB / 0.8234 GB, free: 13.21 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.561e-05/0.008602, allocations: 55.34 kB / 0.8235 GB, free: 13.13 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 1.89e-05/0.008621, allocations: 0 / 0.8235 GB, free: 13.13 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.151e-05/0.008653, allocations: 51.38 kB / 0.8235 GB, free: 13.08 MB / 0.8073 GB Notification: Performance of SimCode: time 3.9e-07/0.008653, allocations: 0 / 0.8235 GB, free: 13.08 MB / 0.8073 GB Notification: Performance of Templates: time 0.004907/0.01356, allocations: 0.5184 MB / 0.824 GB, free: 12.57 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,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.205540578812361]