Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_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_latest_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.001251/0.001251, allocations: 114.5 kB / 16.42 MB, free: 6.496 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.001317/0.001317, allocations: 188.3 kB / 17.35 MB, free: 5.758 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.433/1.433, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.745/2.745, allocations: 472.7 MB / 0.746 GB, free: 420 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001558/0.001558, allocations: 63.91 kB / 1.07 GB, free: 9.512 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.115/1.116, allocations: 159.9 MB / 1.226 GB, free: 13.49 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.002161/1.119, allocations: 0.5944 MB / 1.227 GB, free: 12.9 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.0007543/1.119, allocations: 358.7 kB / 1.227 GB, free: 12.55 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.51e-05/1.119, allocations: 0 / 1.227 GB, free: 12.55 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 1.379e-05/1.119, allocations: 0 / 1.227 GB, free: 12.55 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 2.42e-05/1.12, allocations: 0 / 1.227 GB, free: 12.55 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005761/1.12, allocations: 119 kB / 1.227 GB, free: 12.44 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 5.619e-05/1.12, allocations: 4 kB / 1.227 GB, free: 12.43 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 5.155e-05/1.12, allocations: 4 kB / 1.227 GB, free: 12.43 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 1.911e-05/1.12, allocations: 3.984 kB / 1.227 GB, free: 12.43 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 6.076e-05/1.12, allocations: 15.92 kB / 1.227 GB, free: 12.41 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.414e-05/1.12, allocations: 0 / 1.227 GB, free: 12.41 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004253/1.121, allocations: 271.7 kB / 1.228 GB, free: 12.14 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 1.372e-05/1.121, allocations: 0 / 1.228 GB, free: 12.14 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 2.396e-05/1.121, allocations: 7.984 kB / 1.228 GB, free: 12.14 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0002119/1.121, allocations: 96.28 kB / 1.228 GB, free: 12.05 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/1.121, allocations: 0 / 1.228 GB, free: 12.05 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.283e-06/1.121, allocations: 0 / 1.228 GB, free: 12.05 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 9.457e-06/1.121, allocations: 0 / 1.228 GB, free: 12.05 MB / 0.9512 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.0004106/1.122, allocations: 349.1 kB / 1.228 GB, free: 11.66 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.373e-05/1.122, allocations: 8.031 kB / 1.228 GB, free: 11.65 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.463e-05/1.122, allocations: 4.922 kB / 1.228 GB, free: 11.64 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001403/1.122, allocations: 164.4 kB / 1.228 GB, free: 11.45 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.299e-05/1.122, allocations: 384 / 1.228 GB, free: 11.45 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.587e-05/1.122, allocations: 4.375 kB / 1.228 GB, free: 11.44 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000104/1.122, allocations: 38.2 kB / 1.228 GB, free: 11.4 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.149e-05/1.122, allocations: 4.172 kB / 1.228 GB, free: 11.39 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.259e-05/1.122, allocations: 3.938 kB / 1.228 GB, free: 11.39 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.509e-06/1.122, allocations: 4 kB / 1.228 GB, free: 11.39 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.159e-05/1.122, allocations: 0 / 1.228 GB, free: 11.39 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001791/1.122, allocations: 149.7 kB / 1.228 GB, free: 11.19 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 5.355e-05/1.122, allocations: 26.59 kB / 1.229 GB, free: 11.16 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.162e-05/1.122, allocations: 8.922 kB / 1.229 GB, free: 11.14 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007549/1.123, allocations: 465.3 kB / 1.229 GB, free: 10.6 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.971e-05/1.123, allocations: 38.56 kB / 1.229 GB, free: 10.55 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=2): time 3.286e-06/1.123, allocations: 0 / 1.229 GB, free: 10.55 MB / 0.9512 GB Notification: Performance of matching and sorting (n=3): time 0.0005831/1.124, allocations: 258.2 kB / 1.229 GB, free: 10.25 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.205e-05/1.124, allocations: 51.41 kB / 1.229 GB, free: 10.18 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.189e-05/1.124, allocations: 94.08 kB / 1.229 GB, free: 10.08 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.506e-05/1.124, allocations: 29.83 kB / 1.229 GB, free: 10.05 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 3.206e-05/1.124, allocations: 80.14 kB / 1.23 GB, free: 9.965 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 3.191e-05/1.124, allocations: 23.83 kB / 1.23 GB, free: 9.941 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.259e-05/1.124, allocations: 9.719 kB / 1.23 GB, free: 9.926 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001226/1.124, allocations: 318.8 kB / 1.23 GB, free: 9.605 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.921e-05/1.124, allocations: 4 kB / 1.23 GB, free: 9.602 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.359e-05/1.124, allocations: 25.73 kB / 1.23 GB, free: 9.57 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.926e-05/1.124, allocations: 33.66 kB / 1.23 GB, free: 9.531 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/1.124, allocations: 0 / 1.23 GB, free: 9.531 MB / 0.9512 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.92e-05/1.124, allocations: 49.69 kB / 1.23 GB, free: 9.477 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.577e-05/1.124, allocations: 8 kB / 1.23 GB, free: 9.469 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.291e-06/1.124, allocations: 3.938 kB / 1.23 GB, free: 9.465 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.345e-05/1.124, allocations: 0 / 1.23 GB, free: 9.465 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.46e-05/1.124, allocations: 11.94 kB / 1.23 GB, free: 9.453 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.941e-06/1.124, allocations: 0 / 1.23 GB, free: 9.453 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.891e-05/1.124, allocations: 4.062 kB / 1.23 GB, free: 9.449 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.475e-06/1.124, allocations: 3.984 kB / 1.23 GB, free: 9.445 MB / 0.9512 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 9.095e-05/1.125, allocations: 114.4 kB / 1.23 GB, free: 9.324 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.718e-05/1.125, allocations: 0 / 1.23 GB, free: 9.324 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001419/1.125, allocations: 57.11 kB / 1.23 GB, free: 9.262 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/1.125, allocations: 0 / 1.23 GB, free: 9.262 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/1.125, allocations: 0 / 1.23 GB, free: 9.262 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 5.715e-05/1.125, allocations: 89.06 kB / 1.23 GB, free: 9.156 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.53e-05/1.125, allocations: 3.938 kB / 1.23 GB, free: 9.152 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.981e-05/1.125, allocations: 0 / 1.23 GB, free: 9.152 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.524e-05/1.125, allocations: 7.984 kB / 1.23 GB, free: 9.145 MB / 0.9512 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001708/1.125, allocations: 121 kB / 1.23 GB, free: 9.02 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002622/1.125, allocations: 226.8 kB / 1.231 GB, free: 8.781 MB / 0.9512 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.218e-05/1.125, allocations: 16.02 kB / 1.231 GB, free: 8.766 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 5.002e-05/1.125, allocations: 79.28 kB / 1.231 GB, free: 8.688 MB / 0.9512 GB Notification: Performance of Backend: time 1.112e-06/1.126, allocations: 0 / 1.231 GB, free: 8.688 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0006033/1.126, allocations: 138.1 kB / 1.231 GB, free: 8.547 MB / 0.9512 GB Notification: Performance of SimCode: time 0.0005194/1.127, allocations: 0.5571 MB / 1.231 GB, free: 7.941 MB / 0.9512 GB Notification: Performance of Templates: time 0.004319/1.131, allocations: 1.264 MB / 1.233 GB, free: 6.688 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches