Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.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.001734/0.001734, allocations: 81.23 kB / 19.18 MB, free: 2.52 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.002101/0.002101, allocations: 168.9 kB / 22.46 MB, free: 5.371 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.491/1.491, allocations: 177.2 MB / 202.8 MB, free: 9.172 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.841/2.841, allocations: 377.8 MB / 0.6221 GB, free: 12.58 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/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.Examples.PowerLinearized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|powerLinearized.y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.PowerLinearized") translateModel(Buildings.Utilities.Math.Examples.PowerLinearized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|powerLinearized.y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.PowerLinearized") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 0.9814 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.052e-05/3.217e-05, allocations: 5.516 kB / 0.9814 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.PowerLinearized): time 0.002673/0.002705, allocations: 1.464 MB / 0.9829 GB, free: 10.48 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0003069/0.003012, allocations: 99.55 kB / 0.983 GB, free: 10.39 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.086e-05/0.003053, allocations: 0 / 0.983 GB, free: 10.39 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.389e-05/0.003087, allocations: 3.938 kB / 0.983 GB, free: 10.38 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 4.497e-05/0.003132, allocations: 3.984 kB / 0.983 GB, free: 10.38 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002203/0.003352, allocations: 11.98 kB / 0.983 GB, free: 10.37 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001137/0.003466, allocations: 31.86 kB / 0.983 GB, free: 10.34 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001038/0.00357, allocations: 4 kB / 0.983 GB, free: 10.33 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 5.749e-05/0.003627, allocations: 23.86 kB / 0.983 GB, free: 10.31 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 4.299e-05/0.00367, allocations: 11.98 kB / 0.983 GB, free: 10.3 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.64e-05/0.003687, allocations: 0 / 0.983 GB, free: 10.3 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 6.363e-05/0.00375, allocations: 11.98 kB / 0.9831 GB, free: 10.29 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.125e-05/0.003772, allocations: 11.98 kB / 0.9831 GB, free: 10.27 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 2.377e-05/0.003795, allocations: 7.938 kB / 0.9831 GB, free: 10.27 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001298/0.003925, allocations: 35.89 kB / 0.9831 GB, free: 10.23 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 2.094e-06/0.003927, allocations: 0 / 0.9831 GB, free: 10.23 MB / 0.9356 GB Notification: Performance of FrontEnd: time 6.41e-07/0.003928, allocations: 0 / 0.9831 GB, free: 10.23 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 3.657e-06/0.003932, allocations: 0 / 0.9831 GB, free: 10.23 MB / 0.9356 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.000476/0.004408, allocations: 274.2 kB / 0.9834 GB, free: 9.93 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/0.004447, allocations: 8.031 kB / 0.9834 GB, free: 9.922 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001782/0.004625, allocations: 12.92 kB / 0.9834 GB, free: 9.91 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001227/0.004748, allocations: 117.7 kB / 0.9835 GB, free: 9.77 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.382e-05/0.004772, allocations: 384 / 0.9835 GB, free: 9.77 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.738e-06/0.004782, allocations: 384 / 0.9835 GB, free: 9.77 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002095/0.004991, allocations: 62.22 kB / 0.9836 GB, free: 9.703 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.706e-06/0.005, allocations: 192 / 0.9836 GB, free: 9.703 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.949e-06/0.00501, allocations: 4.312 kB / 0.9836 GB, free: 9.699 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.459e-06/0.005014, allocations: 4.375 kB / 0.9836 GB, free: 9.695 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002248/0.005239, allocations: 51.89 kB / 0.9836 GB, free: 9.645 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000398/0.005637, allocations: 204.6 kB / 0.9838 GB, free: 9.414 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001947/0.005832, allocations: 62.48 kB / 0.9839 GB, free: 9.344 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001178/0.00595, allocations: 32.89 kB / 0.9839 GB, free: 9.309 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.391e-05/0.005964, allocations: 0 / 0.9839 GB, free: 9.309 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.219e-05/0.005996, allocations: 34.5 kB / 0.9839 GB, free: 9.266 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=2): time 9.02e-07/0.005997, allocations: 4 kB / 0.9839 GB, free: 9.262 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2): time 0.0004355/0.006432, allocations: 101.6 kB / 0.984 GB, free: 9.156 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.637e-05/0.006479, allocations: 51.41 kB / 0.9841 GB, free: 9.094 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.014e-05/0.006569, allocations: 105.8 kB / 0.9842 GB, free: 8.98 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.869e-05/0.006587, allocations: 29.83 kB / 0.9842 GB, free: 8.945 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 5.078e-05/0.006638, allocations: 88.14 kB / 0.9843 GB, free: 8.855 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.802e-05/0.006656, allocations: 3.953 kB / 0.9843 GB, free: 8.852 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.739e-05/0.006694, allocations: 13.72 kB / 0.9843 GB, free: 8.832 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001364/0.00683, allocations: 314.8 kB / 0.9846 GB, free: 8.516 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001125/0.006943, allocations: 19.97 kB / 0.9846 GB, free: 8.496 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001037/0.007046, allocations: 27.97 kB / 0.9847 GB, free: 8.469 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000217/0.007263, allocations: 56.81 kB / 0.9847 GB, free: 8.41 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.007265, allocations: 0 / 0.9847 GB, free: 8.41 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002618/0.007527, allocations: 81.61 kB / 0.9848 GB, free: 8.324 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.521e-05/0.007542, allocations: 4 kB / 0.9848 GB, free: 8.32 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.007548, allocations: 3.938 kB / 0.9848 GB, free: 8.316 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.623e-05/0.007565, allocations: 7.922 kB / 0.9848 GB, free: 8.309 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000104/0.007669, allocations: 12.03 kB / 0.9848 GB, free: 8.297 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.579e-06/0.007673, allocations: 0 / 0.9848 GB, free: 8.297 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.826e-05/0.007741, allocations: 11.98 kB / 0.9848 GB, free: 8.285 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.161e-06/0.007748, allocations: 0 / 0.9848 GB, free: 8.285 MB / 0.9356 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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.196e-05/0.007829, allocations: 113.8 kB / 0.9849 GB, free: 8.164 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.576e-05/0.007855, allocations: 4 kB / 0.9849 GB, free: 8.16 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.695e-05/0.007882, allocations: 11.5 kB / 0.985 GB, free: 8.152 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.007884, allocations: 0 / 0.985 GB, free: 8.152 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.007888, allocations: 0 / 0.985 GB, free: 8.152 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.234e-06/0.00789, allocations: 4 kB / 0.985 GB, free: 8.148 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001418/0.008032, allocations: 109.3 kB / 0.9851 GB, free: 8.012 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.31e-07/0.008033, allocations: 0 / 0.9851 GB, free: 8.012 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.02e-05/0.008113, allocations: 11.98 kB / 0.9851 GB, free: 8 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.423e-06/0.008114, allocations: 0 / 0.9851 GB, free: 8 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.595e-06/0.008122, allocations: 0 / 0.9851 GB, free: 8 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.537e-06/0.008125, allocations: 8.125 kB / 0.9851 GB, free: 7.992 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.008128, allocations: 4 kB / 0.9851 GB, free: 7.988 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003049/0.008433, allocations: 179.5 kB / 0.9853 GB, free: 7.797 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 1.079e-05/0.008444, allocations: 7.953 kB / 0.9853 GB, free: 7.789 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.327e-05/0.008457, allocations: 0 / 0.9853 GB, free: 7.789 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.784e-05/0.008555, allocations: 11.92 kB / 0.9853 GB, free: 7.777 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.684e-05/0.008592, allocations: 4 kB / 0.9853 GB, free: 7.773 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.747e-06/0.008595, allocations: 0 / 0.9853 GB, free: 7.773 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 5.006e-05/0.008645, allocations: 91.2 kB / 0.9854 GB, free: 7.684 MB / 0.9356 GB Notification: Performance of sort global known variables: time 8e-08/0.008645, allocations: 0 / 0.9854 GB, free: 7.684 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.00022/0.008865, allocations: 7.938 kB / 0.9854 GB, free: 7.676 MB / 0.9356 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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001194/0.008985, allocations: 99.81 kB / 0.9855 GB, free: 7.566 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002713/0.009256, allocations: 47.95 kB / 0.9855 GB, free: 7.52 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.009258, allocations: 0 / 0.9855 GB, free: 7.52 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001176/0.009375, allocations: 27.97 kB / 0.9855 GB, free: 7.492 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000269/0.009645, allocations: 4 kB / 0.9855 GB, free: 7.488 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003854/0.01003, allocations: 125 kB / 0.9857 GB, free: 7.34 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.871e-05/0.0101, allocations: 63.34 kB / 0.9857 GB, free: 7.258 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 2.702e-05/0.01013, allocations: 0 / 0.9857 GB, free: 7.258 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.741e-05/0.01016, allocations: 12.5 kB / 0.9857 GB, free: 7.246 MB / 0.9356 GB Notification: Performance of SimCode: time 3.9e-07/0.01016, allocations: 0 / 0.9857 GB, free: 7.246 MB / 0.9356 GB Notification: Performance of Templates: time 0.003209/0.01337, allocations: 0.6479 MB / 0.9864 GB, free: 6.605 MB / 0.9356 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Examples.PowerLinearized.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Examples.PowerLinearized.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Examples.PowerLinearized.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Examples.PowerLinearized.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Examples.PowerLinearized.sim & ./Buildings_12_Buildings.Utilities.Math.Examples.PowerLinearized -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Examples.PowerLinearized.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.PowerLinearized_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Examples_PowerLinearized.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Math.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.135805208235979]