Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.006376/0.006375, allocations: 106.2 kB / 15.73 MB, free: 5.984 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.001179/0.001179, allocations: 194.8 kB / 16.67 MB, free: 5.906 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.331/1.331, allocations: 222.9 MB / 240.4 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.17/2.17, allocations: 390.2 MB / 0.6648 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001386/0.001386, allocations: 67.91 kB / 0.9509 GB, free: 7.566 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9778/0.9792, allocations: 140.4 MB / 1.088 GB, free: 5.5 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.002289/0.9815, allocations: 0.619 MB / 1.089 GB, free: 5.113 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0008321/0.9824, allocations: 351.4 kB / 1.089 GB, free: 4.887 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.042e-05/0.9825, allocations: 0 / 1.089 GB, free: 4.887 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 1.766e-05/0.9825, allocations: 0.9062 kB / 1.089 GB, free: 4.887 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 3.002e-05/0.9826, allocations: 3.938 kB / 1.089 GB, free: 4.883 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007261/0.9833, allocations: 118.9 kB / 1.089 GB, free: 4.84 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 9.626e-05/0.9834, allocations: 31.17 kB / 1.089 GB, free: 4.824 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 5.047e-05/0.9835, allocations: 3 kB / 1.089 GB, free: 4.824 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 5.324e-05/0.9835, allocations: 10.84 kB / 1.089 GB, free: 4.82 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 7.085e-05/0.9836, allocations: 11.22 kB / 1.089 GB, free: 4.816 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.95e-05/0.9836, allocations: 1.156 kB / 1.089 GB, free: 4.816 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007195/0.9843, allocations: 274.5 kB / 1.089 GB, free: 4.75 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.472e-05/0.9844, allocations: 14.42 kB / 1.089 GB, free: 4.738 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.389e-05/0.9844, allocations: 10.61 kB / 1.089 GB, free: 4.734 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003584/0.9848, allocations: 107 kB / 1.089 GB, free: 4.695 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/0.9848, allocations: 4 kB / 1.089 GB, free: 4.691 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.244e-06/0.9848, allocations: 0.8125 kB / 1.089 GB, free: 4.691 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.512e-06/0.9848, allocations: 0 / 1.089 GB, free: 4.691 MB / 0.8575 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.0005453/0.9854, allocations: 353.5 kB / 1.09 GB, free: 4.324 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.069e-05/0.9854, allocations: 8.906 kB / 1.09 GB, free: 4.324 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.681e-05/0.9855, allocations: 12.77 kB / 1.09 GB, free: 4.316 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001023/0.9856, allocations: 162.3 kB / 1.09 GB, free: 4.121 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.571e-05/0.9857, allocations: 3.172 kB / 1.09 GB, free: 4.121 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.905e-05/0.9857, allocations: 3.406 kB / 1.09 GB, free: 4.121 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001436/0.9858, allocations: 58.36 kB / 1.09 GB, free: 4.074 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.566e-05/0.9859, allocations: 0.75 kB / 1.09 GB, free: 4.074 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.672e-05/0.9859, allocations: 5.281 kB / 1.09 GB, free: 4.07 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.585e-06/0.9859, allocations: 1.344 kB / 1.09 GB, free: 4.07 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.291e-05/0.986, allocations: 17.58 kB / 1.09 GB, free: 4.066 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001829/0.9862, allocations: 168.2 kB / 1.09 GB, free: 3.867 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001246/0.9863, allocations: 56.06 kB / 1.09 GB, free: 3.832 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.018e-05/0.9864, allocations: 32.75 kB / 1.09 GB, free: 3.812 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007298/0.9871, allocations: 455.8 kB / 1.091 GB, free: 3.344 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.766e-05/0.9871, allocations: 43.56 kB / 1.091 GB, free: 3.293 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=7): time 1.152e-06/0.9872, allocations: 0 / 1.091 GB, free: 3.293 MB / 0.8575 GB Notification: Performance of matching and sorting (n=11): time 0.001581/0.9887, allocations: 0.593 MB / 1.091 GB, free: 2.773 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.47e-05/0.9888, allocations: 54.28 kB / 1.091 GB, free: 2.711 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.374e-05/0.9889, allocations: 103.1 kB / 1.092 GB, free: 2.605 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.735e-05/0.9889, allocations: 30.45 kB / 1.092 GB, free: 2.57 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.331e-05/0.989, allocations: 81.34 kB / 1.092 GB, free: 2.488 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 6.749e-05/0.989, allocations: 39.42 kB / 1.092 GB, free: 2.457 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.106e-05/0.9891, allocations: 28.2 kB / 1.092 GB, free: 2.434 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 8.43e-05/0.9892, allocations: 319 kB / 1.092 GB, free: 2.117 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.025e-05/0.9893, allocations: 18.55 kB / 1.092 GB, free: 2.113 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.535e-05/0.9893, allocations: 23.61 kB / 1.092 GB, free: 2.105 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001163/0.9894, allocations: 62.62 kB / 1.092 GB, free: 2.074 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.9894, allocations: 4 kB / 1.092 GB, free: 2.07 MB / 0.8575 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001948/0.9896, allocations: 104.7 kB / 1.092 GB, free: 2.008 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.241e-05/0.9897, allocations: 9.25 kB / 1.092 GB, free: 2.004 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.123e-06/0.9897, allocations: 1.422 kB / 1.092 GB, free: 2.004 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.2e-05/0.9897, allocations: 0.7188 kB / 1.092 GB, free: 2.004 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001325/0.9898, allocations: 20.2 kB / 1.092 GB, free: 2.004 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.135e-06/0.9899, allocations: 1.406 kB / 1.092 GB, free: 2.004 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.595e-05/0.9899, allocations: 4.719 kB / 1.092 GB, free: 2 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.101e-05/0.9899, allocations: 3.984 kB / 1.092 GB, free: 2 MB / 0.8575 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.212e-05/0.99, allocations: 121.1 kB / 1.092 GB, free: 1.875 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.126e-05/0.99, allocations: 7.625 kB / 1.092 GB, free: 1.871 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002303/0.9903, allocations: 101.1 kB / 1.092 GB, free: 1.809 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.51e-06/0.9903, allocations: 1.344 kB / 1.092 GB, free: 1.809 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.9903, allocations: 4.719 kB / 1.092 GB, free: 1.805 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.9903, allocations: 0.5625 kB / 1.092 GB, free: 1.805 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004379/0.9907, allocations: 352.9 kB / 1.093 GB, free: 1.473 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.9908, allocations: 0.9375 kB / 1.093 GB, free: 1.473 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001222/0.9909, allocations: 19.97 kB / 1.093 GB, free: 1.473 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.386e-06/0.9909, allocations: 4.812 kB / 1.093 GB, free: 1.469 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.228e-05/0.9909, allocations: 2.328 kB / 1.093 GB, free: 1.469 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.365e-06/0.9909, allocations: 1.188 kB / 1.093 GB, free: 1.469 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.9909, allocations: 0 / 1.093 GB, free: 1.469 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002951/0.9912, allocations: 227.5 kB / 1.093 GB, free: 1.293 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 5.152e-05/0.9913, allocations: 92.94 kB / 1.093 GB, free: 1.191 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.958e-05/0.9913, allocations: 0.9375 kB / 1.093 GB, free: 1.191 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.718e-05/0.9914, allocations: 11.52 kB / 1.093 GB, free: 1.184 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.871e-05/0.9914, allocations: 6.078 kB / 1.093 GB, free: 1.184 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.346e-06/0.9915, allocations: 2.844 kB / 1.093 GB, free: 1.184 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 2.954e-05/0.9915, allocations: 78.55 kB / 1.093 GB, free: 1.109 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9915, allocations: 1 kB / 1.093 GB, free: 1.109 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003498/0.9919, allocations: 42.23 kB / 1.093 GB, free: 1.102 MB / 0.8575 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 (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.0003153/0.9922, allocations: 144.6 kB / 1.093 GB, free: 1 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002137/0.9924, allocations: 68.91 kB / 1.093 GB, free: 0.9766 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.9924, allocations: 4 kB / 1.093 GB, free: 0.9727 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 6.378e-05/0.9925, allocations: 40.66 kB / 1.094 GB, free: 0.957 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002359/0.9927, allocations: 7.375 kB / 1.094 GB, free: 0.9531 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003722/0.9931, allocations: 172 kB / 1.094 GB, free: 0.8164 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003256/0.9934, allocations: 0.6897 MB / 1.094 GB, free: 16.12 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 5.804e-05/0.9935, allocations: 11.89 kB / 1.094 GB, free: 16.11 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.845e-05/0.9935, allocations: 12.75 kB / 1.094 GB, free: 16.11 MB / 0.8731 GB Notification: Performance of SimCode: time 2.1e-07/0.9935, allocations: 0 / 1.094 GB, free: 16.11 MB / 0.8731 GB Notification: Performance of Templates: time 0.00585/0.9994, allocations: 1.427 MB / 1.096 GB, free: 15.98 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.makefile (rm -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.sim & ./Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches