Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.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.RegNonZeroPowerDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|y|der.x.|der.y.",fileNamePrefix="Buildings_10_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_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001381/0.001381, allocations: 111.9 kB / 16.42 MB, free: 6.445 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.001566/0.001566, allocations: 185.7 kB / 17.35 MB, free: 5.738 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.484/1.484, allocations: 222.9 MB / 241 MB, free: 15.18 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.65/2.65, allocations: 437.1 MB / 0.7112 GB, free: 4.391 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001468/0.001468, allocations: 63.89 kB / 1.019 GB, free: 9.367 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.043/1.045, allocations: 151.6 MB / 1.167 GB, free: 3.848 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.001754/1.046, allocations: 0.5906 MB / 1.168 GB, free: 3.262 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0006817/1.047, allocations: 350.7 kB / 1.168 GB, free: 2.918 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.294e-05/1.047, allocations: 3.938 kB / 1.168 GB, free: 2.914 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 1.36e-05/1.047, allocations: 0 / 1.168 GB, free: 2.914 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 2.191e-05/1.047, allocations: 0 / 1.168 GB, free: 2.914 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004944/1.048, allocations: 117.4 kB / 1.168 GB, free: 2.801 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 6.219e-05/1.048, allocations: 15.97 kB / 1.168 GB, free: 2.785 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 5.439e-05/1.048, allocations: 0 / 1.168 GB, free: 2.785 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 1.935e-05/1.048, allocations: 4 kB / 1.168 GB, free: 2.781 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 5.669e-05/1.048, allocations: 4 kB / 1.168 GB, free: 2.777 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.511e-05/1.048, allocations: 0 / 1.168 GB, free: 2.777 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004642/1.048, allocations: 279.6 kB / 1.169 GB, free: 2.504 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 1.683e-05/1.048, allocations: 3.938 kB / 1.169 GB, free: 2.5 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 2.122e-05/1.048, allocations: 4 kB / 1.169 GB, free: 2.496 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0002515/1.049, allocations: 95.77 kB / 1.169 GB, free: 2.402 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 6.071e-06/1.049, allocations: 4 kB / 1.169 GB, free: 2.398 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.114e-06/1.049, allocations: 0 / 1.169 GB, free: 2.398 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 5.901e-06/1.049, allocations: 0 / 1.169 GB, free: 2.398 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0004542/1.049, allocations: 339.6 kB / 1.169 GB, free: 2.016 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.608e-05/1.049, allocations: 8.031 kB / 1.169 GB, free: 2.008 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.292e-05/1.049, allocations: 4.938 kB / 1.169 GB, free: 2.004 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001618/1.049, allocations: 164.3 kB / 1.169 GB, free: 1.805 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.054e-05/1.049, allocations: 384 / 1.169 GB, free: 1.805 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.913e-05/1.049, allocations: 8.359 kB / 1.169 GB, free: 1.797 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.99e-05/1.05, allocations: 42.2 kB / 1.169 GB, free: 1.75 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.706e-06/1.05, allocations: 192 / 1.169 GB, free: 1.75 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.074e-05/1.05, allocations: 3.938 kB / 1.169 GB, free: 1.746 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/1.05, allocations: 0 / 1.169 GB, free: 1.746 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.138e-05/1.05, allocations: 4 kB / 1.169 GB, free: 1.742 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001636/1.05, allocations: 153.5 kB / 1.169 GB, free: 1.547 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 4.575e-05/1.05, allocations: 26.59 kB / 1.169 GB, free: 1.512 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.074e-05/1.05, allocations: 19.25 kB / 1.17 GB, free: 1.492 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007392/1.051, allocations: 457.5 kB / 1.17 GB, free: 0.9531 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.811e-05/1.051, allocations: 34.56 kB / 1.17 GB, free: 0.9102 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=2): time 1.152e-06/1.051, allocations: 0 / 1.17 GB, free: 0.9102 MB / 0.8887 GB Notification: Performance of matching and sorting (n=3): time 0.0005762/1.051, allocations: 250.3 kB / 1.17 GB, free: 0.6133 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.153e-05/1.051, allocations: 55.41 kB / 1.17 GB, free: 0.5469 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.796e-05/1.051, allocations: 97.78 kB / 1.17 GB, free: 452 kB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.68e-05/1.051, allocations: 26.05 kB / 1.17 GB, free: 420 kB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 3.602e-05/1.051, allocations: 88.14 kB / 1.17 GB, free: 328 kB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 7.156e-05/1.052, allocations: 11.81 kB / 1.17 GB, free: 316 kB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.209e-05/1.052, allocations: 13.72 kB / 1.17 GB, free: 296 kB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.000222/1.052, allocations: 318.8 kB / 1.171 GB, free: 15.97 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.953e-05/1.052, allocations: 4 kB / 1.171 GB, free: 15.96 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.826e-05/1.052, allocations: 13.72 kB / 1.171 GB, free: 15.95 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.84e-05/1.052, allocations: 45.58 kB / 1.171 GB, free: 15.89 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/1.052, allocations: 4 kB / 1.171 GB, free: 15.89 MB / 0.9044 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.995e-05/1.052, allocations: 45.7 kB / 1.171 GB, free: 15.84 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.499e-05/1.052, allocations: 4 kB / 1.171 GB, free: 15.84 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.755e-06/1.052, allocations: 3.938 kB / 1.171 GB, free: 15.83 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.79e-05/1.052, allocations: 0 / 1.171 GB, free: 15.83 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.577e-05/1.052, allocations: 15.92 kB / 1.171 GB, free: 15.82 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.023e-06/1.052, allocations: 0 / 1.171 GB, free: 15.82 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.927e-05/1.052, allocations: 0 / 1.171 GB, free: 15.82 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.746e-06/1.052, allocations: 8.062 kB / 1.171 GB, free: 15.81 MB / 0.9044 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.175e-05/1.052, allocations: 109.8 kB / 1.171 GB, free: 15.69 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.498e-05/1.052, allocations: 4 kB / 1.171 GB, free: 15.69 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001386/1.052, allocations: 53.12 kB / 1.171 GB, free: 15.62 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.643e-05/1.053, allocations: 3.984 kB / 1.171 GB, free: 15.62 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/1.053, allocations: 0 / 1.171 GB, free: 15.62 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.418e-05/1.053, allocations: 84.95 kB / 1.171 GB, free: 15.52 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.449e-05/1.053, allocations: 4 kB / 1.171 GB, free: 15.51 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.931e-05/1.053, allocations: 4 kB / 1.171 GB, free: 15.51 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.914e-05/1.053, allocations: 0 / 1.171 GB, free: 15.51 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001553/1.053, allocations: 128.9 kB / 1.171 GB, free: 15.38 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000202/1.053, allocations: 230.7 kB / 1.172 GB, free: 15.13 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 2.54e-05/1.053, allocations: 12.3 kB / 1.172 GB, free: 15.12 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 3.252e-05/1.053, allocations: 79.34 kB / 1.172 GB, free: 15.04 MB / 0.9044 GB Notification: Performance of Backend: time 3.1e-07/1.053, allocations: 0 / 1.172 GB, free: 15.04 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0005028/1.054, allocations: 123.1 kB / 1.172 GB, free: 14.91 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0004901/1.054, allocations: 0.5532 MB / 1.172 GB, free: 14.31 MB / 0.9044 GB Notification: Performance of Templates: time 0.003772/1.058, allocations: 1.274 MB / 1.174 GB, free: 13.04 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.makefile (rm -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.sim & ./Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches