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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001288/0.001288, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001405/0.001405, allocations: 193.3 kB / 16.53 MB, free: 6.664 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.352/1.352, allocations: 222.9 MB / 240.2 MB, free: 4.371 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.553/2.553, allocations: 437 MB / 0.7104 GB, free: 5.109 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0022/0.0022, allocations: 67.91 kB / 0.8692 GB, free: 4.691 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7231/0.7253, allocations: 151.6 MB / 1.017 GB, free: 2.539 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.001854/0.7272, allocations: 0.5958 MB / 1.018 GB, free: 1.938 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0006447/0.7279, allocations: 350.6 kB / 1.018 GB, free: 1.594 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.172e-05/0.7279, allocations: 0 / 1.018 GB, free: 1.594 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 1.532e-05/0.728, allocations: 0 / 1.018 GB, free: 1.594 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 1.616e-05/0.728, allocations: 0 / 1.018 GB, free: 1.594 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004515/0.7284, allocations: 119.4 kB / 1.018 GB, free: 1.48 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 5.029e-05/0.7285, allocations: 15.98 kB / 1.018 GB, free: 1.465 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 4.354e-05/0.7285, allocations: 0 / 1.018 GB, free: 1.465 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 1.914e-05/0.7286, allocations: 4 kB / 1.018 GB, free: 1.461 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 5.137e-05/0.7286, allocations: 7.922 kB / 1.018 GB, free: 1.453 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.263e-05/0.7286, allocations: 0 / 1.018 GB, free: 1.453 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003587/0.729, allocations: 279.6 kB / 1.019 GB, free: 1.18 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.108e-05/0.729, allocations: 0 / 1.019 GB, free: 1.18 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.276e-05/0.7291, allocations: 12 kB / 1.019 GB, free: 1.168 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001774/0.7292, allocations: 95.77 kB / 1.019 GB, free: 1.074 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.7293, allocations: 0 / 1.019 GB, free: 1.074 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.683e-06/0.7293, allocations: 0 / 1.019 GB, free: 1.074 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 5.39e-06/0.7293, allocations: 0 / 1.019 GB, free: 1.074 MB / 0.7637 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.0004041/0.7297, allocations: 343.5 kB / 1.019 GB, free: 0.6875 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.7297, allocations: 12.03 kB / 1.019 GB, free: 0.6758 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.781e-05/0.7298, allocations: 0.9375 kB / 1.019 GB, free: 0.6758 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001103/0.7299, allocations: 162.4 kB / 1.019 GB, free: 492 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.241e-05/0.7299, allocations: 4.375 kB / 1.019 GB, free: 488 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.319e-05/0.73, allocations: 4.375 kB / 1.019 GB, free: 484 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000104/0.7301, allocations: 38.19 kB / 1.019 GB, free: 440 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.789e-06/0.7301, allocations: 192 / 1.019 GB, free: 440 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.204e-05/0.7301, allocations: 3.938 kB / 1.019 GB, free: 436 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.131e-06/0.7301, allocations: 0 / 1.019 GB, free: 436 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.609e-05/0.7302, allocations: 8 kB / 1.019 GB, free: 428 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001645/0.7303, allocations: 149.7 kB / 1.019 GB, free: 228 kB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 5.251e-05/0.7304, allocations: 26.58 kB / 1.019 GB, free: 192 kB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.008e-05/0.7304, allocations: 4.859 kB / 1.019 GB, free: 184 kB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000768/0.7312, allocations: 461.5 kB / 1.02 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.731e-05/0.7312, allocations: 30.56 kB / 1.02 GB, free: 15.6 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 1.152e-06/0.7312, allocations: 7.875 kB / 1.02 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.0005893/0.7318, allocations: 258.2 kB / 1.02 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.455e-05/0.7319, allocations: 51.41 kB / 1.02 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.612e-05/0.732, allocations: 102.1 kB / 1.02 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.807e-05/0.732, allocations: 29.7 kB / 1.02 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.225e-05/0.732, allocations: 80.14 kB / 1.02 GB, free: 15 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.785e-05/0.7321, allocations: 7.844 kB / 1.02 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.681e-05/0.7321, allocations: 17.72 kB / 1.02 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.000129/0.7322, allocations: 314.8 kB / 1.021 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.38e-05/0.7323, allocations: 11.98 kB / 1.021 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.871e-05/0.7323, allocations: 13.72 kB / 1.021 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.708e-05/0.7324, allocations: 33.78 kB / 1.021 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.41e-07/0.7324, allocations: 0 / 1.021 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001109/0.7325, allocations: 53.59 kB / 1.021 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.994e-05/0.7325, allocations: 7.938 kB / 1.021 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.101e-06/0.7325, allocations: 0 / 1.021 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.78e-05/0.7326, allocations: 4 kB / 1.021 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.522e-05/0.7326, allocations: 4 kB / 1.021 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.508e-06/0.7326, allocations: 8 kB / 1.021 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.505e-05/0.7327, allocations: 11.98 kB / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.923e-06/0.7327, allocations: 4 kB / 1.021 GB, free: 14.48 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.689e-05/0.7328, allocations: 105.8 kB / 1.021 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.562e-05/0.7328, allocations: 8.078 kB / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001421/0.733, allocations: 57.17 kB / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.452e-06/0.733, allocations: 0 / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.733, allocations: 4 kB / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.733, allocations: 0 / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001107/0.7331, allocations: 149.7 kB / 1.021 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.7331, allocations: 0 / 1.021 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.928e-05/0.7332, allocations: 7.984 kB / 1.021 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.981e-06/0.7332, allocations: 11.88 kB / 1.021 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.153e-06/0.7332, allocations: 0 / 1.021 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.7332, allocations: 0 / 1.021 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.7332, allocations: 0 / 1.021 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001515/0.7334, allocations: 77.12 kB / 1.021 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.094e-05/0.7334, allocations: 77.11 kB / 1.021 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.744e-05/0.7334, allocations: 15.89 kB / 1.021 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.856e-05/0.7335, allocations: 4 kB / 1.021 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.645e-05/0.7335, allocations: 0 / 1.021 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.322e-06/0.7335, allocations: 4 kB / 1.021 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.674e-05/0.7336, allocations: 75.28 kB / 1.021 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.21e-07/0.7336, allocations: 0 / 1.021 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002204/0.7338, allocations: 24.16 kB / 1.021 GB, free: 13.77 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 (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.0002433/0.734, allocations: 135.2 kB / 1.022 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001023/0.7341, allocations: 19.92 kB / 1.022 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.7342, allocations: 3.938 kB / 1.022 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.663e-05/0.7342, allocations: 8 kB / 1.022 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001504/0.7343, allocations: 4 kB / 1.022 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003127/0.7347, allocations: 113.8 kB / 1.022 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003101/0.735, allocations: 0.6807 MB / 1.022 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.235e-05/0.735, allocations: 4 kB / 1.022 GB, free: 12.74 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.877e-05/0.735, allocations: 7.438 kB / 1.022 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of SimCode: time 2.41e-07/0.7351, allocations: 0 / 1.022 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of Templates: time 0.003503/0.7386, allocations: 0.8795 MB / 1.023 GB, free: 11.86 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