Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_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_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.241/2.241, allocations: 390.3 MB / 402.8 MB, free: 6.719 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001092/0.001092, allocations: 188 kB / 496.1 MB, free: 12.88 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.51/1.51, allocations: 221.3 MB / 0.7915 GB, free: 5.41 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008492/0.0008494, allocations: 79.97 kB / 0.9317 GB, free: 5.73 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.28e-05/4.283e-05, allocations: 8 kB / 1.079 GB, free: 140.6 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3466/0.3467, allocations: 143 MB / 1.219 GB, free: 13.54 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.023/1.37, allocations: 150.2 MB / 1.365 GB, free: 3.926 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002497/1.37, allocations: 78.22 kB / 1.365 GB, free: 3.879 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01452/1.385, allocations: 5.121 MB / 1.37 GB, free: 15.55 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.983e-06/1.385, allocations: 0 / 1.37 GB, free: 15.55 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 7.264e-06/1.385, allocations: 0 / 1.37 GB, free: 15.55 MB / 0.8386 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.000371/1.385, allocations: 358 kB / 1.371 GB, free: 15.16 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.018e-05/1.385, allocations: 8.031 kB / 1.371 GB, free: 15.15 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.894e-05/1.386, allocations: 8.562 kB / 1.371 GB, free: 15.14 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001324/1.386, allocations: 178.9 kB / 1.371 GB, free: 14.93 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.969e-06/1.386, allocations: 7.25 kB / 1.371 GB, free: 14.92 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.319e-05/1.386, allocations: 4 kB / 1.371 GB, free: 14.92 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001288/1.386, allocations: 55.92 kB / 1.371 GB, free: 14.86 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.638e-06/1.386, allocations: 0 / 1.371 GB, free: 14.86 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.077e-05/1.386, allocations: 0 / 1.371 GB, free: 14.86 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.903e-06/1.386, allocations: 4 kB / 1.371 GB, free: 14.86 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.934e-05/1.386, allocations: 15.38 kB / 1.371 GB, free: 14.85 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001815/1.386, allocations: 171.5 kB / 1.371 GB, free: 14.64 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 9.298e-05/1.386, allocations: 56.69 kB / 1.371 GB, free: 14.59 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.345e-05/1.386, allocations: 28.17 kB / 1.371 GB, free: 14.56 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006333/1.387, allocations: 465.5 kB / 1.372 GB, free: 14.02 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.724e-05/1.387, allocations: 34.5 kB / 1.372 GB, free: 13.97 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=7): time 1.302e-06/1.387, allocations: 0 / 1.372 GB, free: 13.97 MB / 0.8386 GB Notification: Performance of matching and sorting (n=11): time 0.001166/1.388, allocations: 0.5588 MB / 1.372 GB, free: 13.37 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.552e-05/1.388, allocations: 59.41 kB / 1.372 GB, free: 13.3 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.936e-05/1.388, allocations: 92.94 kB / 1.372 GB, free: 13.2 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.779e-05/1.388, allocations: 25.7 kB / 1.373 GB, free: 13.17 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 3.621e-05/1.388, allocations: 80.14 kB / 1.373 GB, free: 13.09 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.506e-05/1.388, allocations: 38.55 kB / 1.373 GB, free: 13.06 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.027e-06/1.388, allocations: 3.938 kB / 1.373 GB, free: 13.05 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001222/1.389, allocations: 326.3 kB / 1.373 GB, free: 12.73 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.596e-05/1.389, allocations: 18.69 kB / 1.373 GB, free: 12.72 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.194e-05/1.389, allocations: 23.88 kB / 1.373 GB, free: 12.7 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.267e-05/1.389, allocations: 19.69 kB / 1.373 GB, free: 12.69 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.41e-07/1.389, allocations: 0 / 1.373 GB, free: 12.69 MB / 0.8386 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001442/1.389, allocations: 101.4 kB / 1.373 GB, free: 12.6 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.557e-05/1.389, allocations: 5.406 kB / 1.373 GB, free: 12.59 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/1.389, allocations: 0 / 1.373 GB, free: 12.59 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.197e-05/1.389, allocations: 0 / 1.373 GB, free: 12.59 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001086/1.389, allocations: 27.23 kB / 1.373 GB, free: 12.57 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.565e-06/1.389, allocations: 0 / 1.373 GB, free: 12.57 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.272e-05/1.389, allocations: 0 / 1.373 GB, free: 12.57 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.022e-05/1.389, allocations: 8 kB / 1.373 GB, free: 12.56 MB / 0.8386 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 () * 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 7.396e-05/1.389, allocations: 108.4 kB / 1.373 GB, free: 12.45 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.615e-05/1.389, allocations: 7.906 kB / 1.373 GB, free: 12.45 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002013/1.389, allocations: 111.1 kB / 1.373 GB, free: 12.35 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-06/1.389, allocations: 4 kB / 1.373 GB, free: 12.34 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.097e-06/1.389, allocations: 0 / 1.373 GB, free: 12.34 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/1.389, allocations: 0 / 1.373 GB, free: 12.34 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000384/1.39, allocations: 358.5 kB / 1.374 GB, free: 11.96 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/1.39, allocations: 0 / 1.374 GB, free: 11.96 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001079/1.39, allocations: 27.92 kB / 1.374 GB, free: 11.94 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/1.39, allocations: 0 / 1.374 GB, free: 11.94 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.157e-06/1.39, allocations: 0 / 1.374 GB, free: 11.94 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/1.39, allocations: 0 / 1.374 GB, free: 11.94 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/1.39, allocations: 4 kB / 1.374 GB, free: 11.93 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002517/1.39, allocations: 219.1 kB / 1.374 GB, free: 11.73 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 5.612e-05/1.39, allocations: 92.47 kB / 1.374 GB, free: 11.62 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.452e-05/1.39, allocations: 4.062 kB / 1.374 GB, free: 11.62 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.267e-05/1.39, allocations: 3.5 kB / 1.374 GB, free: 11.62 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.117e-05/1.39, allocations: 4.188 kB / 1.374 GB, free: 11.62 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.752e-05/1.39, allocations: 11.92 kB / 1.374 GB, free: 11.61 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 3.817e-05/1.39, allocations: 86.83 kB / 1.374 GB, free: 11.52 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.2e-07/1.39, allocations: 3.938 kB / 1.374 GB, free: 11.52 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002615/1.391, allocations: 47.88 kB / 1.374 GB, free: 11.48 MB / 0.8386 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 () * 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.0002637/1.391, allocations: 163 kB / 1.374 GB, free: 11.31 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001248/1.391, allocations: 66 kB / 1.374 GB, free: 11.26 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/1.391, allocations: 0 / 1.374 GB, free: 11.26 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 4.359e-05/1.391, allocations: 26.94 kB / 1.374 GB, free: 11.24 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001336/1.391, allocations: 7.938 kB / 1.374 GB, free: 11.23 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003352/1.392, allocations: 134.6 kB / 1.375 GB, free: 11.09 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002638/1.392, allocations: 0.6887 MB / 1.375 GB, free: 10.37 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 4.846e-05/1.392, allocations: 8 kB / 1.375 GB, free: 10.36 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.37e-05/1.392, allocations: 15.44 kB / 1.375 GB, free: 10.35 MB / 0.8386 GB Notification: Performance of SimCode: time 2.31e-07/1.392, allocations: 0 / 1.375 GB, free: 10.35 MB / 0.8386 GB Notification: Performance of Templates: time 0.003398/1.395, allocations: 1.309 MB / 1.377 GB, free: 9.066 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check.csv","../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches