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.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.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.0015/0.0015, allocations: 107.1 kB / 16.35 MB, free: 5.824 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.001736/0.001736, allocations: 193.1 kB / 17.29 MB, free: 5.48 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.562/1.562, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.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.195/2.195, allocations: 390.3 MB / 0.6655 GB, free: 0.5547 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001212/0.001213, allocations: 63.03 kB / 0.814 GB, free: 32.75 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2678/0.269, allocations: 140.4 MB / 0.9511 GB, free: 8.043 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.00179/0.2709, allocations: 0.5807 MB / 0.9517 GB, free: 7.461 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0006236/0.2715, allocations: 346.7 kB / 0.952 GB, free: 7.121 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.257e-05/0.2715, allocations: 3.938 kB / 0.952 GB, free: 7.117 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 1.353e-05/0.2716, allocations: 4 kB / 0.952 GB, free: 7.113 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 1.469e-05/0.2716, allocations: 0 / 0.952 GB, free: 7.113 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004637/0.2721, allocations: 119.4 kB / 0.9522 GB, free: 7 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 5.189e-05/0.2721, allocations: 11.98 kB / 0.9522 GB, free: 6.988 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 4.805e-05/0.2722, allocations: 4 kB / 0.9522 GB, free: 6.984 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 1.694e-05/0.2722, allocations: 0 / 0.9522 GB, free: 6.984 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 5.542e-05/0.2723, allocations: 11.97 kB / 0.9522 GB, free: 6.973 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.222e-05/0.2723, allocations: 0 / 0.9522 GB, free: 6.973 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003703/0.2727, allocations: 279.7 kB / 0.9524 GB, free: 6.699 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.368e-05/0.2727, allocations: 3.938 kB / 0.9524 GB, free: 6.695 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.331e-05/0.2727, allocations: 8 kB / 0.9525 GB, free: 6.688 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001743/0.2729, allocations: 95.77 kB / 0.9525 GB, free: 6.594 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.2729, allocations: 0 / 0.9525 GB, free: 6.594 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.114e-06/0.2729, allocations: 0 / 0.9525 GB, free: 6.594 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.501e-06/0.2729, allocations: 3.938 kB / 0.9526 GB, free: 6.59 MB / 0.7325 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.0003733/0.2733, allocations: 339.5 kB / 0.9529 GB, free: 6.207 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.596e-05/0.2733, allocations: 8.031 kB / 0.9529 GB, free: 6.199 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.738e-05/0.2734, allocations: 8.938 kB / 0.9529 GB, free: 6.191 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001202/0.2735, allocations: 172.3 kB / 0.9531 GB, free: 5.984 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.819e-06/0.2735, allocations: 384 / 0.9531 GB, free: 5.984 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.306e-05/0.2736, allocations: 384 / 0.9531 GB, free: 5.984 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.583e-05/0.2737, allocations: 30.27 kB / 0.9531 GB, free: 5.949 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.433e-05/0.2737, allocations: 4.188 kB / 0.9531 GB, free: 5.945 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.114e-05/0.2737, allocations: 3.938 kB / 0.9531 GB, free: 5.941 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.765e-06/0.2737, allocations: 0 / 0.9531 GB, free: 5.941 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.08e-05/0.2737, allocations: 3.984 kB / 0.9531 GB, free: 5.938 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001793/0.2739, allocations: 153.7 kB / 0.9532 GB, free: 5.738 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 6.671e-05/0.274, allocations: 32.64 kB / 0.9533 GB, free: 5.699 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.07e-05/0.274, allocations: 8.922 kB / 0.9533 GB, free: 5.688 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000734/0.2748, allocations: 457.5 kB / 0.9537 GB, free: 5.148 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.923e-05/0.2748, allocations: 30.56 kB / 0.9537 GB, free: 5.109 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=2): time 1.583e-06/0.2748, allocations: 0 / 0.9537 GB, free: 5.109 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3): time 0.0005826/0.2754, allocations: 262.2 kB / 0.954 GB, free: 4.801 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.481e-05/0.2755, allocations: 55.62 kB / 0.9541 GB, free: 4.734 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.326e-05/0.2755, allocations: 93.86 kB / 0.9541 GB, free: 4.633 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.593e-05/0.2755, allocations: 29.7 kB / 0.9542 GB, free: 4.598 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 3.971e-05/0.2756, allocations: 80.14 kB / 0.9542 GB, free: 4.516 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.275e-05/0.2756, allocations: 7.906 kB / 0.9543 GB, free: 4.508 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.241e-05/0.2757, allocations: 21.7 kB / 0.9543 GB, free: 4.48 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001059/0.2758, allocations: 310.8 kB / 0.9546 GB, free: 4.168 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.804e-05/0.2758, allocations: 4 kB / 0.9546 GB, free: 4.164 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.93e-05/0.2758, allocations: 21.84 kB / 0.9546 GB, free: 4.137 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.552e-05/0.2759, allocations: 33.58 kB / 0.9546 GB, free: 4.098 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.31e-07/0.2759, allocations: 0 / 0.9546 GB, free: 4.098 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.921e-05/0.276, allocations: 53.55 kB / 0.9547 GB, free: 4.039 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.26e-05/0.276, allocations: 11.94 kB / 0.9547 GB, free: 4.027 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.276, allocations: 3.984 kB / 0.9547 GB, free: 4.023 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.131e-05/0.276, allocations: 4.062 kB / 0.9547 GB, free: 4.02 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.382e-05/0.2761, allocations: 8 kB / 0.9547 GB, free: 4.012 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.729e-06/0.2761, allocations: 0 / 0.9547 GB, free: 4.012 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.782e-05/0.2761, allocations: 0 / 0.9547 GB, free: 4.012 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.266e-06/0.2761, allocations: 4 kB / 0.9547 GB, free: 4.008 MB / 0.7325 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 6.065e-05/0.2762, allocations: 109.8 kB / 0.9548 GB, free: 3.891 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.356e-05/0.2762, allocations: 3.938 kB / 0.9548 GB, free: 3.887 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001231/0.2764, allocations: 69.03 kB / 0.9549 GB, free: 3.809 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.191e-05/0.2764, allocations: 4 kB / 0.9549 GB, free: 3.805 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/0.2764, allocations: 0 / 0.9549 GB, free: 3.805 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.2764, allocations: 0 / 0.9549 GB, free: 3.805 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000101/0.2765, allocations: 153.7 kB / 0.955 GB, free: 3.605 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.2765, allocations: 0 / 0.955 GB, free: 3.605 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.025e-05/0.2766, allocations: 4 kB / 0.955 GB, free: 3.602 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/0.2766, allocations: 4.125 kB / 0.955 GB, free: 3.598 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.528e-06/0.2766, allocations: 4 kB / 0.955 GB, free: 3.594 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.737e-06/0.2766, allocations: 4 kB / 0.955 GB, free: 3.59 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.2766, allocations: 0 / 0.955 GB, free: 3.59 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001524/0.2768, allocations: 85.09 kB / 0.9551 GB, free: 3.488 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 3.519e-05/0.2768, allocations: 77.11 kB / 0.9552 GB, free: 3.395 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.378e-05/0.2768, allocations: 7.875 kB / 0.9552 GB, free: 3.387 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.755e-05/0.2769, allocations: 4.031 kB / 0.9552 GB, free: 3.383 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.635e-05/0.2769, allocations: 4 kB / 0.9552 GB, free: 3.379 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.348e-06/0.2769, allocations: 0 / 0.9552 GB, free: 3.379 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 4.295e-05/0.2769, allocations: 87.33 kB / 0.9553 GB, free: 3.293 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2769, allocations: 0 / 0.9553 GB, free: 3.293 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002118/0.2772, allocations: 24 kB / 0.9553 GB, free: 3.27 MB / 0.7325 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.000198/0.2774, allocations: 127.2 kB / 0.9554 GB, free: 3.137 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 8.186e-05/0.2775, allocations: 12 kB / 0.9555 GB, free: 3.125 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.2775, allocations: 3.938 kB / 0.9555 GB, free: 3.121 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.74e-05/0.2775, allocations: 15.92 kB / 0.9555 GB, free: 3.105 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000138/0.2776, allocations: 6.031 kB / 0.9555 GB, free: 3.102 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002197/0.2779, allocations: 114 kB / 0.9556 GB, free: 2.965 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002423/0.2781, allocations: 0.6766 MB / 0.9563 GB, free: 2.262 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 2.779e-05/0.2782, allocations: 7.984 kB / 0.9563 GB, free: 2.254 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.939e-05/0.2782, allocations: 11.44 kB / 0.9563 GB, free: 2.242 MB / 0.7325 GB Notification: Performance of SimCode: time 2.21e-07/0.2782, allocations: 0 / 0.9563 GB, free: 2.242 MB / 0.7325 GB Notification: Performance of Templates: time 0.003238/0.2814, allocations: 0.8687 MB / 0.9571 GB, free: 1.375 MB / 0.7325 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 -s gbode -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/jenkins1/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