Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0009314/0.0009314, allocations: 80.75 kB / 19.94 MB, free: 4.547 MB / 18.57 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.001025/0.001025, allocations: 181 kB / 23.36 MB, free: 1.133 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 1.05/1.05, allocations: 177.1 MB / 203.8 MB, free: 5.457 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.417/2.417, allocations: 438.8 MB / 0.6827 GB, free: 13.59 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.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.Examples.PowerLinearized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|powerLinearized.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized") translateModel(Buildings.Utilities.Math.Examples.PowerLinearized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|powerLinearized.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 7.51e-07/7.51e-07, allocations: 0 / 0.8386 GB, free: 14.15 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.221e-05/1.296e-05, allocations: 2.312 kB / 0.8386 GB, free: 14.14 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.PowerLinearized): time 0.001958/0.001971, allocations: 1.54 MB / 0.8401 GB, free: 12.59 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.0002025/0.002174, allocations: 99.58 kB / 0.8402 GB, free: 12.5 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.075e-05/0.002204, allocations: 0 / 0.8402 GB, free: 12.5 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 2.965e-05/0.002234, allocations: 3.938 kB / 0.8402 GB, free: 12.49 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 4.363e-05/0.002278, allocations: 4 kB / 0.8402 GB, free: 12.49 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001334/0.002411, allocations: 11.98 kB / 0.8402 GB, free: 12.48 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 5.68e-05/0.002468, allocations: 31.86 kB / 0.8403 GB, free: 12.45 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 6.398e-05/0.002532, allocations: 15.92 kB / 0.8403 GB, free: 12.43 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 3.92e-05/0.002571, allocations: 11.98 kB / 0.8403 GB, free: 12.42 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 2.329e-05/0.002594, allocations: 7.984 kB / 0.8403 GB, free: 12.41 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.098e-05/0.002605, allocations: 0 / 0.8403 GB, free: 12.41 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 6.349e-05/0.002669, allocations: 19.98 kB / 0.8403 GB, free: 12.39 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 1.139e-05/0.00268, allocations: 3.938 kB / 0.8403 GB, free: 12.39 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 1.39e-05/0.002694, allocations: 8 kB / 0.8403 GB, free: 12.38 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 7.747e-05/0.002772, allocations: 35.88 kB / 0.8404 GB, free: 12.34 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.272e-06/0.002773, allocations: 0 / 0.8404 GB, free: 12.34 MB / 0.8073 GB Notification: Performance of FrontEnd: time 4.2e-07/0.002773, allocations: 4 kB / 0.8404 GB, free: 12.34 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 2.214e-06/0.002775, allocations: 0 / 0.8404 GB, free: 12.34 MB / 0.8073 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.0002321/0.003008, allocations: 236.9 kB / 0.8406 GB, free: 12.08 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 2.813e-05/0.003036, allocations: 16.56 kB / 0.8406 GB, free: 12.07 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001089/0.003145, allocations: 8.922 kB / 0.8406 GB, free: 12.06 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.724e-05/0.003192, allocations: 113.8 kB / 0.8407 GB, free: 11.92 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.724e-06/0.0032, allocations: 4.375 kB / 0.8407 GB, free: 11.92 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.636e-06/0.003203, allocations: 384 / 0.8407 GB, free: 11.92 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.759e-05/0.003271, allocations: 62.94 kB / 0.8408 GB, free: 11.85 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.368e-06/0.003275, allocations: 8.109 kB / 0.8408 GB, free: 11.84 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.697e-06/0.003279, allocations: 4.375 kB / 0.8408 GB, free: 11.84 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.124e-06/0.003281, allocations: 4.375 kB / 0.8408 GB, free: 11.83 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.057e-05/0.003302, allocations: 11.92 kB / 0.8408 GB, free: 11.82 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001378/0.003439, allocations: 144.3 kB / 0.841 GB, free: 11.66 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 3.595e-05/0.003475, allocations: 22.64 kB / 0.841 GB, free: 11.63 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.179e-05/0.003487, allocations: 4.859 kB / 0.841 GB, free: 11.62 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 9.037e-06/0.003496, allocations: 0 / 0.841 GB, free: 11.62 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.795e-05/0.003514, allocations: 42.5 kB / 0.841 GB, free: 11.57 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=2): time 5.41e-07/0.003515, allocations: 0 / 0.841 GB, free: 11.57 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2): time 8.764e-05/0.003602, allocations: 41.73 kB / 0.8411 GB, free: 11.53 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.397e-05/0.003626, allocations: 55.34 kB / 0.8411 GB, free: 11.46 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.724e-05/0.003673, allocations: 110.7 kB / 0.8412 GB, free: 11.34 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 9.598e-06/0.003683, allocations: 25.7 kB / 0.8413 GB, free: 11.31 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.582e-05/0.003709, allocations: 80.14 kB / 0.8413 GB, free: 11.23 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.382e-05/0.003723, allocations: 7.953 kB / 0.8413 GB, free: 11.22 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.325e-05/0.003746, allocations: 17.7 kB / 0.8414 GB, free: 11.2 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.655e-05/0.003822, allocations: 318.8 kB / 0.8417 GB, free: 10.88 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.154e-06/0.00383, allocations: 0 / 0.8417 GB, free: 10.88 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.151e-05/0.003841, allocations: 7.938 kB / 0.8417 GB, free: 10.87 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.903e-05/0.00386, allocations: 13.05 kB / 0.8417 GB, free: 10.85 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.003861, allocations: 0 / 0.8417 GB, free: 10.85 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2) (initialization): time 3.787e-05/0.003899, allocations: 37.69 kB / 0.8417 GB, free: 10.81 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 8.586e-06/0.003908, allocations: 4 kB / 0.8417 GB, free: 10.8 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.033e-06/0.00391, allocations: 4 kB / 0.8417 GB, free: 10.8 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.117e-06/0.003919, allocations: 0 / 0.8417 GB, free: 10.8 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.909e-05/0.003968, allocations: 11.92 kB / 0.8417 GB, free: 10.79 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.404e-06/0.00397, allocations: 3.984 kB / 0.8417 GB, free: 10.79 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.961e-05/0.00399, allocations: 11.89 kB / 0.8418 GB, free: 10.77 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.665e-06/0.003993, allocations: 4.031 kB / 0.8418 GB, free: 10.77 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 (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 0.0003067/0.004299, allocations: 117.7 kB / 0.8419 GB, free: 10.64 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.457e-05/0.004314, allocations: 0 / 0.8419 GB, free: 10.64 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.636e-05/0.00433, allocations: 11.61 kB / 0.8419 GB, free: 10.64 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.11e-07/0.004331, allocations: 0 / 0.8419 GB, free: 10.64 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.583e-06/0.004333, allocations: 7.938 kB / 0.8419 GB, free: 10.63 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.302e-06/0.004334, allocations: 0 / 0.8419 GB, free: 10.63 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.947e-05/0.004403, allocations: 65.89 kB / 0.8419 GB, free: 10.55 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.51e-07/0.004404, allocations: 0 / 0.8419 GB, free: 10.55 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.352e-05/0.004427, allocations: 11.98 kB / 0.842 GB, free: 10.54 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.71e-07/0.004428, allocations: 4 kB / 0.842 GB, free: 10.53 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.705e-06/0.004431, allocations: 0 / 0.842 GB, free: 10.53 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.11e-07/0.004431, allocations: 256 / 0.842 GB, free: 10.53 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.004433, allocations: 4 kB / 0.842 GB, free: 10.53 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.526e-05/0.004499, allocations: 135.5 kB / 0.8421 GB, free: 10.38 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 3.657e-06/0.004502, allocations: 0 / 0.8421 GB, free: 10.38 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.38e-06/0.004508, allocations: 0 / 0.8421 GB, free: 10.38 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.458e-05/0.004542, allocations: 11.92 kB / 0.8421 GB, free: 10.37 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.473e-05/0.004557, allocations: 4 kB / 0.8421 GB, free: 10.36 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.956e-06/0.00456, allocations: 4 kB / 0.8421 GB, free: 10.36 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.214e-05/0.004572, allocations: 20.81 kB / 0.8421 GB, free: 10.34 MB / 0.8073 GB Notification: Performance of sort global known variables: time 6e-08/0.004572, allocations: 0 / 0.8421 GB, free: 10.34 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001088/0.004681, allocations: 4 kB / 0.8421 GB, free: 10.33 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 (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 4.612e-05/0.004727, allocations: 72.42 kB / 0.8422 GB, free: 10.25 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 4.628e-05/0.004773, allocations: 12.86 kB / 0.8422 GB, free: 10.24 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.393e-06/0.004775, allocations: 0 / 0.8422 GB, free: 10.24 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 1.391e-05/0.004789, allocations: 8.859 kB / 0.8422 GB, free: 10.23 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.268e-05/0.004881, allocations: 8 kB / 0.8422 GB, free: 10.22 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001529/0.005034, allocations: 120.8 kB / 0.8424 GB, free: 10.07 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.641e-05/0.005061, allocations: 51.36 kB / 0.8424 GB, free: 10 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 1.614e-05/0.005077, allocations: 7.984 kB / 0.8424 GB, free: 9.996 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.562e-05/0.005112, allocations: 47.38 kB / 0.8425 GB, free: 9.949 MB / 0.8073 GB Notification: Performance of SimCode: time 4.11e-07/0.005113, allocations: 4 kB / 0.8425 GB, free: 9.945 MB / 0.8073 GB Notification: Performance of Templates: time 0.001663/0.006775, allocations: 0.6592 MB / 0.8431 GB, free: 9.297 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_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.233919842168689]