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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.001232/0.001232, allocations: 104.9 kB / 16.35 MB, free: 6.289 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.001217/0.001217, allocations: 192.7 kB / 17.29 MB, free: 5.863 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.185/1.185, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.189/2.189, allocations: 442.6 MB / 0.7165 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001157/0.001157, allocations: 59.59 kB / 0.8773 GB, free: 10.92 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2476/0.2488, allocations: 153 MB / 1.027 GB, free: 2.004 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.001532/0.2504, allocations: 0.604 MB / 1.027 GB, free: 1.398 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0005396/0.2509, allocations: 345.2 kB / 1.028 GB, free: 1.062 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.582e-05/0.2509, allocations: 0 / 1.028 GB, free: 1.062 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 1.485e-05/0.251, allocations: 3.938 kB / 1.028 GB, free: 1.059 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 1.327e-05/0.251, allocations: 3.938 kB / 1.028 GB, free: 1.055 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003749/0.2514, allocations: 114.8 kB / 1.028 GB, free: 0.9453 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 3.97e-05/0.2514, allocations: 15.98 kB / 1.028 GB, free: 0.9297 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 3.363e-05/0.2515, allocations: 7.922 kB / 1.028 GB, free: 0.9219 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 1.48e-05/0.2515, allocations: 8 kB / 1.028 GB, free: 0.9141 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 3.767e-05/0.2515, allocations: 3.938 kB / 1.028 GB, free: 0.9102 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 9.468e-06/0.2515, allocations: 0 / 1.028 GB, free: 0.9102 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003206/0.2519, allocations: 275.6 kB / 1.028 GB, free: 0.6406 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 1.072e-05/0.2519, allocations: 4 kB / 1.028 GB, free: 0.6367 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 1.683e-05/0.2519, allocations: 7.984 kB / 1.028 GB, free: 0.6289 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.000144/0.252, allocations: 95.78 kB / 1.028 GB, free: 0.5352 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 2.976e-06/0.2521, allocations: 0 / 1.028 GB, free: 0.5352 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.312e-06/0.2521, allocations: 0 / 1.028 GB, free: 0.5352 MB / 0.795 GB Notification: Performance of Transformations before backend: time 3.637e-06/0.2521, allocations: 0 / 1.028 GB, free: 0.5352 MB / 0.795 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.000292/0.2524, allocations: 339.6 kB / 1.028 GB, free: 156 kB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 2.791e-05/0.2524, allocations: 12.03 kB / 1.028 GB, free: 144 kB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.457e-05/0.2524, allocations: 0.9375 kB / 1.028 GB, free: 144 kB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001011/0.2526, allocations: 160.4 kB / 1.029 GB, free: 15.95 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.535e-06/0.2526, allocations: 384 / 1.029 GB, free: 15.95 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.592e-05/0.2526, allocations: 4.375 kB / 1.029 GB, free: 15.94 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.304e-05/0.2527, allocations: 38.25 kB / 1.029 GB, free: 15.9 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.15e-06/0.2527, allocations: 192 / 1.029 GB, free: 15.9 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.947e-06/0.2527, allocations: 3.938 kB / 1.029 GB, free: 15.89 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.496e-06/0.2527, allocations: 4 kB / 1.029 GB, free: 15.89 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.845e-05/0.2527, allocations: 7.938 kB / 1.029 GB, free: 15.88 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001284/0.2529, allocations: 157.6 kB / 1.029 GB, free: 15.68 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 3.683e-05/0.2529, allocations: 18.58 kB / 1.029 GB, free: 15.65 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.345e-05/0.2529, allocations: 4.859 kB / 1.029 GB, free: 15.64 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006346/0.2536, allocations: 465.5 kB / 1.029 GB, free: 15.1 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.932e-05/0.2536, allocations: 34.56 kB / 1.029 GB, free: 15.05 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.2536, allocations: 0 / 1.029 GB, free: 15.05 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3): time 0.0004067/0.254, allocations: 262.4 kB / 1.03 GB, free: 14.75 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.74e-05/0.254, allocations: 51.41 kB / 1.03 GB, free: 14.68 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.74e-05/0.2541, allocations: 105.8 kB / 1.03 GB, free: 14.57 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.217e-05/0.2541, allocations: 25.7 kB / 1.03 GB, free: 14.54 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 2.277e-05/0.2542, allocations: 80.14 kB / 1.03 GB, free: 14.46 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.728e-05/0.2542, allocations: 7.812 kB / 1.03 GB, free: 14.45 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.935e-05/0.2542, allocations: 17.72 kB / 1.03 GB, free: 14.43 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.261e-05/0.2543, allocations: 319 kB / 1.03 GB, free: 14.11 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.714e-05/0.2543, allocations: 8 kB / 1.03 GB, free: 14.1 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.257e-05/0.2544, allocations: 13.72 kB / 1.03 GB, free: 14.08 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.787e-05/0.2544, allocations: 29.66 kB / 1.03 GB, free: 14.04 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.12e-07/0.2544, allocations: 0 / 1.03 GB, free: 14.04 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.908e-05/0.2545, allocations: 57.62 kB / 1.03 GB, free: 13.98 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.439e-05/0.2545, allocations: 12 kB / 1.03 GB, free: 13.97 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.529e-06/0.2545, allocations: 0 / 1.03 GB, free: 13.97 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.232e-05/0.2546, allocations: 4 kB / 1.03 GB, free: 13.96 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.484e-05/0.2546, allocations: 7.984 kB / 1.03 GB, free: 13.96 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.2e-06/0.2546, allocations: 0 / 1.03 GB, free: 13.96 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.019e-05/0.2546, allocations: 8 kB / 1.03 GB, free: 13.95 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.492e-06/0.2547, allocations: 0 / 1.03 GB, free: 13.95 MB / 0.8106 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 7.936e-05/0.2547, allocations: 113.7 kB / 1.03 GB, free: 13.83 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.327e-05/0.2548, allocations: 7.938 kB / 1.03 GB, free: 13.82 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001228/0.2549, allocations: 57.19 kB / 1.03 GB, free: 13.75 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.253e-06/0.2549, allocations: 0 / 1.03 GB, free: 13.75 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.2549, allocations: 0 / 1.03 GB, free: 13.75 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.2549, allocations: 3.984 kB / 1.03 GB, free: 13.75 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.922e-05/0.255, allocations: 149.7 kB / 1.031 GB, free: 13.55 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.255, allocations: 3.984 kB / 1.031 GB, free: 13.55 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.124e-05/0.2551, allocations: 12 kB / 1.031 GB, free: 13.54 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.2551, allocations: 3.938 kB / 1.031 GB, free: 13.53 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.552e-06/0.2551, allocations: 4 kB / 1.031 GB, free: 13.53 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.909e-06/0.2551, allocations: 3.984 kB / 1.031 GB, free: 13.52 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.62e-07/0.2551, allocations: 3.938 kB / 1.031 GB, free: 13.52 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001332/0.2553, allocations: 77.06 kB / 1.031 GB, free: 13.43 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.109e-05/0.2553, allocations: 85.05 kB / 1.031 GB, free: 13.32 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.276e-05/0.2553, allocations: 7.922 kB / 1.031 GB, free: 13.32 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.458e-05/0.2554, allocations: 0 / 1.031 GB, free: 13.32 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.046e-05/0.2554, allocations: 0 / 1.031 GB, free: 13.32 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.069e-06/0.2554, allocations: 8.062 kB / 1.031 GB, free: 13.31 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 2.567e-05/0.2554, allocations: 75.28 kB / 1.031 GB, free: 13.23 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.01e-07/0.2554, allocations: 0 / 1.031 GB, free: 13.23 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0001939/0.2556, allocations: 27.98 kB / 1.031 GB, free: 13.21 MB / 0.8106 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 () * Number of clocked 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 (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.0001617/0.2558, allocations: 123.2 kB / 1.031 GB, free: 13.08 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 7.036e-05/0.2559, allocations: 19.92 kB / 1.031 GB, free: 13.06 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.2559, allocations: 0 / 1.031 GB, free: 13.06 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 1.501e-05/0.2559, allocations: 12.22 kB / 1.031 GB, free: 13.05 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000123/0.256, allocations: 7.938 kB / 1.031 GB, free: 13.04 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001971/0.2562, allocations: 113.9 kB / 1.031 GB, free: 12.9 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001931/0.2564, allocations: 0.6768 MB / 1.032 GB, free: 12.2 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 2.362e-05/0.2565, allocations: 4.328 kB / 1.032 GB, free: 12.2 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.372e-05/0.2565, allocations: 7.438 kB / 1.032 GB, free: 12.19 MB / 0.8106 GB Notification: Performance of SimCode: time 2.21e-07/0.2565, allocations: 0 / 1.032 GB, free: 12.19 MB / 0.8106 GB Notification: Performance of Templates: time 0.002479/0.259, allocations: 0.8841 MB / 1.033 GB, free: 11.31 MB / 0.8106 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 -s cvode -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