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.001032/0.001032, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.008927/0.008927, allocations: 169 kB / 16.26 MB, free: 6.66 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.463/1.463, allocations: 223.3 MB / 240.3 MB, free: 5.344 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.452/2.452, allocations: 390.9 MB / 0.6663 GB, free: 2.285 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0005646/0.0005647, allocations: 12 kB / 0.816 GB, free: 13.19 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9034/0.904, allocations: 142.4 MB / 0.955 GB, free: 8.035 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.001056/0.9051, allocations: 335.3 kB / 0.9554 GB, free: 7.781 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0009785/0.9061, allocations: 355.9 kB / 0.9557 GB, free: 7.52 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.596e-05/0.9062, allocations: 1.406 kB / 0.9557 GB, free: 7.52 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.867e-05/0.9062, allocations: 0 / 0.9557 GB, free: 7.52 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 3.846e-05/0.9062, allocations: 0 / 0.9557 GB, free: 7.52 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006806/0.9069, allocations: 80.94 kB / 0.9558 GB, free: 7.465 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.279e-05/0.907, allocations: 16.92 kB / 0.9558 GB, free: 7.453 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 7.816e-05/0.9071, allocations: 0.9375 kB / 0.9558 GB, free: 7.453 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.045e-05/0.9071, allocations: 2.125 kB / 0.9558 GB, free: 7.453 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.725e-05/0.9072, allocations: 6.078 kB / 0.9558 GB, free: 7.449 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.997e-05/0.9073, allocations: 5.125 kB / 0.9558 GB, free: 7.445 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005959/0.9079, allocations: 273.4 kB / 0.9561 GB, free: 7.293 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.752e-05/0.9079, allocations: 1.031 kB / 0.9561 GB, free: 7.293 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.121e-05/0.9079, allocations: 35.2 kB / 0.9561 GB, free: 7.254 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003023/0.9083, allocations: 93.14 kB / 0.9562 GB, free: 7.191 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.051e-06/0.9083, allocations: 0 / 0.9562 GB, free: 7.191 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.434e-06/0.9083, allocations: 0 / 0.9562 GB, free: 7.191 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.284e-06/0.9083, allocations: 0.875 kB / 0.9562 GB, free: 7.191 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.000439/0.9087, allocations: 344 kB / 0.9565 GB, free: 6.812 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.993e-05/0.9088, allocations: 9.438 kB / 0.9565 GB, free: 6.812 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.917e-05/0.9089, allocations: 2.156 kB / 0.9565 GB, free: 6.812 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001465/0.9091, allocations: 165.7 kB / 0.9567 GB, free: 6.613 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.909e-05/0.9091, allocations: 5.844 kB / 0.9567 GB, free: 6.609 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.198e-05/0.9091, allocations: 1.625 kB / 0.9567 GB, free: 6.609 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001446/0.9093, allocations: 42.19 kB / 0.9567 GB, free: 6.566 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.182e-05/0.9093, allocations: 192 / 0.9567 GB, free: 6.566 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.738e-05/0.9093, allocations: 3.938 kB / 0.9567 GB, free: 6.562 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.324e-06/0.9093, allocations: 1.375 kB / 0.9568 GB, free: 6.562 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.035e-05/0.9094, allocations: 2.781 kB / 0.9568 GB, free: 6.562 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002335/0.9096, allocations: 152.4 kB / 0.9569 GB, free: 6.367 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 7.949e-05/0.9097, allocations: 22.58 kB / 0.9569 GB, free: 6.34 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.239e-05/0.9098, allocations: 11.17 kB / 0.9569 GB, free: 6.328 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007957/0.9106, allocations: 468 kB / 0.9574 GB, free: 5.828 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.168e-05/0.9106, allocations: 31.91 kB / 0.9574 GB, free: 5.789 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.112e-06/0.9106, allocations: 0 / 0.9574 GB, free: 5.789 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0007068/0.9113, allocations: 253.4 kB / 0.9576 GB, free: 5.52 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.095e-05/0.9114, allocations: 56.66 kB / 0.9577 GB, free: 5.453 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.123e-05/0.9114, allocations: 96.36 kB / 0.9578 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.471e-05/0.9115, allocations: 26.83 kB / 0.9578 GB, free: 5.32 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.867e-05/0.9115, allocations: 80.14 kB / 0.9579 GB, free: 5.238 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.705e-05/0.9115, allocations: 13.11 kB / 0.9579 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.788e-05/0.9116, allocations: 12.16 kB / 0.9579 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.578e-05/0.9117, allocations: 310.8 kB / 0.9582 GB, free: 4.898 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.845e-05/0.9117, allocations: 7.812 kB / 0.9582 GB, free: 4.895 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.214e-05/0.9117, allocations: 18.64 kB / 0.9582 GB, free: 4.875 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.424e-05/0.9118, allocations: 32.03 kB / 0.9583 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.9118, allocations: 0 / 0.9583 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001166/0.9119, allocations: 49.81 kB / 0.9583 GB, free: 4.809 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.344e-05/0.9119, allocations: 9.094 kB / 0.9583 GB, free: 4.805 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.555e-06/0.9119, allocations: 0 / 0.9583 GB, free: 4.805 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.347e-05/0.912, allocations: 5.812 kB / 0.9583 GB, free: 4.801 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.902e-05/0.912, allocations: 9.812 kB / 0.9583 GB, free: 4.797 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.354e-06/0.9121, allocations: 8 kB / 0.9584 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.233e-05/0.9121, allocations: 5.969 kB / 0.9584 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.077e-06/0.9121, allocations: 5.906 kB / 0.9584 GB, free: 4.781 MB / 0.7169 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 7.659e-05/0.9122, allocations: 107.7 kB / 0.9585 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.105e-05/0.9123, allocations: 11.83 kB / 0.9585 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001481/0.9124, allocations: 58.66 kB / 0.9585 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.9124, allocations: 0 / 0.9585 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.554e-06/0.9124, allocations: 7.938 kB / 0.9585 GB, free: 4.594 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.9124, allocations: 0 / 0.9585 GB, free: 4.594 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001027/0.9125, allocations: 149.5 kB / 0.9587 GB, free: 4.402 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.9126, allocations: 1.875 kB / 0.9587 GB, free: 4.402 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.027e-05/0.9126, allocations: 3.406 kB / 0.9587 GB, free: 4.402 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.73e-06/0.9126, allocations: 5.312 kB / 0.9587 GB, free: 4.398 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.859e-06/0.9127, allocations: 4 kB / 0.9587 GB, free: 4.395 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.278e-06/0.9127, allocations: 5.984 kB / 0.9587 GB, free: 4.391 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.9127, allocations: 0 / 0.9587 GB, free: 4.391 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001721/0.9128, allocations: 81.08 kB / 0.9588 GB, free: 4.309 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.307e-05/0.9129, allocations: 78.61 kB / 0.9589 GB, free: 4.215 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.792e-05/0.9129, allocations: 9.406 kB / 0.9589 GB, free: 4.207 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.591e-05/0.9129, allocations: 0 / 0.9589 GB, free: 4.207 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.688e-05/0.913, allocations: 5.547 kB / 0.9589 GB, free: 4.203 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.342e-06/0.913, allocations: 1.5 kB / 0.9589 GB, free: 4.203 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.468e-05/0.913, allocations: 80.84 kB / 0.9589 GB, free: 4.125 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2.51e-07/0.913, allocations: 1.438 kB / 0.9589 GB, free: 4.125 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002362/0.9133, allocations: 26.06 kB / 0.959 GB, free: 4.117 MB / 0.7169 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.0002556/0.9135, allocations: 131.5 kB / 0.9591 GB, free: 4.016 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001035/0.9136, allocations: 14.7 kB / 0.9591 GB, free: 4.012 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.005e-06/0.9136, allocations: 0 / 0.9591 GB, free: 4.012 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.978e-05/0.9137, allocations: 10.12 kB / 0.9591 GB, free: 4.008 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001701/0.9138, allocations: 6.531 kB / 0.9591 GB, free: 4.004 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002815/0.9141, allocations: 117.5 kB / 0.9592 GB, free: 3.879 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001576/0.9143, allocations: 0.6773 MB / 0.9599 GB, free: 3.18 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.757e-05/0.9143, allocations: 11.39 kB / 0.9599 GB, free: 3.172 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.784e-05/0.9144, allocations: 9.156 kB / 0.9599 GB, free: 3.164 MB / 0.7169 GB Notification: Performance of SimCode: time 4.11e-07/0.9144, allocations: 0 / 0.9599 GB, free: 3.164 MB / 0.7169 GB Notification: Performance of Templates: time 0.004311/0.9187, allocations: 0.8473 MB / 0.9608 GB, free: 2.73 MB / 0.7169 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