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.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.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.0014/0.0014, allocations: 111.3 kB / 16.42 MB, free: 6.461 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.001441/0.001441, allocations: 189.5 kB / 17.35 MB, free: 5.715 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.451/1.451, allocations: 222.9 MB / 241.1 MB, free: 15.13 MB / 206.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.584/2.584, allocations: 437.1 MB / 0.7112 GB, free: 4.363 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001499/0.0015, allocations: 63.91 kB / 1.019 GB, free: 9.344 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.068/1.069, allocations: 151.6 MB / 1.167 GB, free: 3.969 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.001855/1.071, allocations: 0.6296 MB / 1.168 GB, free: 3.344 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0006932/1.072, allocations: 350.7 kB / 1.168 GB, free: 3 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.679e-05/1.072, allocations: 0 / 1.168 GB, free: 3 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 1.647e-05/1.072, allocations: 3.938 kB / 1.168 GB, free: 2.996 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 3.63e-05/1.072, allocations: 0 / 1.168 GB, free: 2.996 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.000525/1.072, allocations: 123.6 kB / 1.168 GB, free: 2.875 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 6.224e-05/1.073, allocations: 19.98 kB / 1.168 GB, free: 2.855 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 3.814e-05/1.073, allocations: 0 / 1.168 GB, free: 2.855 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 4.479e-05/1.073, allocations: 19.92 kB / 1.168 GB, free: 2.836 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 5.472e-05/1.073, allocations: 15.91 kB / 1.168 GB, free: 2.82 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.406e-05/1.073, allocations: 4 kB / 1.168 GB, free: 2.816 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003997/1.073, allocations: 275.7 kB / 1.169 GB, free: 2.547 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 1.246e-05/1.073, allocations: 0 / 1.169 GB, free: 2.547 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 3.278e-05/1.073, allocations: 15.92 kB / 1.169 GB, free: 2.531 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0002046/1.073, allocations: 103.8 kB / 1.169 GB, free: 2.43 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/1.073, allocations: 0 / 1.169 GB, free: 2.43 MB / 0.8887 GB Notification: Performance of FrontEnd: time 8.52e-07/1.073, allocations: 0 / 1.169 GB, free: 2.43 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 5.229e-06/1.073, allocations: 4 kB / 1.169 GB, free: 2.426 MB / 0.8887 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.0004632/1.074, allocations: 365.2 kB / 1.169 GB, free: 2.02 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.166e-05/1.074, allocations: 8.031 kB / 1.169 GB, free: 2.012 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.357e-05/1.074, allocations: 4.938 kB / 1.169 GB, free: 2.008 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001134/1.074, allocations: 168.3 kB / 1.169 GB, free: 1.805 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.169e-05/1.074, allocations: 4.375 kB / 1.169 GB, free: 1.801 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.28e-05/1.074, allocations: 12.38 kB / 1.169 GB, free: 1.789 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001175/1.074, allocations: 46.23 kB / 1.169 GB, free: 1.738 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.067e-05/1.074, allocations: 192 / 1.169 GB, free: 1.738 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.427e-05/1.074, allocations: 7.938 kB / 1.169 GB, free: 1.73 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.049e-06/1.074, allocations: 0 / 1.169 GB, free: 1.73 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.521e-05/1.074, allocations: 19.98 kB / 1.169 GB, free: 1.711 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001935/1.075, allocations: 173.5 kB / 1.17 GB, free: 1.492 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001076/1.075, allocations: 58.5 kB / 1.17 GB, free: 1.426 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.547e-05/1.075, allocations: 32.84 kB / 1.17 GB, free: 1.391 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007257/1.076, allocations: 457.5 kB / 1.17 GB, free: 0.8516 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.092e-05/1.076, allocations: 38.56 kB / 1.17 GB, free: 0.8047 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=7): time 1.493e-06/1.076, allocations: 0 / 1.17 GB, free: 0.8047 MB / 0.8887 GB Notification: Performance of matching and sorting (n=11): time 0.001309/1.077, allocations: 0.5916 MB / 1.171 GB, free: 124 kB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.695e-05/1.077, allocations: 55.41 kB / 1.171 GB, free: 56 kB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.733e-05/1.077, allocations: 101.8 kB / 1.171 GB, free: 15.95 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.591e-05/1.077, allocations: 29.7 kB / 1.171 GB, free: 15.91 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 3.582e-05/1.077, allocations: 80.14 kB / 1.171 GB, free: 15.83 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 4.521e-05/1.077, allocations: 35.47 kB / 1.171 GB, free: 15.79 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.622e-05/1.077, allocations: 29.64 kB / 1.171 GB, free: 15.76 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001276/1.077, allocations: 318.8 kB / 1.171 GB, free: 15.44 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.076e-05/1.077, allocations: 19.98 kB / 1.171 GB, free: 15.42 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.848e-05/1.077, allocations: 28.08 kB / 1.171 GB, free: 15.39 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.999e-05/1.078, allocations: 58.11 kB / 1.171 GB, free: 15.34 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.51e-07/1.078, allocations: 0 / 1.171 GB, free: 15.34 MB / 0.9044 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001534/1.078, allocations: 101.5 kB / 1.172 GB, free: 15.23 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.529e-05/1.078, allocations: 8 kB / 1.172 GB, free: 15.22 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/1.078, allocations: 0 / 1.172 GB, free: 15.22 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.342e-05/1.078, allocations: 0 / 1.172 GB, free: 15.22 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000114/1.078, allocations: 27.92 kB / 1.172 GB, free: 15.2 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.468e-06/1.078, allocations: 0 / 1.172 GB, free: 15.2 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.386e-05/1.078, allocations: 4 kB / 1.172 GB, free: 15.19 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.727e-06/1.078, allocations: 4 kB / 1.172 GB, free: 15.19 MB / 0.9044 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 7.967e-05/1.078, allocations: 113.8 kB / 1.172 GB, free: 15.07 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.29e-05/1.078, allocations: 11.84 kB / 1.172 GB, free: 15.05 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002583/1.078, allocations: 117.6 kB / 1.172 GB, free: 14.93 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.53e-06/1.078, allocations: 3.984 kB / 1.172 GB, free: 14.92 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/1.078, allocations: 0 / 1.172 GB, free: 14.92 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 6.229e-05/1.078, allocations: 85.09 kB / 1.172 GB, free: 14.82 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.583e-05/1.078, allocations: 4.094 kB / 1.172 GB, free: 14.82 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.752e-05/1.078, allocations: 3.938 kB / 1.172 GB, free: 14.81 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.085e-05/1.078, allocations: 7.984 kB / 1.172 GB, free: 14.8 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002821/1.079, allocations: 180.8 kB / 1.172 GB, free: 14.62 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002932/1.079, allocations: 290.6 kB / 1.172 GB, free: 14.32 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.293e-05/1.079, allocations: 36 kB / 1.172 GB, free: 14.29 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 4.008e-05/1.079, allocations: 79.28 kB / 1.173 GB, free: 14.21 MB / 0.9044 GB Notification: Performance of Backend: time 2.7e-07/1.079, allocations: 0 / 1.173 GB, free: 14.21 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0005091/1.08, allocations: 159.8 kB / 1.173 GB, free: 14.05 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0005243/1.08, allocations: 0.6007 MB / 1.173 GB, free: 13.4 MB / 0.9044 GB Notification: Performance of Templates: time 0.004478/1.085, allocations: 1.618 MB / 1.175 GB, free: 11.79 MB / 0.9044 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/jenkins1/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