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.005/0.005, allocations: 102.7 kB / 15.73 MB, free: 6.031 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.001144/0.001144, allocations: 190.1 kB / 16.67 MB, free: 5.953 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.224/1.224, allocations: 222.9 MB / 240.4 MB, free: 15.14 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.039/2.039, allocations: 390.2 MB / 0.6648 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001089/0.001089, allocations: 63.91 kB / 0.9509 GB, free: 7.605 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7233/0.7244, allocations: 140.4 MB / 1.088 GB, free: 5.512 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.001474/0.726, allocations: 0.5899 MB / 1.089 GB, free: 5.148 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0005466/0.7265, allocations: 345 kB / 1.089 GB, free: 4.93 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.986e-05/0.7265, allocations: 0 / 1.089 GB, free: 4.93 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 1.272e-05/0.7266, allocations: 0 / 1.089 GB, free: 4.93 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 1.913e-05/0.7266, allocations: 3.938 kB / 1.089 GB, free: 4.926 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004133/0.727, allocations: 119.6 kB / 1.089 GB, free: 4.883 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 4.425e-05/0.7271, allocations: 5.781 kB / 1.089 GB, free: 4.883 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 3.977e-05/0.7271, allocations: 2.844 kB / 1.089 GB, free: 4.883 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 1.577e-05/0.7271, allocations: 11.06 kB / 1.089 GB, free: 4.875 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 4.632e-05/0.7272, allocations: 6.734 kB / 1.089 GB, free: 4.871 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.083e-05/0.7272, allocations: 0.75 kB / 1.089 GB, free: 4.871 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003693/0.7276, allocations: 269.1 kB / 1.089 GB, free: 4.809 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.311e-05/0.7276, allocations: 5.609 kB / 1.089 GB, free: 4.805 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 1.97e-05/0.7276, allocations: 10.69 kB / 1.089 GB, free: 4.797 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001746/0.7278, allocations: 90.95 kB / 1.089 GB, free: 4.77 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.7278, allocations: 3.938 kB / 1.089 GB, free: 4.766 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.643e-06/0.7278, allocations: 1.094 kB / 1.089 GB, free: 4.766 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.23e-06/0.7278, allocations: 0 / 1.089 GB, free: 4.766 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.0002568/0.7281, allocations: 339.4 kB / 1.09 GB, free: 4.398 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.109e-05/0.7281, allocations: 9.531 kB / 1.09 GB, free: 4.398 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.766e-05/0.7282, allocations: 2.922 kB / 1.09 GB, free: 4.398 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.28e-05/0.7282, allocations: 162.4 kB / 1.09 GB, free: 4.203 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.278e-06/0.7282, allocations: 1.469 kB / 1.09 GB, free: 4.203 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.194e-05/0.7283, allocations: 6.281 kB / 1.09 GB, free: 4.199 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.809e-05/0.7284, allocations: 44.55 kB / 1.09 GB, free: 4.156 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.442e-06/0.7284, allocations: 192 / 1.09 GB, free: 4.156 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.101e-05/0.7284, allocations: 5.969 kB / 1.09 GB, free: 4.152 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.7284, allocations: 4 kB / 1.09 GB, free: 4.148 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.952e-05/0.7284, allocations: 2.688 kB / 1.09 GB, free: 4.148 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001057/0.7285, allocations: 155.5 kB / 1.09 GB, free: 3.953 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 3.983e-05/0.7286, allocations: 20.48 kB / 1.09 GB, free: 3.93 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.431e-05/0.7286, allocations: 7.594 kB / 1.09 GB, free: 3.922 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005672/0.7292, allocations: 464.3 kB / 1.091 GB, free: 3.445 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.64e-05/0.7292, allocations: 30.56 kB / 1.091 GB, free: 3.406 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.162e-06/0.7292, allocations: 1.25 kB / 1.091 GB, free: 3.406 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3): time 0.000411/0.7296, allocations: 258.9 kB / 1.091 GB, free: 3.141 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.753e-05/0.7296, allocations: 52.98 kB / 1.091 GB, free: 3.078 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.865e-05/0.7297, allocations: 97 kB / 1.091 GB, free: 2.977 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 7.915e-06/0.7297, allocations: 27.06 kB / 1.091 GB, free: 2.945 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 1.296e-05/0.7297, allocations: 80.86 kB / 1.091 GB, free: 2.863 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.975e-05/0.7297, allocations: 18.09 kB / 1.091 GB, free: 2.848 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.541e-05/0.7298, allocations: 15.25 kB / 1.091 GB, free: 2.832 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 3.691e-05/0.7298, allocations: 320.4 kB / 1.091 GB, free: 2.512 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.684e-05/0.7298, allocations: 9.359 kB / 1.091 GB, free: 2.508 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.095e-05/0.7299, allocations: 15.75 kB / 1.091 GB, free: 2.492 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.653e-05/0.7299, allocations: 23.58 kB / 1.091 GB, free: 2.473 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.31e-07/0.7299, allocations: 0 / 1.091 GB, free: 2.473 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.006e-05/0.73, allocations: 60.89 kB / 1.092 GB, free: 2.426 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.155e-05/0.73, allocations: 9.859 kB / 1.092 GB, free: 2.422 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.73, allocations: 1.188 kB / 1.092 GB, free: 2.422 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.009e-05/0.73, allocations: 0 / 1.092 GB, free: 2.422 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.01e-05/0.7301, allocations: 8.031 kB / 1.092 GB, free: 2.422 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.979e-06/0.7301, allocations: 1.062 kB / 1.092 GB, free: 2.422 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.798e-05/0.7301, allocations: 4.656 kB / 1.092 GB, free: 2.418 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.791e-06/0.7301, allocations: 2.406 kB / 1.092 GB, free: 2.418 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 3.804e-05/0.7302, allocations: 107.8 kB / 1.092 GB, free: 2.305 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.264e-05/0.7302, allocations: 11.38 kB / 1.092 GB, free: 2.297 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000106/0.7303, allocations: 56.92 kB / 1.092 GB, free: 2.246 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.7303, allocations: 5.719 kB / 1.092 GB, free: 2.242 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.885e-06/0.7303, allocations: 0 / 1.092 GB, free: 2.242 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-06/0.7303, allocations: 1.625 kB / 1.092 GB, free: 2.242 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.094e-05/0.7304, allocations: 156.6 kB / 1.092 GB, free: 2.047 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.7304, allocations: 0.5156 kB / 1.092 GB, free: 2.047 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.556e-05/0.7304, allocations: 5.547 kB / 1.092 GB, free: 2.047 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.876e-06/0.7304, allocations: 9.984 kB / 1.092 GB, free: 2.039 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.92e-06/0.7305, allocations: 0 / 1.092 GB, free: 2.039 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.7305, allocations: 1.406 kB / 1.092 GB, free: 2.039 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.32e-07/0.7305, allocations: 0 / 1.092 GB, free: 2.039 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001095/0.7306, allocations: 83.66 kB / 1.092 GB, free: 1.961 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.361e-05/0.7306, allocations: 82.95 kB / 1.092 GB, free: 1.863 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.078e-05/0.7306, allocations: 5.125 kB / 1.092 GB, free: 1.859 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.458e-05/0.7306, allocations: 2.297 kB / 1.092 GB, free: 1.859 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.482e-05/0.7307, allocations: 6.344 kB / 1.092 GB, free: 1.855 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.439e-06/0.7307, allocations: 0.9375 kB / 1.092 GB, free: 1.855 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 1.532e-05/0.7307, allocations: 78.16 kB / 1.092 GB, free: 1.781 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7307, allocations: 0 / 1.092 GB, free: 1.781 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0001928/0.7309, allocations: 28.56 kB / 1.092 GB, free: 1.773 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.0001589/0.7311, allocations: 122.9 kB / 1.092 GB, free: 1.68 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 8.145e-05/0.7311, allocations: 21.11 kB / 1.092 GB, free: 1.672 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.7312, allocations: 4.219 kB / 1.092 GB, free: 1.668 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 1.422e-05/0.7312, allocations: 7.453 kB / 1.092 GB, free: 1.668 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001272/0.7313, allocations: 4 kB / 1.092 GB, free: 1.668 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002023/0.7315, allocations: 111.6 kB / 1.092 GB, free: 1.559 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002252/0.7318, allocations: 0.6756 MB / 1.093 GB, free: 16.86 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 2.735e-05/0.7318, allocations: 3.25 kB / 1.093 GB, free: 16.86 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.66e-05/0.7318, allocations: 13.97 kB / 1.093 GB, free: 16.85 MB / 0.8731 GB Notification: Performance of SimCode: time 3.71e-07/0.7318, allocations: 0 / 1.093 GB, free: 16.85 MB / 0.8731 GB Notification: Performance of Templates: time 0.002774/0.7346, allocations: 0.8766 MB / 1.094 GB, free: 16.76 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