Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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_maint.7.0.x_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_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.642/1.642, allocations: 249.3 MB / 261.8 MB, free: 5.848 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00131/0.00131, allocations: 184.8 kB / 321.3 MB, free: 14.64 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.48/1.48, allocations: 205.2 MB / 0.572 GB, free: 10.66 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009171/0.0009172, allocations: 90.48 kB / 0.6764 GB, free: 15.64 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.981e-05/3.982e-05, allocations: 4 kB / 0.788 GB, free: 97.08 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.294/0.2941, allocations: 106.3 MB / 0.8918 GB, free: 6.656 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.963/1.257, allocations: 131.6 MB / 1.02 GB, free: 3.078 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003893/1.258, allocations: 80 kB / 1.02 GB, free: 3.031 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.01341/1.271, allocations: 4.535 MB / 1.025 GB, free: 15.2 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.845e-06/1.271, allocations: 0 / 1.025 GB, free: 15.2 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 9.267e-06/1.271, allocations: 3.938 kB / 1.025 GB, free: 15.19 MB / 0.6511 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.0003658/1.272, allocations: 349.7 kB / 1.025 GB, free: 14.81 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.435e-05/1.272, allocations: 8.031 kB / 1.025 GB, free: 14.8 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.022e-05/1.272, allocations: 4 kB / 1.025 GB, free: 14.8 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001369/1.272, allocations: 163 kB / 1.025 GB, free: 14.6 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.504e-05/1.272, allocations: 7.875 kB / 1.025 GB, free: 14.59 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.57e-05/1.272, allocations: 8 kB / 1.025 GB, free: 14.58 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001084/1.272, allocations: 37.06 kB / 1.025 GB, free: 14.54 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.406e-06/1.272, allocations: 0 / 1.025 GB, free: 14.54 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.142e-05/1.272, allocations: 0 / 1.025 GB, free: 14.54 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.07e-06/1.272, allocations: 0 / 1.025 GB, free: 14.54 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.32e-05/1.272, allocations: 4 kB / 1.025 GB, free: 14.54 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002028/1.272, allocations: 161 kB / 1.026 GB, free: 14.34 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 5.615e-05/1.272, allocations: 26.52 kB / 1.026 GB, free: 14.3 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.994e-05/1.272, allocations: 4.859 kB / 1.026 GB, free: 14.29 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006771/1.273, allocations: 464.3 kB / 1.026 GB, free: 13.75 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.508e-05/1.273, allocations: 30.56 kB / 1.026 GB, free: 13.71 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=2): time 1.142e-06/1.273, allocations: 0 / 1.026 GB, free: 13.71 MB / 0.6511 GB Notification: Performance of matching and sorting (n=3): time 0.000724/1.274, allocations: 246.5 kB / 1.026 GB, free: 13.43 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.25e-05/1.274, allocations: 51.41 kB / 1.026 GB, free: 13.36 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.189e-05/1.274, allocations: 96.25 kB / 1.026 GB, free: 13.27 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.64e-05/1.274, allocations: 25.7 kB / 1.026 GB, free: 13.23 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 5.165e-05/1.274, allocations: 80.14 kB / 1.027 GB, free: 13.15 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 3.4e-05/1.274, allocations: 15.77 kB / 1.027 GB, free: 13.14 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.847e-06/1.274, allocations: 0 / 1.027 GB, free: 13.14 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001716/1.274, allocations: 310.8 kB / 1.027 GB, free: 12.83 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.801e-05/1.274, allocations: 4 kB / 1.027 GB, free: 12.82 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.843e-05/1.274, allocations: 17.53 kB / 1.027 GB, free: 12.8 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.817e-05/1.274, allocations: 16.06 kB / 1.027 GB, free: 12.79 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.92e-07/1.274, allocations: 0 / 1.027 GB, free: 12.79 MB / 0.6511 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001001/1.275, allocations: 48.7 kB / 1.027 GB, free: 12.74 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.893e-05/1.275, allocations: 8 kB / 1.027 GB, free: 12.73 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/1.275, allocations: 0 / 1.027 GB, free: 12.73 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.183e-05/1.275, allocations: 0 / 1.027 GB, free: 12.73 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.005e-05/1.275, allocations: 11.98 kB / 1.027 GB, free: 12.72 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.606e-06/1.275, allocations: 0 / 1.027 GB, free: 12.72 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.058e-05/1.275, allocations: 7.875 kB / 1.027 GB, free: 12.71 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.05e-05/1.275, allocations: 4.938 kB / 1.027 GB, free: 12.71 MB / 0.6511 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 () * 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 7.361e-05/1.275, allocations: 108.9 kB / 1.027 GB, free: 12.6 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.173e-05/1.275, allocations: 7.844 kB / 1.027 GB, free: 12.59 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001517/1.275, allocations: 59.25 kB / 1.027 GB, free: 12.53 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.526e-06/1.275, allocations: 4 kB / 1.027 GB, free: 12.52 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/1.275, allocations: 0 / 1.027 GB, free: 12.52 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.123e-06/1.275, allocations: 7.984 kB / 1.027 GB, free: 12.52 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001257/1.275, allocations: 152.2 kB / 1.027 GB, free: 12.32 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/1.275, allocations: 3.953 kB / 1.027 GB, free: 12.32 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.565e-05/1.275, allocations: 4 kB / 1.027 GB, free: 12.31 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/1.275, allocations: 0 / 1.027 GB, free: 12.31 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.185e-06/1.275, allocations: 0 / 1.027 GB, free: 12.31 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/1.275, allocations: 0 / 1.027 GB, free: 12.31 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.223e-06/1.275, allocations: 8 kB / 1.027 GB, free: 12.3 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001575/1.275, allocations: 75.56 kB / 1.027 GB, free: 12.22 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 4.628e-05/1.276, allocations: 85.12 kB / 1.027 GB, free: 12.12 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.523e-05/1.276, allocations: 3.984 kB / 1.027 GB, free: 12.11 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.728e-05/1.276, allocations: 7.344 kB / 1.027 GB, free: 12.11 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.686e-05/1.276, allocations: 0 / 1.027 GB, free: 12.11 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.378e-06/1.276, allocations: 0 / 1.027 GB, free: 12.11 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 4.157e-05/1.276, allocations: 79.28 kB / 1.028 GB, free: 12.03 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.4e-07/1.276, allocations: 0 / 1.028 GB, free: 12.03 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002318/1.276, allocations: 31.94 kB / 1.028 GB, free: 12 MB / 0.6511 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 () * 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.0002766/1.276, allocations: 143.8 kB / 1.028 GB, free: 11.86 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 9.628e-05/1.276, allocations: 22.67 kB / 1.028 GB, free: 11.84 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/1.276, allocations: 0 / 1.028 GB, free: 11.84 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 1.365e-05/1.276, allocations: 4 kB / 1.028 GB, free: 11.83 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001174/1.276, allocations: 1.875 kB / 1.028 GB, free: 11.83 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002546/1.277, allocations: 83.33 kB / 1.028 GB, free: 11.73 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003045/1.277, allocations: 0.677 MB / 1.028 GB, free: 11.03 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 3.583e-05/1.277, allocations: 12.11 kB / 1.029 GB, free: 11.02 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.968e-05/1.277, allocations: 7.438 kB / 1.029 GB, free: 11.01 MB / 0.6511 GB Notification: Performance of SimCode: time 2.2e-07/1.277, allocations: 7.938 kB / 1.029 GB, free: 11 MB / 0.6511 GB Notification: Performance of Templates: time 0.003038/1.28, allocations: 0.8135 MB / 1.029 GB, free: 10.21 MB / 0.6511 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck.csv","../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches