Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0009966/0.0009966, allocations: 71.75 kB / 20.97 MB, free: 3.582 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.001035/0.001035, allocations: 169 kB / 24.28 MB, free: 280 kB / 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.9073/0.9073, allocations: 177.1 MB / 204.6 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.754/1.754, allocations: 359 MB / 0.6055 GB, free: 11 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_Buildings.Utilities.Math.Examples.PowerLinearized") translateModel(Buildings.Utilities.Math.Examples.PowerLinearized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|powerLinearized.y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Examples.PowerLinearized") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 0 / 0.7871 GB, free: 12.77 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.913e-05/2.055e-05, allocations: 2.312 kB / 0.7871 GB, free: 12.77 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.PowerLinearized): time 0.001848/0.001869, allocations: 1.493 MB / 0.7886 GB, free: 11.28 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0002651/0.002134, allocations: 89.45 kB / 0.7886 GB, free: 11.2 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.245e-05/0.002176, allocations: 0 / 0.7886 GB, free: 11.2 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.413e-05/0.002211, allocations: 3.938 kB / 0.7886 GB, free: 11.19 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 5.736e-05/0.002268, allocations: 0.6562 kB / 0.7886 GB, free: 11.19 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002498/0.002518, allocations: 17.55 kB / 0.7887 GB, free: 11.18 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 8.167e-05/0.002599, allocations: 31.84 kB / 0.7887 GB, free: 11.14 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 8.865e-05/0.002688, allocations: 4 kB / 0.7887 GB, free: 11.14 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 4.952e-05/0.002737, allocations: 11.98 kB / 0.7887 GB, free: 11.13 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 3.552e-05/0.002773, allocations: 15.33 kB / 0.7887 GB, free: 11.12 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.577e-05/0.002789, allocations: 0 / 0.7887 GB, free: 11.12 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 5.308e-05/0.002842, allocations: 15.98 kB / 0.7887 GB, free: 11.1 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.602e-05/0.002858, allocations: 7.938 kB / 0.7887 GB, free: 11.09 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 1.825e-05/0.002876, allocations: 4 kB / 0.7888 GB, free: 11.09 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001111/0.002987, allocations: 39.81 kB / 0.7888 GB, free: 11.05 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.853e-06/0.002989, allocations: 0 / 0.7888 GB, free: 11.05 MB / 0.7448 GB Notification: Performance of FrontEnd: time 4.51e-07/0.00299, allocations: 0 / 0.7888 GB, free: 11.05 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.288e-06/0.002994, allocations: 4 kB / 0.7888 GB, free: 11.05 MB / 0.7448 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.0003394/0.003333, allocations: 361.5 kB / 0.7891 GB, free: 10.66 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.545e-05/0.003369, allocations: 8.031 kB / 0.7891 GB, free: 10.65 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001414/0.00351, allocations: 21.45 kB / 0.7892 GB, free: 10.63 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.539e-05/0.003595, allocations: 112.6 kB / 0.7893 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.37e-05/0.003609, allocations: 5.812 kB / 0.7893 GB, free: 10.49 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.484e-06/0.003617, allocations: 384 / 0.7893 GB, free: 10.49 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001142/0.003731, allocations: 58.94 kB / 0.7893 GB, free: 10.43 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.923e-06/0.003738, allocations: 0.6875 kB / 0.7893 GB, free: 10.43 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.927e-06/0.003747, allocations: 384 / 0.7893 GB, free: 10.43 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.746e-06/0.003755, allocations: 5.562 kB / 0.7893 GB, free: 10.42 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.668e-05/0.003792, allocations: 11.92 kB / 0.7894 GB, free: 10.41 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002889/0.004081, allocations: 255.8 kB / 0.7896 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 5.938e-05/0.00414, allocations: 32.59 kB / 0.7896 GB, free: 10.08 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.07e-05/0.004171, allocations: 11.75 kB / 0.7896 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.179e-05/0.004183, allocations: 0 / 0.7896 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.116e-05/0.004204, allocations: 37.88 kB / 0.7897 GB, free: 10.02 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=2): time 8.21e-07/0.004205, allocations: 0 / 0.7897 GB, free: 10.02 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2): time 0.0001488/0.004354, allocations: 51.02 kB / 0.7897 GB, free: 9.965 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.807e-05/0.004382, allocations: 51.41 kB / 0.7898 GB, free: 9.902 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.827e-05/0.00446, allocations: 165.9 kB / 0.7899 GB, free: 9.723 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 8.456e-06/0.004468, allocations: 26.3 kB / 0.79 GB, free: 9.691 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.669e-05/0.004515, allocations: 132.9 kB / 0.7901 GB, free: 9.559 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.007e-05/0.004535, allocations: 7.953 kB / 0.7901 GB, free: 9.551 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.891e-05/0.004564, allocations: 15.38 kB / 0.7901 GB, free: 9.527 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001201/0.004684, allocations: 0.4923 MB / 0.7906 GB, free: 9.023 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.777e-05/0.004702, allocations: 0 / 0.7906 GB, free: 9.023 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.394e-05/0.004716, allocations: 4.531 kB / 0.7906 GB, free: 9.02 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.618e-05/0.004752, allocations: 16.34 kB / 0.7906 GB, free: 9 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.004755, allocations: 0 / 0.7906 GB, free: 9 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.698e-05/0.004822, allocations: 47.05 kB / 0.7907 GB, free: 8.949 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.821e-05/0.00484, allocations: 11.94 kB / 0.7907 GB, free: 8.938 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.004845, allocations: 3.984 kB / 0.7907 GB, free: 8.934 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.486e-05/0.00486, allocations: 0.625 kB / 0.7907 GB, free: 8.934 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.713e-05/0.004937, allocations: 5.031 kB / 0.7907 GB, free: 8.93 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.123e-06/0.004944, allocations: 0 / 0.7907 GB, free: 8.93 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.273e-05/0.004967, allocations: 11.92 kB / 0.7907 GB, free: 8.918 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.26e-06/0.004972, allocations: 0.75 kB / 0.7907 GB, free: 8.918 MB / 0.7448 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 7.04e-05/0.005043, allocations: 157.3 kB / 0.7908 GB, free: 8.754 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.509e-05/0.005058, allocations: 7.938 kB / 0.7908 GB, free: 8.746 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.038e-05/0.005098, allocations: 12.84 kB / 0.7909 GB, free: 8.738 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.005101, allocations: 0 / 0.7909 GB, free: 8.738 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.097e-06/0.005105, allocations: 0 / 0.7909 GB, free: 8.738 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.005108, allocations: 3.938 kB / 0.7909 GB, free: 8.734 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001042/0.005212, allocations: 117.1 kB / 0.791 GB, free: 8.586 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.005213, allocations: 1.281 kB / 0.791 GB, free: 8.586 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.843e-05/0.005241, allocations: 15.98 kB / 0.791 GB, free: 8.57 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.013e-06/0.005243, allocations: 0.9062 kB / 0.791 GB, free: 8.57 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.826e-06/0.005252, allocations: 0 / 0.791 GB, free: 8.57 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.544e-06/0.005255, allocations: 3.938 kB / 0.791 GB, free: 8.566 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.005256, allocations: 0.8438 kB / 0.791 GB, free: 8.566 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001135/0.00537, allocations: 191.9 kB / 0.7912 GB, free: 8.359 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 8.997e-06/0.005379, allocations: 6.188 kB / 0.7912 GB, free: 8.355 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.034e-05/0.005389, allocations: 0 / 0.7912 GB, free: 8.355 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.423e-05/0.005423, allocations: 7.938 kB / 0.7912 GB, free: 8.348 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.171e-05/0.005465, allocations: 3.984 kB / 0.7912 GB, free: 8.344 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.367e-06/0.005468, allocations: 0 / 0.7912 GB, free: 8.344 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.142e-05/0.00551, allocations: 129.9 kB / 0.7913 GB, free: 8.219 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.00551, allocations: 0 / 0.7913 GB, free: 8.219 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001371/0.005647, allocations: 7.938 kB / 0.7913 GB, free: 8.211 MB / 0.7448 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 6.866e-05/0.005716, allocations: 95.25 kB / 0.7914 GB, free: 8.109 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 7.862e-05/0.005794, allocations: 19.67 kB / 0.7914 GB, free: 8.086 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.313e-06/0.005796, allocations: 1.594 kB / 0.7914 GB, free: 8.086 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.104e-05/0.005817, allocations: 15.69 kB / 0.7914 GB, free: 8.066 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001697/0.005986, allocations: 4 kB / 0.7915 GB, free: 8.062 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002671/0.006253, allocations: 135.2 kB / 0.7916 GB, free: 7.902 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.261e-05/0.006286, allocations: 56.08 kB / 0.7916 GB, free: 7.828 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 1.766e-05/0.006304, allocations: 1.656 kB / 0.7916 GB, free: 7.828 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.863e-05/0.006332, allocations: 16.48 kB / 0.7917 GB, free: 7.812 MB / 0.7448 GB Notification: Performance of SimCode: time 6.11e-07/0.006333, allocations: 0 / 0.7917 GB, free: 7.812 MB / 0.7448 GB Notification: Performance of Templates: time 0.002075/0.008408, allocations: 0.6595 MB / 0.7923 GB, free: 7.176 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.Math.Examples.PowerLinearized.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Math.Examples.PowerLinearized.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.PowerLinearized.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.PowerLinearized.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.PowerLinearized.sim & ./Buildings_11_Buildings.Utilities.Math.Examples.PowerLinearized -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Examples.PowerLinearized.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.PowerLinearized_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/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: 4.950613091001287]