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.001115/0.001115, allocations: 93.06 kB / 19.65 MB, free: 276 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.001835/0.001835, allocations: 169 kB / 23.02 MB, free: 1.551 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.9944/0.9944, allocations: 177.1 MB / 203.4 MB, free: 5.652 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 2.118/2.118, allocations: 429.5 MB / 0.6732 GB, free: 4.066 MB / 0.6355 GB " [Timeout remaining time 177] 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.553e-06/1.553e-06, allocations: 0.875 kB / 0.8782 GB, free: 6.289 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.569e-05/2.724e-05, allocations: 5.125 kB / 0.8782 GB, free: 6.285 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.PowerLinearized): time 0.00122/0.001248, allocations: 0.6122 MB / 0.8788 GB, free: 5.691 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0002422/0.00149, allocations: 100.5 kB / 0.8789 GB, free: 5.594 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.583e-05/0.001505, allocations: 1.25 kB / 0.8789 GB, free: 5.594 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 2.006e-05/0.001526, allocations: 0 / 0.8789 GB, free: 5.594 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 4.868e-05/0.001574, allocations: 0 / 0.8789 GB, free: 5.594 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002074/0.001782, allocations: 21.58 kB / 0.8789 GB, free: 5.574 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 5.074e-05/0.001832, allocations: 5.312 kB / 0.8789 GB, free: 5.57 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 3.982e-05/0.001872, allocations: 0 / 0.8789 GB, free: 5.57 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 3.346e-05/0.001906, allocations: 15.97 kB / 0.879 GB, free: 5.555 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 7.948e-05/0.001985, allocations: 3.672 kB / 0.879 GB, free: 5.555 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.678e-05/0.002002, allocations: 0 / 0.879 GB, free: 5.555 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 6.437e-05/0.002066, allocations: 11.98 kB / 0.879 GB, free: 5.543 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.348e-05/0.00208, allocations: 0.5469 kB / 0.879 GB, free: 5.543 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 1.709e-05/0.002097, allocations: 4.875 kB / 0.879 GB, free: 5.539 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001072/0.002204, allocations: 23.89 kB / 0.879 GB, free: 5.516 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 1.874e-06/0.002206, allocations: 112 / 0.879 GB, free: 5.516 MB / 0.8386 GB Notification: Performance of FrontEnd: time 6.21e-07/0.002207, allocations: 3.938 kB / 0.879 GB, free: 5.512 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.998e-06/0.002211, allocations: 0.7188 kB / 0.879 GB, free: 5.512 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.000312/0.002523, allocations: 342.1 kB / 0.8793 GB, free: 5.141 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.503e-05/0.002558, allocations: 8.031 kB / 0.8793 GB, free: 5.133 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001203/0.002678, allocations: 17.22 kB / 0.8794 GB, free: 5.117 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.541e-05/0.002733, allocations: 108.6 kB / 0.8795 GB, free: 4.984 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.709e-05/0.00275, allocations: 0.875 kB / 0.8795 GB, free: 4.984 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.332e-05/0.002764, allocations: 13.91 kB / 0.8795 GB, free: 4.973 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001101/0.002874, allocations: 46.95 kB / 0.8795 GB, free: 4.918 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.005e-05/0.002884, allocations: 192 / 0.8795 GB, free: 4.918 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.057e-06/0.002893, allocations: 384 / 0.8795 GB, free: 4.918 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.706e-06/0.002902, allocations: 4.953 kB / 0.8795 GB, free: 4.914 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.71e-05/0.002939, allocations: 11.92 kB / 0.8795 GB, free: 4.902 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001207/0.003059, allocations: 114 kB / 0.8796 GB, free: 4.758 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 9.177e-05/0.003151, allocations: 43.09 kB / 0.8797 GB, free: 4.703 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.392e-05/0.003175, allocations: 15.69 kB / 0.8797 GB, free: 4.684 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.973e-05/0.003195, allocations: 1.594 kB / 0.8797 GB, free: 4.684 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.333e-05/0.003218, allocations: 33.39 kB / 0.8797 GB, free: 4.641 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=3): time 1.653e-06/0.00322, allocations: 0 / 0.8797 GB, free: 4.641 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3): time 0.0001587/0.003378, allocations: 49.69 kB / 0.8798 GB, free: 4.586 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.097e-05/0.003409, allocations: 55.41 kB / 0.8798 GB, free: 4.52 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.452e-05/0.003454, allocations: 146.2 kB / 0.88 GB, free: 4.363 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.276e-05/0.003467, allocations: 25.7 kB / 0.88 GB, free: 4.332 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 3.37e-05/0.0035, allocations: 126.9 kB / 0.8801 GB, free: 4.203 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.82e-05/0.003539, allocations: 11.95 kB / 0.8801 GB, free: 4.191 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.576e-05/0.003564, allocations: 15.38 kB / 0.8801 GB, free: 4.168 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001357/0.0037, allocations: 0.4922 MB / 0.8806 GB, free: 3.664 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.764e-05/0.003718, allocations: 3.938 kB / 0.8806 GB, free: 3.66 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.121e-05/0.003729, allocations: 7.984 kB / 0.8806 GB, free: 3.652 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.068e-05/0.00377, allocations: 15.69 kB / 0.8807 GB, free: 3.633 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.003772, allocations: 0 / 0.8807 GB, free: 3.633 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.489e-05/0.003827, allocations: 49.69 kB / 0.8807 GB, free: 3.578 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.311e-05/0.00384, allocations: 4 kB / 0.8807 GB, free: 3.574 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.003844, allocations: 0 / 0.8807 GB, free: 3.574 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.077e-05/0.003865, allocations: 0 / 0.8807 GB, free: 3.574 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000173/0.004038, allocations: 27.91 kB / 0.8807 GB, free: 3.547 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008414/0.004879, allocations: 1.81 MB / 0.8825 GB, free: 1.617 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.37e-05/0.004893, allocations: 4 kB / 0.8825 GB, free: 1.613 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.258e-06/0.004897, allocations: 0 / 0.8825 GB, free: 1.613 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 6.645e-05/0.004964, allocations: 160.5 kB / 0.8827 GB, free: 1.445 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.957e-06/0.004973, allocations: 11.89 kB / 0.8827 GB, free: 1.434 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.625e-06/0.00498, allocations: 3.531 kB / 0.8827 GB, free: 1.43 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.42e-07/0.004981, allocations: 0 / 0.8827 GB, free: 1.43 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.72e-07/0.004982, allocations: 0 / 0.8827 GB, free: 1.43 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.004986, allocations: 8.047 kB / 0.8827 GB, free: 1.422 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.401e-05/0.00504, allocations: 112.6 kB / 0.8828 GB, free: 1.277 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.005041, allocations: 0 / 0.8828 GB, free: 1.277 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001146/0.005156, allocations: 27.97 kB / 0.8828 GB, free: 1.25 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.433e-06/0.005157, allocations: 0 / 0.8828 GB, free: 1.25 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.492e-06/0.005164, allocations: 3.938 kB / 0.8828 GB, free: 1.246 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007103/0.005874, allocations: 1.798 MB / 0.8846 GB, free: 15.32 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.195e-06/0.005876, allocations: 4 kB / 0.8846 GB, free: 15.32 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.901e-05/0.005945, allocations: 84.36 kB / 0.8847 GB, free: 15.21 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2.154e-06/0.005948, allocations: 0 / 0.8847 GB, free: 15.21 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.939e-06/0.005953, allocations: 3.984 kB / 0.8847 GB, free: 15.21 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.213e-05/0.005965, allocations: 4 kB / 0.8847 GB, free: 15.21 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.787e-05/0.005983, allocations: 0 / 0.8847 GB, free: 15.21 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.377e-06/0.005986, allocations: 4.125 kB / 0.8847 GB, free: 15.2 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 3.046e-05/0.006016, allocations: 123.1 kB / 0.8848 GB, free: 15.08 MB / 0.8542 GB Notification: Performance of sort global known variables: time 4e-08/0.006016, allocations: 0 / 0.8848 GB, free: 15.08 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001308/0.006147, allocations: 4 kB / 0.8848 GB, free: 15.08 MB / 0.8542 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.85e-05/0.006226, allocations: 99.25 kB / 0.8849 GB, free: 14.97 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001844/0.00641, allocations: 43.64 kB / 0.8849 GB, free: 14.93 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.162e-06/0.006411, allocations: 4 kB / 0.8849 GB, free: 14.92 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 8.75e-05/0.006499, allocations: 31.89 kB / 0.885 GB, free: 14.88 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.731e-05/0.006596, allocations: 11.94 kB / 0.885 GB, free: 14.87 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002103/0.006807, allocations: 104.3 kB / 0.8851 GB, free: 14.75 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.717e-05/0.006834, allocations: 55.3 kB / 0.8851 GB, free: 14.67 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 1.976e-05/0.006853, allocations: 7.984 kB / 0.8851 GB, free: 14.66 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.69e-05/0.00688, allocations: 16.5 kB / 0.8851 GB, free: 14.64 MB / 0.8542 GB Notification: Performance of SimCode: time 5.11e-07/0.006881, allocations: 0 / 0.8851 GB, free: 14.64 MB / 0.8542 GB Notification: Performance of Templates: time 0.001823/0.008704, allocations: 478.7 kB / 0.8856 GB, free: 14.19 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=240 -emit_protected -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","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_PowerLinearized.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.495004048105329]