Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Math.Examples.PowerLinearized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001426/0.001426, allocations: 113.8 kB / 17.61 MB, free: 4.703 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001516/0.001516, allocations: 186 kB / 20.78 MB, free: 1.547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.433/1.433, allocations: 225.6 MB / 249.4 MB, free: 3.156 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.634/2.634, allocations: 443.5 MB / 0.7304 GB, free: 13.88 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_10_Buildings.Utilities.Math.Examples.PowerLinearized") translateModel(Buildings.Utilities.Math.Examples.PowerLinearized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|powerLinearized.y",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Examples.PowerLinearized") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001971/0.001971, allocations: 67.89 kB / 1.059 GB, free: 376 kB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3048/0.3068, allocations: 160.7 MB / 1.216 GB, free: 15.34 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.PowerLinearized): time 0.00289/0.3097, allocations: 1.45 MB / 1.218 GB, free: 13.87 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0003199/0.31, allocations: 84.66 kB / 1.218 GB, free: 13.78 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.128e-05/0.31, allocations: 4 kB / 1.218 GB, free: 13.78 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.143e-05/0.3101, allocations: 11.88 kB / 1.218 GB, free: 13.77 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 5.83e-05/0.3101, allocations: 3.938 kB / 1.218 GB, free: 13.76 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002036/0.3103, allocations: 19.97 kB / 1.218 GB, free: 13.74 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 8.478e-05/0.3104, allocations: 19.94 kB / 1.218 GB, free: 13.72 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001112/0.3105, allocations: 11.97 kB / 1.218 GB, free: 13.71 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 4.895e-05/0.3106, allocations: 8 kB / 1.218 GB, free: 13.7 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 5.355e-05/0.3106, allocations: 15.92 kB / 1.218 GB, free: 13.69 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.445e-05/0.3107, allocations: 0 / 1.218 GB, free: 13.69 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 6.315e-05/0.3107, allocations: 15.98 kB / 1.218 GB, free: 13.67 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.634e-05/0.3107, allocations: 7.938 kB / 1.218 GB, free: 13.66 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.782e-05/0.3108, allocations: 15.92 kB / 1.218 GB, free: 13.65 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001181/0.3109, allocations: 35.89 kB / 1.218 GB, free: 13.61 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.359e-06/0.3109, allocations: 0 / 1.218 GB, free: 13.61 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.173e-06/0.3109, allocations: 0 / 1.218 GB, free: 13.61 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.31e-06/0.3109, allocations: 3.938 kB / 1.218 GB, free: 13.61 MB / 0.9669 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.0005012/0.3114, allocations: 347.3 kB / 1.218 GB, free: 13.22 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.39e-05/0.3114, allocations: 8.031 kB / 1.218 GB, free: 13.21 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000155/0.3116, allocations: 16.92 kB / 1.218 GB, free: 13.2 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001383/0.3117, allocations: 164.4 kB / 1.218 GB, free: 13 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.25e-05/0.3117, allocations: 12.25 kB / 1.218 GB, free: 12.98 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.486e-06/0.3117, allocations: 4.375 kB / 1.218 GB, free: 12.98 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001899/0.3119, allocations: 54.23 kB / 1.218 GB, free: 12.92 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.021e-05/0.3119, allocations: 4.172 kB / 1.218 GB, free: 12.92 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.277e-05/0.312, allocations: 7.938 kB / 1.218 GB, free: 12.91 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.312, allocations: 0 / 1.218 GB, free: 12.91 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002045/0.3122, allocations: 51.94 kB / 1.218 GB, free: 12.86 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003922/0.3126, allocations: 260.9 kB / 1.219 GB, free: 12.55 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000184/0.3127, allocations: 58.42 kB / 1.219 GB, free: 12.49 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001069/0.3129, allocations: 24.91 kB / 1.219 GB, free: 12.46 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.991e-05/0.3129, allocations: 8 kB / 1.219 GB, free: 12.45 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.059e-05/0.3129, allocations: 34.55 kB / 1.219 GB, free: 12.41 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 9.72e-07/0.3129, allocations: 0 / 1.219 GB, free: 12.41 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.000413/0.3133, allocations: 101.6 kB / 1.219 GB, free: 12.3 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.161e-05/0.3134, allocations: 59.47 kB / 1.219 GB, free: 12.23 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.71e-05/0.3135, allocations: 101.9 kB / 1.219 GB, free: 12.12 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.549e-05/0.3135, allocations: 25.7 kB / 1.219 GB, free: 12.09 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.18e-05/0.3135, allocations: 88.12 kB / 1.219 GB, free: 12 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.124e-05/0.3136, allocations: 7.891 kB / 1.219 GB, free: 12 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.431e-05/0.3136, allocations: 13.72 kB / 1.219 GB, free: 11.98 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001472/0.3137, allocations: 314.8 kB / 1.219 GB, free: 11.66 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001152/0.3139, allocations: 27.97 kB / 1.22 GB, free: 11.63 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.215e-05/0.314, allocations: 23.97 kB / 1.22 GB, free: 11.61 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001895/0.3141, allocations: 48.81 kB / 1.22 GB, free: 11.56 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.724e-06/0.3141, allocations: 0 / 1.22 GB, free: 11.56 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002347/0.3144, allocations: 85.66 kB / 1.22 GB, free: 11.47 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.561e-05/0.3144, allocations: 9.5 kB / 1.22 GB, free: 11.46 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.3144, allocations: 0 / 1.22 GB, free: 11.46 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.732e-05/0.3144, allocations: 0 / 1.22 GB, free: 11.46 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001092/0.3145, allocations: 11.98 kB / 1.22 GB, free: 11.45 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.298e-06/0.3145, allocations: 3.938 kB / 1.22 GB, free: 11.45 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.591e-05/0.3146, allocations: 15.94 kB / 1.22 GB, free: 11.43 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.67e-06/0.3146, allocations: 0 / 1.22 GB, free: 11.43 MB / 0.9669 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 9.623e-05/0.3147, allocations: 117.8 kB / 1.22 GB, free: 11.3 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.369e-05/0.3147, allocations: 4 kB / 1.22 GB, free: 11.3 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.824e-05/0.3148, allocations: 7.516 kB / 1.22 GB, free: 11.29 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.312e-06/0.3148, allocations: 0 / 1.22 GB, free: 11.29 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.805e-06/0.3148, allocations: 0 / 1.22 GB, free: 11.29 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.994e-06/0.3148, allocations: 0 / 1.22 GB, free: 11.29 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001909/0.3149, allocations: 169.8 kB / 1.22 GB, free: 11.07 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.11e-07/0.3149, allocations: 0 / 1.22 GB, free: 11.07 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.7e-05/0.315, allocations: 15.98 kB / 1.22 GB, free: 11.06 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.433e-06/0.315, allocations: 7.938 kB / 1.22 GB, free: 11.05 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.046e-06/0.315, allocations: 0 / 1.22 GB, free: 11.05 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.315, allocations: 0 / 1.22 GB, free: 11.05 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.128e-06/0.3151, allocations: 3.984 kB / 1.22 GB, free: 11.05 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002896/0.3153, allocations: 183.4 kB / 1.22 GB, free: 10.85 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.565e-05/0.3154, allocations: 85.06 kB / 1.22 GB, free: 10.75 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.262e-05/0.3154, allocations: 4.031 kB / 1.22 GB, free: 10.75 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.928e-05/0.3155, allocations: 7.984 kB / 1.22 GB, free: 10.74 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.578e-05/0.3155, allocations: 4 kB / 1.22 GB, free: 10.73 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.797e-06/0.3155, allocations: 0 / 1.22 GB, free: 10.73 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 4.699e-05/0.3156, allocations: 87.27 kB / 1.22 GB, free: 10.65 MB / 0.9669 GB Notification: Performance of sort global known variables: time 8.1e-08/0.3156, allocations: 0 / 1.22 GB, free: 10.65 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.000209/0.3158, allocations: 4 kB / 1.22 GB, free: 10.64 MB / 0.9669 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.0001244/0.3159, allocations: 99.25 kB / 1.22 GB, free: 10.54 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002445/0.3162, allocations: 47.95 kB / 1.221 GB, free: 10.49 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.3162, allocations: 0 / 1.221 GB, free: 10.49 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.000118/0.3163, allocations: 31.91 kB / 1.221 GB, free: 10.46 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002603/0.3165, allocations: 11.94 kB / 1.221 GB, free: 10.45 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003378/0.3169, allocations: 125.5 kB / 1.221 GB, free: 10.3 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003228/0.3172, allocations: 0.6807 MB / 1.221 GB, free: 9.594 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 2.844e-05/0.3172, allocations: 0 / 1.221 GB, free: 9.594 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.825e-05/0.3172, allocations: 7.438 kB / 1.221 GB, free: 9.586 MB / 0.9669 GB Notification: Performance of SimCode: time 2.9e-07/0.3172, allocations: 0 / 1.221 GB, free: 9.586 MB / 0.9669 GB Notification: Performance of Templates: time 0.002842/0.3201, allocations: 0.5874 MB / 1.222 GB, free: 9 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Utilities.Math.Examples.PowerLinearized.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Utilities.Math.Examples.PowerLinearized.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Examples.PowerLinearized.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Examples.PowerLinearized.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Examples.PowerLinearized.sim & ./Buildings_10_Buildings.Utilities.Math.Examples.PowerLinearized -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Examples.PowerLinearized.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Examples.PowerLinearized_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Examples_PowerLinearized.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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: 7.920118087902665]