Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_9_Buildings.Utilities.Math.Examples.PowerLinearized") translateModel(Buildings.Utilities.Math.Examples.PowerLinearized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|powerLinearized.y",fileNamePrefix="Buildings_9_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.0009224/0.0009224, allocations: 86.72 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001001/0.001001, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.474/1.474, allocations: 223.3 MB / 240 MB, free: 5.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.5/2.5, allocations: 390.9 MB / 0.666 GB, free: 2.484 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004175/0.0004179, allocations: 16 kB / 0.8154 GB, free: 13.64 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8933/0.8938, allocations: 142.4 MB / 0.9544 GB, free: 7.719 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.PowerLinearized): time 0.001586/0.8954, allocations: 1.152 MB / 0.9556 GB, free: 6.805 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0002779/0.8957, allocations: 79.81 kB / 0.9556 GB, free: 6.742 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.481e-05/0.8957, allocations: 0 / 0.9556 GB, free: 6.742 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.858e-05/0.8958, allocations: 5.031 kB / 0.9556 GB, free: 6.738 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.233e-05/0.8958, allocations: 0 / 0.9556 GB, free: 6.738 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001848/0.896, allocations: 15.92 kB / 0.9557 GB, free: 6.727 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.371e-05/0.8961, allocations: 23.98 kB / 0.9557 GB, free: 6.711 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.364e-05/0.8962, allocations: 14.64 kB / 0.9557 GB, free: 6.699 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.9e-05/0.8963, allocations: 11.55 kB / 0.9557 GB, free: 6.691 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.111e-05/0.8963, allocations: 10.56 kB / 0.9557 GB, free: 6.684 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.518e-05/0.8963, allocations: 1.375 kB / 0.9557 GB, free: 6.684 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 6.342e-05/0.8964, allocations: 16.52 kB / 0.9557 GB, free: 6.676 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.054e-05/0.8964, allocations: 7.969 kB / 0.9557 GB, free: 6.668 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.752e-05/0.8965, allocations: 26.95 kB / 0.9558 GB, free: 6.637 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 9.282e-05/0.8966, allocations: 18.31 kB / 0.9558 GB, free: 6.625 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.181e-06/0.8966, allocations: 0 / 0.9558 GB, free: 6.625 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.554e-06/0.8966, allocations: 5.344 kB / 0.9558 GB, free: 6.621 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.599e-06/0.8966, allocations: 4 kB / 0.9558 GB, free: 6.617 MB / 0.7169 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.0004124/0.897, allocations: 343.3 kB / 0.9561 GB, free: 6.254 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.741e-05/0.8971, allocations: 9 kB / 0.9561 GB, free: 6.254 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001698/0.8972, allocations: 17.19 kB / 0.9561 GB, free: 6.246 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.643e-05/0.8973, allocations: 169.7 kB / 0.9563 GB, free: 6.043 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.581e-05/0.8974, allocations: 1.438 kB / 0.9563 GB, free: 6.043 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.999e-06/0.8974, allocations: 7.938 kB / 0.9563 GB, free: 6.035 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001895/0.8976, allocations: 63.53 kB / 0.9564 GB, free: 5.988 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.005e-06/0.8976, allocations: 1.281 kB / 0.9564 GB, free: 5.988 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.059e-05/0.8976, allocations: 0 / 0.9564 GB, free: 5.988 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.85e-06/0.8976, allocations: 0 / 0.9564 GB, free: 5.988 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002046/0.8978, allocations: 68.12 kB / 0.9564 GB, free: 5.961 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003857/0.8982, allocations: 261.9 kB / 0.9567 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001762/0.8984, allocations: 66.89 kB / 0.9568 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001131/0.8985, allocations: 40.7 kB / 0.9568 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.042e-05/0.8986, allocations: 0.9062 kB / 0.9568 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.499e-05/0.8986, allocations: 35.53 kB / 0.9568 GB, free: 5.559 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.452e-06/0.8986, allocations: 0 / 0.9568 GB, free: 5.559 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0004614/0.8991, allocations: 128.4 kB / 0.957 GB, free: 5.488 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.108e-05/0.8991, allocations: 52.41 kB / 0.957 GB, free: 5.426 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.067e-05/0.8992, allocations: 109 kB / 0.9571 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.055e-05/0.8992, allocations: 29.83 kB / 0.9571 GB, free: 5.281 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.041e-05/0.8993, allocations: 86.11 kB / 0.9572 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.204e-05/0.8993, allocations: 5.406 kB / 0.9572 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.288e-06/0.8993, allocations: 0 / 0.9572 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.786e-05/0.8994, allocations: 316.2 kB / 0.9575 GB, free: 4.875 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.952e-05/0.8995, allocations: 27.48 kB / 0.9576 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.278e-05/0.8996, allocations: 35.97 kB / 0.9576 GB, free: 4.852 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001013/0.8997, allocations: 31.69 kB / 0.9576 GB, free: 4.84 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.8997, allocations: 0 / 0.9576 GB, free: 4.84 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002337/0.8999, allocations: 93.22 kB / 0.9577 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.005e-05/0.9, allocations: 5.812 kB / 0.9577 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.9, allocations: 3.938 kB / 0.9577 GB, free: 4.781 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.695e-05/0.9, allocations: 5.156 kB / 0.9577 GB, free: 4.777 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001169/0.9001, allocations: 22.06 kB / 0.9577 GB, free: 4.766 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/0.9001, allocations: 0 / 0.9577 GB, free: 4.766 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.314e-05/0.9002, allocations: 17.11 kB / 0.9578 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.572e-06/0.9002, allocations: 3.938 kB / 0.9578 GB, free: 4.754 MB / 0.7169 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.916e-05/0.9003, allocations: 109.8 kB / 0.9579 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.117e-05/0.9003, allocations: 4 kB / 0.9579 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.529e-05/0.9003, allocations: 13.11 kB / 0.9579 GB, free: 4.621 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.302e-06/0.9004, allocations: 0 / 0.9579 GB, free: 4.621 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.9004, allocations: 3.953 kB / 0.9579 GB, free: 4.617 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.9004, allocations: 1.531 kB / 0.9579 GB, free: 4.617 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001252/0.9005, allocations: 159 kB / 0.958 GB, free: 4.418 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.9005, allocations: 1.344 kB / 0.958 GB, free: 4.418 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.46e-05/0.9006, allocations: 14.05 kB / 0.9581 GB, free: 4.414 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.9006, allocations: 5.219 kB / 0.9581 GB, free: 4.41 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.057e-05/0.9006, allocations: 4 kB / 0.9581 GB, free: 4.406 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.9006, allocations: 0 / 0.9581 GB, free: 4.406 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.9006, allocations: 1.375 kB / 0.9581 GB, free: 4.406 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002592/0.9009, allocations: 192.2 kB / 0.9582 GB, free: 4.246 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.13e-05/0.9009, allocations: 86.25 kB / 0.9583 GB, free: 4.145 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.664e-05/0.9009, allocations: 0 / 0.9583 GB, free: 4.145 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.573e-05/0.901, allocations: 16.36 kB / 0.9583 GB, free: 4.137 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.817e-05/0.9011, allocations: 1.312 kB / 0.9583 GB, free: 4.137 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.218e-06/0.9011, allocations: 5.531 kB / 0.9584 GB, free: 4.133 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.651e-05/0.9011, allocations: 90.95 kB / 0.9584 GB, free: 4.047 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.9011, allocations: 1.406 kB / 0.9584 GB, free: 4.047 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002058/0.9013, allocations: 8.328 kB / 0.9584 GB, free: 4.043 MB / 0.7169 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001223/0.9015, allocations: 99.12 kB / 0.9585 GB, free: 3.953 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002417/0.9017, allocations: 66.2 kB / 0.9586 GB, free: 3.93 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.9017, allocations: 0 / 0.9586 GB, free: 3.93 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001034/0.9018, allocations: 34.34 kB / 0.9586 GB, free: 3.918 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002789/0.9021, allocations: 6.438 kB / 0.9586 GB, free: 3.914 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003269/0.9025, allocations: 132.4 kB / 0.9588 GB, free: 3.785 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001408/0.9026, allocations: 0.6793 MB / 0.9594 GB, free: 3.086 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.352e-05/0.9026, allocations: 4 kB / 0.9594 GB, free: 3.082 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.837e-05/0.9027, allocations: 8.781 kB / 0.9594 GB, free: 3.074 MB / 0.7169 GB Notification: Performance of SimCode: time 2.1e-07/0.9027, allocations: 0 / 0.9594 GB, free: 3.074 MB / 0.7169 GB Notification: Performance of Templates: time 0.002608/0.9053, allocations: 497.8 kB / 0.9599 GB, free: 2.828 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Examples.PowerLinearized.makefile (rm -f Buildings_9_Buildings.Utilities.Math.Examples.PowerLinearized.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Examples.PowerLinearized.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Examples.PowerLinearized.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Examples.PowerLinearized.sim & ./Buildings_9_Buildings.Utilities.Math.Examples.PowerLinearized -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Math.Examples.PowerLinearized.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Examples.PowerLinearized_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Examples_PowerLinearized.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Examples.PowerLinearized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches