Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.Functions.Examples.RegNonZeroPowerDerivative_2_Check,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|y|der.x.|der.y.",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check") translateModel(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|y|der.x.|der.y.",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001143/0.001143, 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.001106/0.001106, allocations: 197 kB / 16.53 MB, free: 6.664 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.316/1.316, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.325/2.325, allocations: 390.2 MB / 0.6647 GB, free: 420 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001458/0.001458, allocations: 63.91 kB / 0.8125 GB, free: 14.46 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8018/0.8033, allocations: 140.4 MB / 0.9496 GB, free: 9.133 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.002151/0.8055, allocations: 0.623 MB / 0.9502 GB, free: 8.648 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0006658/0.8062, allocations: 344.9 kB / 0.9505 GB, free: 8.383 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.667e-05/0.8062, allocations: 0 / 0.9505 GB, free: 8.383 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.927e-05/0.8063, allocations: 0 / 0.9505 GB, free: 8.383 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 3.701e-05/0.8063, allocations: 3.938 kB / 0.9505 GB, free: 8.379 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004862/0.8068, allocations: 122.4 kB / 0.9507 GB, free: 8.305 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.47e-05/0.8069, allocations: 26.91 kB / 0.9507 GB, free: 8.289 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.943e-05/0.8069, allocations: 2.75 kB / 0.9507 GB, free: 8.289 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.121e-05/0.807, allocations: 12.06 kB / 0.9507 GB, free: 8.281 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.676e-05/0.807, allocations: 12.05 kB / 0.9507 GB, free: 8.273 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.384e-05/0.8071, allocations: 1.375 kB / 0.9507 GB, free: 8.273 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003603/0.8074, allocations: 276 kB / 0.951 GB, free: 8.121 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.563e-05/0.8074, allocations: 9.141 kB / 0.951 GB, free: 8.113 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.365e-05/0.8075, allocations: 8.312 kB / 0.951 GB, free: 8.109 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001781/0.8077, allocations: 111.3 kB / 0.9511 GB, free: 8.031 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.8077, allocations: 4 kB / 0.9511 GB, free: 8.027 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.973e-06/0.8077, allocations: 0 / 0.9511 GB, free: 8.027 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.161e-06/0.8077, allocations: 0 / 0.9511 GB, free: 8.027 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003847/0.8081, allocations: 352.8 kB / 0.9514 GB, free: 7.652 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.147e-05/0.8081, allocations: 16.73 kB / 0.9514 GB, free: 7.645 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.567e-05/0.8082, allocations: 3.625 kB / 0.9515 GB, free: 7.645 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.289e-05/0.8083, allocations: 173.7 kB / 0.9516 GB, free: 7.438 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.255e-05/0.8083, allocations: 1.812 kB / 0.9516 GB, free: 7.438 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.837e-05/0.8083, allocations: 4.125 kB / 0.9516 GB, free: 7.438 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000121/0.8085, allocations: 56.91 kB / 0.9517 GB, free: 7.387 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.315e-05/0.8085, allocations: 192 / 0.9517 GB, free: 7.387 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.279e-05/0.8085, allocations: 5.312 kB / 0.9517 GB, free: 7.383 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.641e-06/0.8085, allocations: 0 / 0.9517 GB, free: 7.383 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.865e-05/0.8086, allocations: 18.89 kB / 0.9517 GB, free: 7.375 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001418/0.8087, allocations: 166.3 kB / 0.9519 GB, free: 7.172 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001037/0.8088, allocations: 55.19 kB / 0.9519 GB, free: 7.133 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.222e-05/0.8089, allocations: 42.09 kB / 0.952 GB, free: 7.102 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000599/0.8095, allocations: 460.8 kB / 0.9524 GB, free: 6.605 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.063e-05/0.8095, allocations: 35.72 kB / 0.9524 GB, free: 6.562 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.072e-06/0.8095, allocations: 0 / 0.9524 GB, free: 6.562 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11): time 0.001175/0.8107, allocations: 0.5873 MB / 0.953 GB, free: 6.02 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.184e-05/0.8107, allocations: 60.58 kB / 0.9531 GB, free: 5.949 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.348e-05/0.8108, allocations: 98.27 kB / 0.9531 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.183e-05/0.8108, allocations: 31.27 kB / 0.9532 GB, free: 5.812 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.05e-05/0.8108, allocations: 80.14 kB / 0.9533 GB, free: 5.73 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.429e-05/0.8109, allocations: 44.47 kB / 0.9533 GB, free: 5.691 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.936e-05/0.8109, allocations: 29.05 kB / 0.9533 GB, free: 5.664 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.766e-05/0.811, allocations: 317 kB / 0.9536 GB, free: 5.348 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.23e-05/0.811, allocations: 20.02 kB / 0.9536 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.539e-05/0.8111, allocations: 20.5 kB / 0.9537 GB, free: 5.332 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.656e-05/0.8112, allocations: 66.34 kB / 0.9537 GB, free: 5.293 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.61e-07/0.8112, allocations: 0 / 0.9537 GB, free: 5.293 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001368/0.8113, allocations: 98.81 kB / 0.9538 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.549e-05/0.8113, allocations: 4.562 kB / 0.9538 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.129e-06/0.8113, allocations: 0 / 0.9538 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.538e-05/0.8114, allocations: 1.438 kB / 0.9538 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001094/0.8115, allocations: 21.45 kB / 0.9539 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.162e-06/0.8115, allocations: 1 kB / 0.9539 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.35e-05/0.8115, allocations: 5.156 kB / 0.9539 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.644e-06/0.8115, allocations: 2.156 kB / 0.9539 GB, free: 5.227 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 (13): * Single equations (assignments): 13 * 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 5.948e-05/0.8116, allocations: 120.9 kB / 0.954 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.923e-05/0.8116, allocations: 10.72 kB / 0.954 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001754/0.8118, allocations: 102.9 kB / 0.9541 GB, free: 5.02 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.8118, allocations: 2.375 kB / 0.9541 GB, free: 5.02 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.8118, allocations: 0 / 0.9541 GB, free: 5.02 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.8118, allocations: 0 / 0.9541 GB, free: 5.02 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003201/0.8122, allocations: 353.7 kB / 0.9544 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.8122, allocations: 4.094 kB / 0.9544 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001049/0.8123, allocations: 25.58 kB / 0.9544 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.305e-06/0.8123, allocations: 1.031 kB / 0.9545 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.058e-05/0.8123, allocations: 1.125 kB / 0.9545 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.245e-06/0.8123, allocations: 9.062 kB / 0.9545 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.8123, allocations: 0 / 0.9545 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002215/0.8125, allocations: 222.9 kB / 0.9547 GB, free: 4.469 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.581e-05/0.8126, allocations: 87.94 kB / 0.9548 GB, free: 4.367 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.577e-05/0.8126, allocations: 5.438 kB / 0.9548 GB, free: 4.363 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.701e-05/0.8127, allocations: 5.125 kB / 0.9548 GB, free: 4.359 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.617e-05/0.8127, allocations: 8.516 kB / 0.9548 GB, free: 4.355 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.544e-06/0.8127, allocations: 2.812 kB / 0.9548 GB, free: 4.355 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.129e-05/0.8128, allocations: 76.66 kB / 0.9549 GB, free: 4.281 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.21e-07/0.8128, allocations: 1.719 kB / 0.9549 GB, free: 4.281 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002646/0.813, allocations: 44.25 kB / 0.9549 GB, free: 4.27 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (y_comp,der_y_comp) * 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 (11): * Single equations (assignments): 11 * 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.0002257/0.8133, allocations: 147.2 kB / 0.955 GB, free: 4.16 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001568/0.8134, allocations: 71.55 kB / 0.9551 GB, free: 4.129 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 6.061e-06/0.8134, allocations: 0 / 0.9551 GB, free: 4.129 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 4.76e-05/0.8135, allocations: 33.61 kB / 0.9551 GB, free: 4.117 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002227/0.8137, allocations: 11.58 kB / 0.9551 GB, free: 4.109 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003324/0.8141, allocations: 177.5 kB / 0.9553 GB, free: 3.957 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001207/0.8142, allocations: 0.688 MB / 0.956 GB, free: 3.254 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 4.769e-05/0.8142, allocations: 13.05 kB / 0.956 GB, free: 3.246 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.38e-05/0.8143, allocations: 16.75 kB / 0.956 GB, free: 3.234 MB / 0.7169 GB Notification: Performance of SimCode: time 2.2e-07/0.8143, allocations: 0 / 0.956 GB, free: 3.234 MB / 0.7169 GB Notification: Performance of Templates: time 0.0038/0.8181, allocations: 1.409 MB / 0.9574 GB, free: 2.531 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.makefile (rm -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.sim & ./Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches