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.001211/0.001211, allocations: 110.4 kB / 16.41 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.001205/0.001205, allocations: 189.2 kB / 17.34 MB, free: 5.762 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.294/1.294, allocations: 222.9 MB / 241 MB, free: 15.15 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.399/2.399, allocations: 437.1 MB / 0.7112 GB, free: 4.402 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001878/0.001878, allocations: 71.89 kB / 1.019 GB, free: 9.395 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6917/0.6936, allocations: 151.6 MB / 1.167 GB, free: 3.879 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.001542/0.6952, allocations: 0.5983 MB / 1.168 GB, free: 3.285 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.000656/0.6959, allocations: 338.8 kB / 1.168 GB, free: 2.953 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.464e-05/0.6959, allocations: 0 / 1.168 GB, free: 2.953 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 1.087e-05/0.6959, allocations: 7.875 kB / 1.168 GB, free: 2.945 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 2.258e-05/0.696, allocations: 0 / 1.168 GB, free: 2.945 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004318/0.6964, allocations: 116.7 kB / 1.168 GB, free: 2.832 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 5.25e-05/0.6965, allocations: 11.94 kB / 1.168 GB, free: 2.82 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 3.271e-05/0.6965, allocations: 0 / 1.168 GB, free: 2.82 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 1.934e-05/0.6965, allocations: 7.984 kB / 1.168 GB, free: 2.812 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 4.727e-05/0.6966, allocations: 4 kB / 1.168 GB, free: 2.809 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.114e-05/0.6966, allocations: 0 / 1.168 GB, free: 2.809 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003857/0.697, allocations: 279.6 kB / 1.169 GB, free: 2.535 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 1.588e-05/0.697, allocations: 7.922 kB / 1.169 GB, free: 2.527 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 1.503e-05/0.697, allocations: 4 kB / 1.169 GB, free: 2.523 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.00018/0.6972, allocations: 84.36 kB / 1.169 GB, free: 2.445 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/0.6972, allocations: 7.938 kB / 1.169 GB, free: 2.438 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.714e-06/0.6972, allocations: 0 / 1.169 GB, free: 2.438 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 6.222e-06/0.6973, allocations: 0 / 1.169 GB, free: 2.438 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.000422/0.6977, allocations: 351.2 kB / 1.169 GB, free: 2.043 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.601e-05/0.6977, allocations: 12.03 kB / 1.169 GB, free: 2.031 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.222e-05/0.6978, allocations: 0.9375 kB / 1.169 GB, free: 2.031 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001351/0.6979, allocations: 160.4 kB / 1.169 GB, free: 1.836 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.072e-05/0.6979, allocations: 4.375 kB / 1.169 GB, free: 1.832 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.289e-05/0.698, allocations: 384 / 1.169 GB, free: 1.832 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.368e-05/0.6981, allocations: 42.25 kB / 1.169 GB, free: 1.785 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.055e-06/0.6981, allocations: 192 / 1.169 GB, free: 1.785 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.077e-05/0.6981, allocations: 3.938 kB / 1.169 GB, free: 1.781 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.963e-06/0.6981, allocations: 0 / 1.169 GB, free: 1.781 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.004e-05/0.6981, allocations: 7.938 kB / 1.169 GB, free: 1.773 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001716/0.6983, allocations: 153.7 kB / 1.169 GB, free: 1.574 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 5.007e-05/0.6984, allocations: 22.56 kB / 1.169 GB, free: 1.543 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.908e-05/0.6984, allocations: 11.33 kB / 1.17 GB, free: 1.531 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007319/0.6991, allocations: 461.5 kB / 1.17 GB, free: 0.9883 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.96e-05/0.6992, allocations: 34.56 kB / 1.17 GB, free: 0.9453 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.6992, allocations: 0 / 1.17 GB, free: 0.9453 MB / 0.8887 GB Notification: Performance of matching and sorting (n=3): time 0.0005445/0.6997, allocations: 262.2 kB / 1.17 GB, free: 0.6367 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.812e-05/0.6998, allocations: 55.34 kB / 1.17 GB, free: 0.5703 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.144e-05/0.6999, allocations: 93.86 kB / 1.17 GB, free: 480 kB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.849e-05/0.6999, allocations: 25.7 kB / 1.17 GB, free: 448 kB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 5.201e-05/0.6999, allocations: 92.45 kB / 1.17 GB, free: 352 kB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 2.783e-05/0.7, allocations: 15.84 kB / 1.17 GB, free: 336 kB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.065e-05/0.7, allocations: 13.72 kB / 1.171 GB, free: 316 kB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001559/0.7002, allocations: 314.8 kB / 1.171 GB, free: 15.99 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.06e-05/0.7002, allocations: 11.98 kB / 1.171 GB, free: 15.98 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.155e-05/0.7002, allocations: 17.72 kB / 1.171 GB, free: 15.96 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.13e-05/0.7003, allocations: 29.72 kB / 1.171 GB, free: 15.92 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/0.7003, allocations: 3.938 kB / 1.171 GB, free: 15.92 MB / 0.9044 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.754e-05/0.7004, allocations: 53.62 kB / 1.171 GB, free: 15.86 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.847e-05/0.7004, allocations: 7.938 kB / 1.171 GB, free: 15.85 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.847e-06/0.7004, allocations: 0 / 1.171 GB, free: 15.85 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.353e-05/0.7005, allocations: 4 kB / 1.171 GB, free: 15.85 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.409e-05/0.7005, allocations: 4 kB / 1.171 GB, free: 15.84 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.529e-06/0.7005, allocations: 0 / 1.171 GB, free: 15.84 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.869e-05/0.7005, allocations: 4 kB / 1.171 GB, free: 15.84 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.612e-06/0.7006, allocations: 4.062 kB / 1.171 GB, free: 15.84 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 9.086e-05/0.7007, allocations: 121.8 kB / 1.171 GB, free: 15.71 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.281e-05/0.7007, allocations: 3.938 kB / 1.171 GB, free: 15.7 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001267/0.7008, allocations: 49.19 kB / 1.171 GB, free: 15.64 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.634e-06/0.7008, allocations: 0 / 1.171 GB, free: 15.64 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.416e-06/0.7008, allocations: 0 / 1.171 GB, free: 15.64 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.7008, allocations: 0 / 1.171 GB, free: 15.64 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001287/0.701, allocations: 153.7 kB / 1.171 GB, free: 15.44 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.701, allocations: 4 kB / 1.171 GB, free: 15.44 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.254e-05/0.701, allocations: 11.98 kB / 1.171 GB, free: 15.43 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/0.701, allocations: 3.938 kB / 1.171 GB, free: 15.42 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.833e-06/0.7011, allocations: 0 / 1.171 GB, free: 15.42 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.7011, allocations: 0 / 1.171 GB, free: 15.42 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.7011, allocations: 3.938 kB / 1.171 GB, free: 15.42 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001448/0.7012, allocations: 73.12 kB / 1.171 GB, free: 15.33 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 6.548e-05/0.7013, allocations: 85.09 kB / 1.171 GB, free: 15.23 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.34e-05/0.7013, allocations: 8 kB / 1.171 GB, free: 15.22 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.319e-05/0.7013, allocations: 0 / 1.171 GB, free: 15.22 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.02e-05/0.7014, allocations: 7.922 kB / 1.171 GB, free: 15.21 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.967e-06/0.7014, allocations: 4 kB / 1.171 GB, free: 15.21 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 3.802e-05/0.7014, allocations: 75.28 kB / 1.172 GB, free: 15.13 MB / 0.9044 GB Notification: Performance of sort global known variables: time 9e-08/0.7014, allocations: 0 / 1.172 GB, free: 15.13 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002065/0.7016, allocations: 27.94 kB / 1.172 GB, free: 15.11 MB / 0.9044 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.0002139/0.7019, allocations: 127.3 kB / 1.172 GB, free: 14.97 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 9.729e-05/0.702, allocations: 24.16 kB / 1.172 GB, free: 14.95 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.702, allocations: 0 / 1.172 GB, free: 14.95 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 1.729e-05/0.702, allocations: 11.94 kB / 1.172 GB, free: 14.93 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000134/0.7021, allocations: 2.719 kB / 1.172 GB, free: 14.93 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002472/0.7024, allocations: 109.4 kB / 1.172 GB, free: 14.8 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003141/0.7027, allocations: 0.6768 MB / 1.172 GB, free: 14.1 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 3.141e-05/0.7028, allocations: 12.11 kB / 1.172 GB, free: 14.09 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.621e-05/0.7028, allocations: 7.438 kB / 1.172 GB, free: 14.08 MB / 0.9044 GB Notification: Performance of SimCode: time 2.3e-07/0.7028, allocations: 0 / 1.172 GB, free: 14.08 MB / 0.9044 GB Notification: Performance of Templates: time 0.00326/0.706, allocations: 0.8789 MB / 1.173 GB, free: 13.2 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 -s cvode -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