Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_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_10_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.0008702/0.00087, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.001035/0.001036, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.489/1.489, allocations: 223.3 MB / 240 MB, free: 5.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.962/2.962, allocations: 437.7 MB / 0.7117 GB, free: 7.059 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004596/0.0004596, allocations: 8 kB / 0.8722 GB, free: 3.707 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8766/0.8771, allocations: 153.8 MB / 1.022 GB, free: 72 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.0008639/0.878, allocations: 333.3 kB / 1.023 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0007292/0.8788, allocations: 311.2 kB / 1.023 GB, free: 15.44 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.03e-05/0.8788, allocations: 0 / 1.023 GB, free: 15.44 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.018e-05/0.8788, allocations: 0 / 1.023 GB, free: 15.44 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 2.15e-05/0.8789, allocations: 0 / 1.023 GB, free: 15.44 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003756/0.8792, allocations: 79.84 kB / 1.023 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 5.64e-05/0.8793, allocations: 15.92 kB / 1.023 GB, free: 15.35 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 5.303e-05/0.8794, allocations: 3.984 kB / 1.023 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 1.904e-05/0.8794, allocations: 4 kB / 1.023 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 5.796e-05/0.8795, allocations: 3.984 kB / 1.023 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.323e-05/0.8795, allocations: 0 / 1.023 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003614/0.8798, allocations: 267.7 kB / 1.023 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 8.716e-06/0.8799, allocations: 0 / 1.023 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 2.537e-05/0.8799, allocations: 25.7 kB / 1.023 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001197/0.88, allocations: 55.89 kB / 1.023 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.631e-06/0.88, allocations: 7.938 kB / 1.023 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.323e-06/0.88, allocations: 7.938 kB / 1.023 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.948e-06/0.88, allocations: 0 / 1.023 GB, free: 14.97 MB / 0.7794 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.0003602/0.8804, allocations: 341 kB / 1.024 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.964e-05/0.8805, allocations: 8.562 kB / 1.024 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.899e-05/0.8805, allocations: 4 kB / 1.024 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001223/0.8807, allocations: 159.1 kB / 1.024 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.455e-05/0.8807, allocations: 0 / 1.024 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.245e-05/0.8807, allocations: 3.938 kB / 1.024 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001191/0.8808, allocations: 45.64 kB / 1.024 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.394e-06/0.8809, allocations: 0 / 1.024 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.868e-06/0.8809, allocations: 4 kB / 1.024 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.668e-06/0.8809, allocations: 0 / 1.024 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.204e-05/0.8809, allocations: 4 kB / 1.024 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001833/0.8811, allocations: 159.6 kB / 1.024 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 6.99e-05/0.8812, allocations: 22.55 kB / 1.024 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.678e-05/0.8812, allocations: 12.92 kB / 1.024 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007608/0.882, allocations: 461.5 kB / 1.025 GB, free: 13.53 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.004e-05/0.882, allocations: 42.52 kB / 1.025 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 1.172e-06/0.8821, allocations: 0 / 1.025 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.0005237/0.8826, allocations: 246.3 kB / 1.025 GB, free: 13.19 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.692e-05/0.8826, allocations: 51.41 kB / 1.025 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.656e-05/0.8827, allocations: 101.8 kB / 1.025 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.48e-05/0.8827, allocations: 26.05 kB / 1.025 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.538e-05/0.8828, allocations: 84.14 kB / 1.025 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.543e-05/0.8828, allocations: 11.84 kB / 1.025 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.876e-06/0.8828, allocations: 4 kB / 1.025 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001102/0.8829, allocations: 310.8 kB / 1.025 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.888e-05/0.883, allocations: 7.938 kB / 1.025 GB, free: 12.56 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.468e-05/0.883, allocations: 21.7 kB / 1.026 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.569e-05/0.883, allocations: 4 kB / 1.026 GB, free: 12.53 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.61e-07/0.883, allocations: 7.938 kB / 1.026 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.46e-05/0.8831, allocations: 53.69 kB / 1.026 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.558e-05/0.8832, allocations: 11.89 kB / 1.026 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.8832, allocations: 4 kB / 1.026 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.175e-05/0.8832, allocations: 0 / 1.026 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.858e-05/0.8833, allocations: 4 kB / 1.026 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.46e-06/0.8833, allocations: 0 / 1.026 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.829e-05/0.8833, allocations: 4 kB / 1.026 GB, free: 12.44 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.182e-06/0.8833, allocations: 0 / 1.026 GB, free: 12.44 MB / 0.7794 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.839e-05/0.8834, allocations: 113.9 kB / 1.026 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.942e-05/0.8834, allocations: 3.906 kB / 1.026 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001293/0.8835, allocations: 65.06 kB / 1.026 GB, free: 12.24 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.8836, allocations: 0 / 1.026 GB, free: 12.24 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.8836, allocations: 0 / 1.026 GB, free: 12.24 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-06/0.8836, allocations: 3.938 kB / 1.026 GB, free: 12.24 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001504/0.8837, allocations: 153.7 kB / 1.026 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.8837, allocations: 4 kB / 1.026 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.457e-05/0.8838, allocations: 8 kB / 1.026 GB, free: 12.03 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.8838, allocations: 0 / 1.026 GB, free: 12.03 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.835e-06/0.8838, allocations: 0 / 1.026 GB, free: 12.03 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.083e-06/0.8839, allocations: 3.953 kB / 1.026 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/0.8839, allocations: 4.172 kB / 1.026 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001938/0.8841, allocations: 77.11 kB / 1.026 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 9.291e-05/0.8842, allocations: 81.14 kB / 1.026 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.565e-05/0.8842, allocations: 64 / 1.026 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.988e-05/0.8843, allocations: 4 kB / 1.026 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.23e-05/0.8843, allocations: 3.953 kB / 1.026 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.943e-06/0.8843, allocations: 11.92 kB / 1.026 GB, free: 11.81 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.327e-05/0.8843, allocations: 79.28 kB / 1.026 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8843, allocations: 0 / 1.026 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002249/0.8846, allocations: 24 kB / 1.026 GB, free: 11.71 MB / 0.7794 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001962/0.8848, allocations: 135.2 kB / 1.026 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 7.448e-05/0.8849, allocations: 16.09 kB / 1.026 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.8849, allocations: 0 / 1.026 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.876e-05/0.8849, allocations: 19.86 kB / 1.026 GB, free: 11.53 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001409/0.885, allocations: 4 kB / 1.026 GB, free: 11.53 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000218/0.8853, allocations: 112.6 kB / 1.026 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002531/0.8855, allocations: 0.6731 MB / 1.027 GB, free: 10.69 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.186e-05/0.8856, allocations: 8.109 kB / 1.027 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.543e-05/0.8856, allocations: 11.44 kB / 1.027 GB, free: 10.67 MB / 0.7794 GB Notification: Performance of SimCode: time 2.3e-07/0.8856, allocations: 0 / 1.027 GB, free: 10.67 MB / 0.7794 GB Notification: Performance of Templates: time 0.003176/0.8888, allocations: 0.8428 MB / 1.028 GB, free: 9.832 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.makefile (rm -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.sim & ./Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches