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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) 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=5000,variableFilter="time|powerLinearized.y",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Examples.PowerLinearized") translateModel(Buildings.Utilities.Math.Examples.PowerLinearized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|powerLinearized.y",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Examples.PowerLinearized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001614/0.001614, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00209/0.00209, allocations: 196.7 kB / 16.53 MB, free: 6.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.42/1.42, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.599/2.599, allocations: 437 MB / 0.7103 GB, free: 5.094 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001238/0.001238, allocations: 67.89 kB / 0.8692 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.789/0.7903, allocations: 151.6 MB / 1.017 GB, free: 2.512 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.PowerLinearized): time 0.002511/0.7928, allocations: 1.446 MB / 1.019 GB, free: 1.055 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0002564/0.7931, allocations: 84.59 kB / 1.019 GB, free: 0.9688 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.104e-05/0.7931, allocations: 0 / 1.019 GB, free: 0.9688 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.107e-05/0.7932, allocations: 7.922 kB / 1.019 GB, free: 0.9609 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 3.773e-05/0.7932, allocations: 0 / 1.019 GB, free: 0.9609 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001762/0.7934, allocations: 23.92 kB / 1.019 GB, free: 0.9375 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 6.014e-05/0.7935, allocations: 31.91 kB / 1.019 GB, free: 0.9062 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 8.693e-05/0.7936, allocations: 4 kB / 1.019 GB, free: 0.9023 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 3.874e-05/0.7936, allocations: 11.94 kB / 1.019 GB, free: 0.8906 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 3.853e-05/0.7937, allocations: 11.92 kB / 1.019 GB, free: 0.8789 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.26e-05/0.7937, allocations: 0 / 1.019 GB, free: 0.8789 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 5.601e-05/0.7937, allocations: 15.98 kB / 1.019 GB, free: 0.8633 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.385e-05/0.7938, allocations: 8 kB / 1.019 GB, free: 0.8555 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.556e-05/0.7938, allocations: 11.92 kB / 1.019 GB, free: 0.8438 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 9.971e-05/0.7939, allocations: 31.89 kB / 1.019 GB, free: 0.8125 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.7939, allocations: 4 kB / 1.019 GB, free: 0.8086 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.102e-06/0.7939, allocations: 8 kB / 1.019 GB, free: 0.8008 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.298e-06/0.7939, allocations: 0 / 1.019 GB, free: 0.8008 MB / 0.7637 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.0004127/0.7943, allocations: 337.4 kB / 1.019 GB, free: 432 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.412e-05/0.7944, allocations: 12.03 kB / 1.019 GB, free: 420 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001674/0.7946, allocations: 20.81 kB / 1.019 GB, free: 400 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001169/0.7947, allocations: 164.3 kB / 1.019 GB, free: 196 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.005e-05/0.7947, allocations: 384 / 1.019 GB, free: 196 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.979e-06/0.7947, allocations: 4.375 kB / 1.019 GB, free: 192 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000187/0.7949, allocations: 62.22 kB / 1.019 GB, free: 124 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.875e-06/0.7949, allocations: 4.125 kB / 1.019 GB, free: 120 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.137e-05/0.7949, allocations: 7.938 kB / 1.02 GB, free: 112 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-06/0.795, allocations: 3.984 kB / 1.02 GB, free: 108 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000218/0.7952, allocations: 43.95 kB / 1.02 GB, free: 64 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000374/0.7956, allocations: 265 kB / 1.02 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001741/0.7957, allocations: 58.42 kB / 1.02 GB, free: 15.69 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001191/0.7959, allocations: 24.91 kB / 1.02 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.288e-05/0.7959, allocations: 7.984 kB / 1.02 GB, free: 15.65 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.147e-05/0.7959, allocations: 38.5 kB / 1.02 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 9.92e-07/0.7959, allocations: 0 / 1.02 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.000429/0.7964, allocations: 105.5 kB / 1.02 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.31e-05/0.7964, allocations: 51.41 kB / 1.02 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.317e-05/0.7965, allocations: 101.9 kB / 1.02 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.643e-05/0.7965, allocations: 33.81 kB / 1.02 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.249e-05/0.7966, allocations: 84.14 kB / 1.02 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.882e-05/0.7966, allocations: 3.906 kB / 1.02 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.732e-05/0.7966, allocations: 13.72 kB / 1.02 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001155/0.7968, allocations: 318.8 kB / 1.021 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001143/0.7969, allocations: 19.97 kB / 1.021 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001043/0.797, allocations: 35.91 kB / 1.021 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000202/0.7972, allocations: 48.81 kB / 1.021 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-06/0.7972, allocations: 0 / 1.021 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002519/0.7975, allocations: 81.59 kB / 1.021 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.502e-05/0.7975, allocations: 4.094 kB / 1.021 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.139e-06/0.7975, allocations: 4 kB / 1.021 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.272e-05/0.7975, allocations: 0 / 1.021 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001151/0.7976, allocations: 11.98 kB / 1.021 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.779e-06/0.7977, allocations: 0 / 1.021 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.653e-05/0.7977, allocations: 11.98 kB / 1.021 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.002e-06/0.7977, allocations: 0 / 1.021 GB, free: 14.63 MB / 0.7794 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.085e-05/0.7978, allocations: 109.8 kB / 1.021 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.892e-05/0.7979, allocations: 15.92 kB / 1.021 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.936e-05/0.7979, allocations: 7.531 kB / 1.021 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.7979, allocations: 0 / 1.021 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.7979, allocations: 0 / 1.021 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.7979, allocations: 0 / 1.021 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001739/0.7981, allocations: 169.8 kB / 1.021 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.7981, allocations: 4 kB / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.389e-05/0.7982, allocations: 15.98 kB / 1.021 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.7982, allocations: 0 / 1.021 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.384e-06/0.7982, allocations: 0 / 1.021 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.7982, allocations: 0 / 1.021 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.7982, allocations: 4 kB / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003027/0.7985, allocations: 175.4 kB / 1.021 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.703e-05/0.7986, allocations: 81.11 kB / 1.021 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.43e-05/0.7986, allocations: 0 / 1.021 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.613e-05/0.7987, allocations: 12.02 kB / 1.021 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.906e-05/0.7988, allocations: 3.938 kB / 1.021 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.873e-06/0.7988, allocations: 0 / 1.021 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.227e-05/0.7988, allocations: 95.2 kB / 1.021 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.21e-07/0.7988, allocations: 0 / 1.021 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002243/0.7991, allocations: 4 kB / 1.021 GB, free: 13.86 MB / 0.7794 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.0001226/0.7992, allocations: 95.25 kB / 1.022 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002872/0.7995, allocations: 55.89 kB / 1.022 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.7995, allocations: 4 kB / 1.022 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001129/0.7996, allocations: 23.97 kB / 1.022 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003347/0.8, allocations: 10.47 kB / 1.022 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003594/0.8003, allocations: 133.5 kB / 1.022 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002332/0.8006, allocations: 0.6768 MB / 1.022 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.973e-05/0.8006, allocations: 0 / 1.022 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.819e-05/0.8006, allocations: 7.438 kB / 1.022 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of SimCode: time 2.31e-07/0.8006, allocations: 0 / 1.022 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of Templates: time 0.002522/0.8032, allocations: 0.5854 MB / 1.023 GB, free: 12.21 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Utilities.Math.Examples.PowerLinearized.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Examples.PowerLinearized.pipe 2>&1) 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) Reference file matches