Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.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.RegNonZeroPowerDerivative_2_Check,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|y|der.x.|der.y.",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check") translateModel(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|y|der.x.|der.y.",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001027/0.001027, 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.001256/0.001255, 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.481/1.481, allocations: 223.3 MB / 240 MB, free: 5.289 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.884/2.884, allocations: 437.7 MB / 0.7117 GB, free: 7.051 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.000358/0.000358, allocations: 16 kB / 0.8722 GB, free: 3.668 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7935/0.7939, allocations: 153.8 MB / 1.022 GB, free: 44 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.000785/0.7947, allocations: 353.2 kB / 1.023 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0006417/0.7954, allocations: 323.2 kB / 1.023 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.213e-05/0.7954, allocations: 0 / 1.023 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.265e-05/0.7955, allocations: 0 / 1.023 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 3.779e-05/0.7955, allocations: 0 / 1.023 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003832/0.7959, allocations: 91.47 kB / 1.023 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 5.722e-05/0.796, allocations: 19.97 kB / 1.023 GB, free: 15.28 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 5.105e-05/0.796, allocations: 4 kB / 1.023 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 3.756e-05/0.7961, allocations: 11.94 kB / 1.023 GB, free: 15.26 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 5.783e-05/0.7961, allocations: 11.98 kB / 1.023 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.362e-05/0.7961, allocations: 0 / 1.023 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003467/0.7965, allocations: 263.7 kB / 1.023 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.745e-05/0.7965, allocations: 19.91 kB / 1.023 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 2.698e-05/0.7966, allocations: 25.7 kB / 1.023 GB, free: 14.94 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001279/0.7967, allocations: 71.83 kB / 1.024 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.601e-06/0.7967, allocations: 0 / 1.024 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.963e-06/0.7967, allocations: 0 / 1.024 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.967e-06/0.7967, allocations: 0 / 1.024 GB, free: 14.87 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004281/0.7972, allocations: 357.3 kB / 1.024 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.876e-05/0.7972, allocations: 8.562 kB / 1.024 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.018e-05/0.7973, allocations: 7.984 kB / 1.024 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001108/0.7974, allocations: 159.1 kB / 1.024 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.228e-05/0.7974, allocations: 0 / 1.024 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.399e-05/0.7974, allocations: 7.906 kB / 1.024 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001502/0.7976, allocations: 61.56 kB / 1.024 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.178e-05/0.7976, allocations: 3.938 kB / 1.024 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.208e-05/0.7976, allocations: 0 / 1.024 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.276e-06/0.7976, allocations: 4 kB / 1.024 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.231e-05/0.7977, allocations: 19.98 kB / 1.024 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001836/0.7979, allocations: 165.6 kB / 1.024 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001231/0.798, allocations: 66.56 kB / 1.024 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.765e-05/0.7981, allocations: 32.84 kB / 1.024 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006972/0.7988, allocations: 461.5 kB / 1.025 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.217e-05/0.7988, allocations: 38.52 kB / 1.025 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=7): time 1.223e-06/0.7988, allocations: 0 / 1.025 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of matching and sorting (n=11): time 0.001308/0.8001, allocations: 0.5837 MB / 1.025 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.276e-05/0.8002, allocations: 51.5 kB / 1.025 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.618e-05/0.8003, allocations: 97.8 kB / 1.026 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.818e-05/0.8003, allocations: 29.7 kB / 1.026 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.649e-05/0.8004, allocations: 84.14 kB / 1.026 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.641e-05/0.8004, allocations: 43.3 kB / 1.026 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.766e-06/0.8004, allocations: 8 kB / 1.026 GB, free: 12.24 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001242/0.8005, allocations: 318.8 kB / 1.026 GB, free: 11.92 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.003e-05/0.8006, allocations: 20 kB / 1.026 GB, free: 11.9 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.39e-05/0.8006, allocations: 19.98 kB / 1.026 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.903e-05/0.8007, allocations: 24 kB / 1.026 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.8007, allocations: 0 / 1.026 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001572/0.8009, allocations: 101.6 kB / 1.026 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.581e-05/0.8009, allocations: 11.98 kB / 1.026 GB, free: 11.74 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.712e-06/0.8009, allocations: 0 / 1.026 GB, free: 11.74 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.091e-05/0.8009, allocations: 3.938 kB / 1.026 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001036/0.801, allocations: 20 kB / 1.026 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.859e-06/0.801, allocations: 0 / 1.026 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.395e-05/0.8011, allocations: 4 kB / 1.026 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.1e-05/0.8011, allocations: 7.984 kB / 1.026 GB, free: 11.7 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (13): * Single equations (assignments): 13 * 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 9.078e-05/0.8012, allocations: 113.8 kB / 1.026 GB, free: 11.58 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.59e-05/0.8012, allocations: 12.05 kB / 1.026 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001991/0.8014, allocations: 109.6 kB / 1.026 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.8014, allocations: 0 / 1.026 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.8014, allocations: 0 / 1.026 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/0.8014, allocations: 3.984 kB / 1.026 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004662/0.8019, allocations: 358.4 kB / 1.027 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.8019, allocations: 0 / 1.027 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001018/0.802, allocations: 16 kB / 1.027 GB, free: 11.03 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.802, allocations: 0 / 1.027 GB, free: 11.03 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.251e-05/0.8021, allocations: 8 kB / 1.027 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.926e-06/0.8021, allocations: 7.984 kB / 1.027 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.8021, allocations: 0 / 1.027 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002589/0.8023, allocations: 215.3 kB / 1.027 GB, free: 10.79 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.273e-05/0.8024, allocations: 93.02 kB / 1.027 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.942e-05/0.8024, allocations: 12 kB / 1.027 GB, free: 10.67 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.671e-05/0.8025, allocations: 0 / 1.027 GB, free: 10.67 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.832e-05/0.8025, allocations: 7.984 kB / 1.027 GB, free: 10.66 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.416e-06/0.8026, allocations: 4 kB / 1.027 GB, free: 10.66 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.529e-05/0.8026, allocations: 83.34 kB / 1.027 GB, free: 10.57 MB / 0.7794 GB Notification: Performance of sort global known variables: time 9e-08/0.8026, allocations: 0 / 1.027 GB, free: 10.57 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002673/0.8029, allocations: 47.98 kB / 1.027 GB, free: 10.53 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (y_comp,der_y_comp) * 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 (11): * Single equations (assignments): 11 * 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.0002492/0.8031, allocations: 139.2 kB / 1.027 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001401/0.8033, allocations: 59.92 kB / 1.027 GB, free: 10.32 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.8033, allocations: 0 / 1.027 GB, free: 10.32 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 4.896e-05/0.8033, allocations: 40.3 kB / 1.028 GB, free: 10.28 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002146/0.8036, allocations: 8 kB / 1.028 GB, free: 10.27 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003543/0.8039, allocations: 187.2 kB / 1.028 GB, free: 10.07 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002649/0.8042, allocations: 0.6887 MB / 1.028 GB, free: 9.352 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 5.256e-05/0.8043, allocations: 16.23 kB / 1.028 GB, free: 9.336 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.344e-05/0.8043, allocations: 11.44 kB / 1.028 GB, free: 9.324 MB / 0.7794 GB Notification: Performance of SimCode: time 2.4e-07/0.8043, allocations: 4 kB / 1.028 GB, free: 9.32 MB / 0.7794 GB Notification: Performance of Templates: time 0.003887/0.8082, allocations: 1.347 MB / 1.03 GB, free: 7.984 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.makefile (rm -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.sim & ./Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches