Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.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.RegNonZeroPowerDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|y|der.x.|der.y.",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck") translateModel(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|y|der.x.|der.y.",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007493/0.007493, allocations: 105.9 kB / 15.73 MB, free: 6 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.001687/0.001687, allocations: 189 kB / 16.67 MB, free: 5.926 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.33/1.33, allocations: 222.9 MB / 240.3 MB, free: 15.08 MB / 206.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.151/2.151, allocations: 390.2 MB / 0.6648 GB, free: 0.6094 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001256/0.001256, allocations: 63.91 kB / 0.9509 GB, free: 7.582 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.152/1.154, allocations: 140.4 MB / 1.088 GB, free: 5.496 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.00208/1.156, allocations: 0.593 MB / 1.089 GB, free: 5.129 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0008339/1.157, allocations: 342.6 kB / 1.089 GB, free: 4.914 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.276e-05/1.157, allocations: 4 kB / 1.089 GB, free: 4.91 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 1.801e-05/1.157, allocations: 0 / 1.089 GB, free: 4.91 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 2.942e-05/1.157, allocations: 4.781 kB / 1.089 GB, free: 4.906 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005893/1.157, allocations: 112.5 kB / 1.089 GB, free: 4.867 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 7.909e-05/1.157, allocations: 14.3 kB / 1.089 GB, free: 4.859 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 5.418e-05/1.158, allocations: 2.547 kB / 1.089 GB, free: 4.859 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 2.946e-05/1.158, allocations: 6.781 kB / 1.089 GB, free: 4.855 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 6.637e-05/1.158, allocations: 3.547 kB / 1.089 GB, free: 4.855 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.685e-05/1.158, allocations: 5.094 kB / 1.089 GB, free: 4.852 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005907/1.158, allocations: 273.6 kB / 1.089 GB, free: 4.785 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.809e-05/1.158, allocations: 0.6094 kB / 1.089 GB, free: 4.785 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.619e-05/1.158, allocations: 15.17 kB / 1.089 GB, free: 4.773 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002832/1.159, allocations: 90.53 kB / 1.089 GB, free: 4.746 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 8.957e-06/1.159, allocations: 0 / 1.089 GB, free: 4.746 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.113e-06/1.159, allocations: 0 / 1.089 GB, free: 4.746 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.675e-05/1.159, allocations: 1.125 kB / 1.089 GB, free: 4.746 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.000458/1.159, allocations: 339.5 kB / 1.09 GB, free: 4.379 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.529e-05/1.159, allocations: 13.28 kB / 1.09 GB, free: 4.375 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.018e-05/1.159, allocations: 3.125 kB / 1.09 GB, free: 4.375 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001116/1.159, allocations: 162.9 kB / 1.09 GB, free: 4.18 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.711e-05/1.159, allocations: 1.469 kB / 1.09 GB, free: 4.18 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.805e-05/1.159, allocations: 1.406 kB / 1.09 GB, free: 4.18 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001244/1.16, allocations: 36.72 kB / 1.09 GB, free: 4.145 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/1.16, allocations: 192 / 1.09 GB, free: 4.145 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.733e-05/1.16, allocations: 5.734 kB / 1.09 GB, free: 4.141 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/1.16, allocations: 0 / 1.09 GB, free: 4.141 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.08e-05/1.16, allocations: 10.64 kB / 1.09 GB, free: 4.133 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000168/1.16, allocations: 148.4 kB / 1.09 GB, free: 3.945 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 6.234e-05/1.16, allocations: 29.03 kB / 1.09 GB, free: 3.914 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.228e-05/1.16, allocations: 7.547 kB / 1.09 GB, free: 3.906 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006824/1.161, allocations: 457.9 kB / 1.091 GB, free: 3.434 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.2e-05/1.161, allocations: 32.16 kB / 1.091 GB, free: 3.395 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.233e-06/1.161, allocations: 0 / 1.091 GB, free: 3.395 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3): time 0.0005436/1.161, allocations: 264.4 kB / 1.091 GB, free: 3.125 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.877e-05/1.161, allocations: 56.06 kB / 1.091 GB, free: 3.059 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.279e-05/1.161, allocations: 98.23 kB / 1.091 GB, free: 2.957 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.215e-05/1.161, allocations: 26.67 kB / 1.091 GB, free: 2.926 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 1.858e-05/1.161, allocations: 80.84 kB / 1.091 GB, free: 2.844 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.442e-05/1.161, allocations: 10.61 kB / 1.091 GB, free: 2.836 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.966e-05/1.161, allocations: 18.34 kB / 1.091 GB, free: 2.816 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.747e-05/1.161, allocations: 312.9 kB / 1.091 GB, free: 2.504 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.963e-05/1.161, allocations: 8.578 kB / 1.091 GB, free: 2.5 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.753e-05/1.161, allocations: 23.67 kB / 1.091 GB, free: 2.477 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.572e-05/1.162, allocations: 23.7 kB / 1.091 GB, free: 2.457 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/1.162, allocations: 1.156 kB / 1.091 GB, free: 2.457 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.431e-05/1.162, allocations: 52.45 kB / 1.091 GB, free: 2.418 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.63e-05/1.162, allocations: 9.438 kB / 1.092 GB, free: 2.414 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/1.162, allocations: 5.188 kB / 1.092 GB, free: 2.41 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.547e-05/1.162, allocations: 4.797 kB / 1.092 GB, free: 2.406 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.947e-05/1.162, allocations: 6.672 kB / 1.092 GB, free: 2.406 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.153e-06/1.162, allocations: 1.094 kB / 1.092 GB, free: 2.406 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.042e-05/1.162, allocations: 5.797 kB / 1.092 GB, free: 2.402 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.406e-06/1.162, allocations: 1.156 kB / 1.092 GB, free: 2.402 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (4): * Single equations (assignments): 4 * 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.421e-05/1.162, allocations: 108.5 kB / 1.092 GB, free: 2.289 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.404e-05/1.162, allocations: 6.812 kB / 1.092 GB, free: 2.285 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001365/1.162, allocations: 61.83 kB / 1.092 GB, free: 2.23 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.283e-06/1.162, allocations: 4.844 kB / 1.092 GB, free: 2.227 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.674e-06/1.162, allocations: 1.812 kB / 1.092 GB, free: 2.227 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/1.162, allocations: 192 / 1.092 GB, free: 2.227 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.363e-05/1.162, allocations: 153.5 kB / 1.092 GB, free: 2.035 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/1.162, allocations: 0.7031 kB / 1.092 GB, free: 2.035 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.313e-05/1.162, allocations: 5.828 kB / 1.092 GB, free: 2.035 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/1.162, allocations: 7.922 kB / 1.092 GB, free: 2.027 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.658e-06/1.162, allocations: 2.172 kB / 1.092 GB, free: 2.027 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/1.162, allocations: 4 kB / 1.092 GB, free: 2.023 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/1.162, allocations: 0 / 1.092 GB, free: 2.023 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001534/1.162, allocations: 79.8 kB / 1.092 GB, free: 1.949 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.017e-05/1.162, allocations: 82.84 kB / 1.092 GB, free: 1.852 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.339e-05/1.162, allocations: 5.094 kB / 1.092 GB, free: 1.848 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.637e-05/1.162, allocations: 5.984 kB / 1.092 GB, free: 1.844 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.665e-05/1.163, allocations: 5.828 kB / 1.092 GB, free: 1.84 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.072e-06/1.163, allocations: 1.859 kB / 1.092 GB, free: 1.84 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 1.957e-05/1.163, allocations: 81.12 kB / 1.092 GB, free: 1.762 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1e-07/1.163, allocations: 1.156 kB / 1.092 GB, free: 1.762 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002098/1.163, allocations: 23.28 kB / 1.092 GB, free: 1.758 MB / 0.8575 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y) * 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 (3): * Single equations (assignments): 3 * 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.0002068/1.163, allocations: 129.4 kB / 1.092 GB, free: 1.66 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001056/1.163, allocations: 14.44 kB / 1.092 GB, free: 1.66 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/1.163, allocations: 3.938 kB / 1.092 GB, free: 1.656 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 1.856e-05/1.163, allocations: 7.219 kB / 1.092 GB, free: 1.656 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001488/1.163, allocations: 10.36 kB / 1.092 GB, free: 1.648 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002934/1.164, allocations: 110.9 kB / 1.092 GB, free: 1.539 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003027/1.164, allocations: 0.6765 MB / 1.093 GB, free: 16.84 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 2.82e-05/1.164, allocations: 5.953 kB / 1.093 GB, free: 16.84 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.89e-05/1.164, allocations: 10.38 kB / 1.093 GB, free: 16.83 MB / 0.8731 GB Notification: Performance of SimCode: time 2.01e-07/1.164, allocations: 0 / 1.093 GB, free: 16.83 MB / 0.8731 GB Notification: Performance of Templates: time 0.004094/1.168, allocations: 0.8767 MB / 1.094 GB, free: 16.74 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.makefile (rm -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.sim & ./Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches