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.001153/0.001153, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001202/0.001201, allocations: 193.7 kB / 16.25 MB, free: 6.629 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.372/1.372, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.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.605/2.605, allocations: 437 MB / 0.71 GB, free: 5.27 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001471/0.001471, allocations: 59.91 kB / 0.8687 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6927/0.6942, allocations: 151.6 MB / 1.017 GB, free: 2.723 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.001995/0.6962, allocations: 0.6702 MB / 1.017 GB, free: 2.051 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0006922/0.6969, allocations: 346.8 kB / 1.018 GB, free: 1.711 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.108e-05/0.6969, allocations: 0 / 1.018 GB, free: 1.711 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 1.569e-05/0.697, allocations: 0 / 1.018 GB, free: 1.711 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 2.264e-05/0.697, allocations: 0 / 1.018 GB, free: 1.711 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.00049/0.6975, allocations: 99.84 kB / 1.018 GB, free: 1.613 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 4.991e-05/0.6976, allocations: 15.92 kB / 1.018 GB, free: 1.598 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 3.595e-05/0.6976, allocations: 0 / 1.018 GB, free: 1.598 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 1.816e-05/0.6976, allocations: 4 kB / 1.018 GB, free: 1.594 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 4.409e-05/0.6977, allocations: 3.938 kB / 1.018 GB, free: 1.59 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.129e-05/0.6977, allocations: 0 / 1.018 GB, free: 1.59 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003697/0.6981, allocations: 275.6 kB / 1.018 GB, free: 1.32 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.507e-05/0.6981, allocations: 11.98 kB / 1.018 GB, free: 1.309 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 1.887e-05/0.6981, allocations: 0 / 1.018 GB, free: 1.309 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.000197/0.6983, allocations: 95.78 kB / 1.018 GB, free: 1.215 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.6983, allocations: 0 / 1.018 GB, free: 1.215 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.222e-06/0.6983, allocations: 0 / 1.018 GB, free: 1.215 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 6.151e-06/0.6983, allocations: 4 kB / 1.018 GB, free: 1.211 MB / 0.7637 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.0003875/0.6987, allocations: 339.5 kB / 1.019 GB, free: 0.8281 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.641e-05/0.6988, allocations: 12.03 kB / 1.019 GB, free: 0.8164 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.737e-05/0.6988, allocations: 0.9375 kB / 1.019 GB, free: 0.8164 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001083/0.699, allocations: 162.4 kB / 1.019 GB, free: 0.6211 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.245e-05/0.699, allocations: 12.38 kB / 1.019 GB, free: 0.6094 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.243e-05/0.699, allocations: 384 / 1.019 GB, free: 0.6094 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001013/0.6991, allocations: 34.25 kB / 1.019 GB, free: 0.5703 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.961e-06/0.6991, allocations: 192 / 1.019 GB, free: 0.5703 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.046e-05/0.6991, allocations: 3.938 kB / 1.019 GB, free: 0.5664 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.082e-06/0.6992, allocations: 0 / 1.019 GB, free: 0.5664 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.071e-05/0.6992, allocations: 7.938 kB / 1.019 GB, free: 0.5586 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001732/0.6994, allocations: 157.6 kB / 1.019 GB, free: 364 kB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 5.365e-05/0.6994, allocations: 30.59 kB / 1.019 GB, free: 324 kB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.451e-05/0.6995, allocations: 4.859 kB / 1.019 GB, free: 316 kB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007781/0.7002, allocations: 461.5 kB / 1.019 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.539e-05/0.7003, allocations: 30.56 kB / 1.019 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/0.7003, allocations: 4 kB / 1.019 GB, free: 15.72 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.0005505/0.7008, allocations: 258.2 kB / 1.02 GB, free: 15.42 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.408e-05/0.7009, allocations: 55.34 kB / 1.02 GB, free: 15.35 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.549e-05/0.701, allocations: 102.1 kB / 1.02 GB, free: 15.24 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.368e-05/0.701, allocations: 29.64 kB / 1.02 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.927e-05/0.701, allocations: 84.14 kB / 1.02 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.209e-05/0.7011, allocations: 7.844 kB / 1.02 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.257e-05/0.7011, allocations: 17.72 kB / 1.02 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001063/0.7012, allocations: 318.8 kB / 1.02 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.615e-05/0.7012, allocations: 0 / 1.02 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.023e-05/0.7013, allocations: 25.84 kB / 1.02 GB, free: 14.74 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.436e-05/0.7013, allocations: 25.72 kB / 1.02 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.92e-07/0.7013, allocations: 0 / 1.02 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001093/0.7014, allocations: 57.53 kB / 1.02 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.734e-05/0.7015, allocations: 9.344 kB / 1.02 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.593e-06/0.7015, allocations: 4 kB / 1.02 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.064e-05/0.7015, allocations: 0 / 1.02 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.783e-05/0.7016, allocations: 4 kB / 1.02 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.793e-06/0.7016, allocations: 8.047 kB / 1.02 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.112e-05/0.7016, allocations: 8 kB / 1.02 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.292e-06/0.7016, allocations: 0 / 1.02 GB, free: 14.61 MB / 0.7794 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.672e-05/0.7017, allocations: 118.3 kB / 1.021 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.687e-05/0.7017, allocations: 3.938 kB / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001373/0.7019, allocations: 49.19 kB / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.7019, allocations: 0 / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/0.7019, allocations: 4 kB / 1.021 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.429e-06/0.7019, allocations: 3.984 kB / 1.021 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001108/0.702, allocations: 149.7 kB / 1.021 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.574e-06/0.702, allocations: 3.984 kB / 1.021 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.577e-05/0.7021, allocations: 8 kB / 1.021 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.769e-06/0.7021, allocations: 3.938 kB / 1.021 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.312e-06/0.7021, allocations: 0 / 1.021 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.953e-06/0.7021, allocations: 3.938 kB / 1.021 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.205e-06/0.7021, allocations: 3.938 kB / 1.021 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001448/0.7023, allocations: 77.12 kB / 1.021 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.263e-05/0.7023, allocations: 81.14 kB / 1.021 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.531e-05/0.7023, allocations: 7.922 kB / 1.021 GB, free: 14 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.036e-05/0.7024, allocations: 0 / 1.021 GB, free: 14 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.671e-05/0.7024, allocations: 4 kB / 1.021 GB, free: 14 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.731e-05/0.7024, allocations: 4 kB / 1.021 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.166e-05/0.7025, allocations: 79.22 kB / 1.021 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.41e-07/0.7025, allocations: 0 / 1.021 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002175/0.7027, allocations: 28.14 kB / 1.021 GB, free: 13.89 MB / 0.7794 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.0002027/0.7029, allocations: 119.2 kB / 1.021 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 9.637e-05/0.703, allocations: 23.92 kB / 1.021 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.703, allocations: 0 / 1.021 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.966e-05/0.703, allocations: 8.234 kB / 1.021 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001472/0.7032, allocations: 5.375 kB / 1.021 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002317/0.7034, allocations: 117.7 kB / 1.021 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002529/0.7037, allocations: 0.6806 MB / 1.022 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.293e-05/0.7037, allocations: 4 kB / 1.022 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.256e-05/0.7038, allocations: 11.44 kB / 1.022 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of SimCode: time 2.2e-07/0.7038, allocations: 3.938 kB / 1.022 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of Templates: time 0.003073/0.7068, allocations: 0.8743 MB / 1.023 GB, free: 11.99 MB / 0.7794 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/jenkins/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