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.001301/0.001301, allocations: 84.98 kB / 19.76 MB, free: 2.023 MB / 14.72 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.001398/0.001398, allocations: 158.3 kB / 23.01 MB, free: 4.961 MB / 14.72 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.427/1.427, allocations: 177.2 MB / 203.4 MB, free: 8.957 MB / 190.1 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 2.837/2.837, allocations: 394.2 MB / 0.6386 GB, free: 11.96 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 13.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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002166/0.002166, allocations: 71.88 kB / 1.009 GB, free: 14.47 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8122/0.8144, allocations: 181.8 MB / 1.187 GB, free: 16.21 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.PowerLinearized): time 0.001584/0.816, allocations: 0.603 MB / 1.187 GB, free: 15.84 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.0002611/0.8163, allocations: 87.72 kB / 1.187 GB, free: 15.79 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.707e-05/0.8163, allocations: 0 / 1.187 GB, free: 15.79 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 1.515e-05/0.8163, allocations: 1.375 kB / 1.187 GB, free: 15.79 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 3.836e-05/0.8163, allocations: 0.7969 kB / 1.187 GB, free: 15.79 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001912/0.8165, allocations: 24.89 kB / 1.187 GB, free: 15.77 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 4.904e-05/0.8166, allocations: 13.28 kB / 1.187 GB, free: 15.76 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 4.858e-05/0.8166, allocations: 2.594 kB / 1.187 GB, free: 15.76 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 1.561e-05/0.8166, allocations: 2.75 kB / 1.187 GB, free: 15.76 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 7.203e-05/0.8167, allocations: 2.547 kB / 1.187 GB, free: 15.76 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 1.105e-05/0.8167, allocations: 5.312 kB / 1.187 GB, free: 15.76 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 5.609e-05/0.8168, allocations: 15.09 kB / 1.187 GB, free: 15.75 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 1.21e-05/0.8168, allocations: 0 / 1.187 GB, free: 15.75 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 1.693e-05/0.8168, allocations: 6.062 kB / 1.187 GB, free: 15.75 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 8.157e-05/0.8169, allocations: 21.64 kB / 1.187 GB, free: 15.74 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.8169, allocations: 5.375 kB / 1.187 GB, free: 15.74 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.222e-06/0.8169, allocations: 0 / 1.187 GB, free: 15.74 MB / 1.076 GB Notification: Performance of Transformations before backend: time 9.268e-06/0.8169, allocations: 0 / 1.187 GB, free: 15.74 MB / 1.076 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.0002513/0.8171, allocations: 240.3 kB / 1.188 GB, free: 15.48 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 2.994e-05/0.8172, allocations: 9.625 kB / 1.188 GB, free: 15.48 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001492/0.8173, allocations: 12.91 kB / 1.188 GB, free: 15.48 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.775e-05/0.8174, allocations: 104.5 kB / 1.188 GB, free: 15.36 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.861e-05/0.8174, allocations: 6.406 kB / 1.188 GB, free: 15.35 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.037e-05/0.8174, allocations: 1.75 kB / 1.188 GB, free: 15.35 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000116/0.8175, allocations: 44.2 kB / 1.188 GB, free: 15.31 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.706e-06/0.8175, allocations: 192 / 1.188 GB, free: 15.31 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.985e-06/0.8175, allocations: 3.938 kB / 1.188 GB, free: 15.31 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.938e-06/0.8175, allocations: 1.375 kB / 1.188 GB, free: 15.31 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.891e-05/0.8176, allocations: 15.38 kB / 1.188 GB, free: 15.3 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.897e-05/0.8177, allocations: 101.5 kB / 1.188 GB, free: 15.18 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001667/0.8179, allocations: 38.28 kB / 1.188 GB, free: 15.15 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.369e-05/0.8179, allocations: 15.81 kB / 1.188 GB, free: 15.14 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.6e-05/0.8179, allocations: 5.125 kB / 1.188 GB, free: 15.14 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.345e-05/0.8179, allocations: 40.2 kB / 1.188 GB, free: 15.09 MB / 1.076 GB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.818, allocations: 0 / 1.188 GB, free: 15.09 MB / 1.076 GB Notification: Performance of matching and sorting (n=3): time 0.0001994/0.8181, allocations: 60.5 kB / 1.188 GB, free: 15.05 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.915e-05/0.8182, allocations: 52.56 kB / 1.188 GB, free: 14.98 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.368e-05/0.8182, allocations: 90.47 kB / 1.188 GB, free: 14.89 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 6.201e-06/0.8182, allocations: 29.64 kB / 1.188 GB, free: 14.85 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 8.586e-06/0.8182, allocations: 81.17 kB / 1.188 GB, free: 14.77 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 3.075e-05/0.8182, allocations: 5.703 kB / 1.188 GB, free: 14.77 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.743e-05/0.8183, allocations: 18.14 kB / 1.188 GB, free: 14.75 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 3.754e-05/0.8183, allocations: 317.3 kB / 1.189 GB, free: 14.43 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.094e-05/0.8183, allocations: 9.906 kB / 1.189 GB, free: 14.43 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.267e-05/0.8184, allocations: 10 kB / 1.189 GB, free: 14.42 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.539e-05/0.8184, allocations: 21.12 kB / 1.189 GB, free: 14.41 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.8184, allocations: 0 / 1.189 GB, free: 14.41 MB / 1.076 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001018/0.8185, allocations: 51.94 kB / 1.189 GB, free: 14.37 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.206e-05/0.8186, allocations: 7.344 kB / 1.189 GB, free: 14.37 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.078e-06/0.8186, allocations: 1.375 kB / 1.189 GB, free: 14.37 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.302e-05/0.8186, allocations: 4 kB / 1.189 GB, free: 14.37 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004083/0.819, allocations: 45.58 kB / 1.189 GB, free: 14.36 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009446/0.8199, allocations: 1.281 MB / 1.19 GB, free: 13.08 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.938e-05/0.82, allocations: 2.234 kB / 1.19 GB, free: 13.08 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.48e-06/0.82, allocations: 2.016 kB / 1.19 GB, free: 13.08 MB / 1.076 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 4.337e-05/0.82, allocations: 114.4 kB / 1.19 GB, free: 12.96 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.257e-06/0.82, allocations: 6.125 kB / 1.19 GB, free: 12.96 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.211e-05/0.82, allocations: 8.094 kB / 1.19 GB, free: 12.95 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.402e-06/0.82, allocations: 0 / 1.19 GB, free: 12.95 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.72e-07/0.82, allocations: 5.188 kB / 1.19 GB, free: 12.95 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.82, allocations: 0.5625 kB / 1.19 GB, free: 12.95 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.144e-05/0.8201, allocations: 105.4 kB / 1.19 GB, free: 12.82 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.8201, allocations: 5.125 kB / 1.19 GB, free: 12.81 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003867/0.8205, allocations: 48.98 kB / 1.19 GB, free: 12.81 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.8205, allocations: 2.469 kB / 1.19 GB, free: 12.81 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.68e-06/0.8205, allocations: 0 / 1.19 GB, free: 12.81 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008195/0.8213, allocations: 1.282 MB / 1.192 GB, free: 11.53 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.8213, allocations: 1.156 kB / 1.192 GB, free: 11.53 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000107/0.8214, allocations: 77.58 kB / 1.192 GB, free: 11.45 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 4.399e-06/0.8214, allocations: 2.062 kB / 1.192 GB, free: 11.45 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.693e-06/0.8214, allocations: 1.766 kB / 1.192 GB, free: 11.45 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.799e-05/0.8214, allocations: 2.203 kB / 1.192 GB, free: 11.45 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.032e-05/0.8215, allocations: 2.656 kB / 1.192 GB, free: 11.45 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.489e-06/0.8215, allocations: 9.812 kB / 1.192 GB, free: 11.45 MB / 1.076 GB Notification: Performance of sorting global known variables: time 1.081e-05/0.8215, allocations: 83.16 kB / 1.192 GB, free: 11.36 MB / 1.076 GB Notification: Performance of sort global known variables: time 5e-08/0.8215, allocations: 0 / 1.192 GB, free: 11.36 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0001982/0.8217, allocations: 3.906 kB / 1.192 GB, free: 11.36 MB / 1.076 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 8.263e-05/0.8218, allocations: 94.55 kB / 1.192 GB, free: 11.27 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0004818/0.8222, allocations: 66.52 kB / 1.192 GB, free: 11.26 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.8222, allocations: 0 / 1.192 GB, free: 11.26 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0002477/0.8225, allocations: 33.98 kB / 1.192 GB, free: 11.26 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001335/0.8226, allocations: 3.125 kB / 1.192 GB, free: 11.26 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000262/0.8229, allocations: 100.9 kB / 1.192 GB, free: 11.15 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.756e-05/0.8229, allocations: 57.36 kB / 1.192 GB, free: 11.08 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 2.664e-05/0.8229, allocations: 3.094 kB / 1.192 GB, free: 11.08 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.316e-05/0.823, allocations: 10.39 kB / 1.192 GB, free: 11.07 MB / 1.076 GB Notification: Performance of SimCode: time 3.31e-07/0.823, allocations: 1.188 kB / 1.192 GB, free: 11.07 MB / 1.076 GB Notification: Performance of Templates: time 0.002603/0.8256, allocations: 469.4 kB / 1.193 GB, free: 10.98 MB / 1.076 GB " [Timeout remaining time 299] 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 -s ida -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/jenkins1/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.394460879964754]