Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.009413/0.009413, allocations: 100.8 kB / 15.73 MB, free: 6.035 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.00218/0.00218, allocations: 198.1 kB / 16.68 MB, free: 5.953 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.406/1.406, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.224/2.224, allocations: 390.2 MB / 0.6648 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00124/0.00124, allocations: 63.89 kB / 0.9509 GB, free: 7.625 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.089/1.09, allocations: 140.4 MB / 1.088 GB, free: 5.531 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.001776/1.092, allocations: 0.5953 MB / 1.089 GB, free: 5.164 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0007499/1.093, allocations: 347 kB / 1.089 GB, free: 4.941 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.734e-05/1.093, allocations: 0 / 1.089 GB, free: 4.941 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.044e-05/1.093, allocations: 7.938 kB / 1.089 GB, free: 4.934 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 2.255e-05/1.093, allocations: 1.344 kB / 1.089 GB, free: 4.934 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005467/1.094, allocations: 108.2 kB / 1.089 GB, free: 4.898 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 6.499e-05/1.094, allocations: 6.031 kB / 1.089 GB, free: 4.898 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 5.485e-05/1.094, allocations: 5.953 kB / 1.089 GB, free: 4.895 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 2.532e-05/1.094, allocations: 11.31 kB / 1.089 GB, free: 4.887 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 6.279e-05/1.094, allocations: 3.25 kB / 1.089 GB, free: 4.887 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.531e-05/1.094, allocations: 5.188 kB / 1.089 GB, free: 4.883 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004904/1.094, allocations: 273.6 kB / 1.089 GB, free: 4.816 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.721e-05/1.094, allocations: 5.641 kB / 1.089 GB, free: 4.812 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.209e-05/1.094, allocations: 5.859 kB / 1.089 GB, free: 4.809 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002413/1.095, allocations: 94.47 kB / 1.089 GB, free: 4.777 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/1.095, allocations: 1.094 kB / 1.089 GB, free: 4.777 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.114e-06/1.095, allocations: 0 / 1.089 GB, free: 4.777 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.733e-06/1.095, allocations: 0 / 1.089 GB, free: 4.777 MB / 0.8575 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.0004191/1.095, allocations: 336.3 kB / 1.09 GB, free: 4.414 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.319e-05/1.095, allocations: 9.375 kB / 1.09 GB, free: 4.414 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.146e-05/1.095, allocations: 6.969 kB / 1.09 GB, free: 4.41 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.405e-05/1.095, allocations: 162.2 kB / 1.09 GB, free: 4.215 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.594e-05/1.095, allocations: 5.219 kB / 1.09 GB, free: 4.211 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.796e-05/1.095, allocations: 1.469 kB / 1.09 GB, free: 4.211 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001043/1.095, allocations: 37.03 kB / 1.09 GB, free: 4.176 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.197e-06/1.095, allocations: 1.312 kB / 1.09 GB, free: 4.176 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.225e-05/1.095, allocations: 3.938 kB / 1.09 GB, free: 4.172 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.492e-06/1.095, allocations: 1.062 kB / 1.09 GB, free: 4.172 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.823e-05/1.095, allocations: 10.64 kB / 1.09 GB, free: 4.164 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000164/1.096, allocations: 156.3 kB / 1.09 GB, free: 3.969 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 6.065e-05/1.096, allocations: 20.36 kB / 1.09 GB, free: 3.945 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.238e-05/1.096, allocations: 10.98 kB / 1.09 GB, free: 3.934 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007592/1.096, allocations: 460.2 kB / 1.091 GB, free: 3.461 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.434e-05/1.097, allocations: 31.28 kB / 1.091 GB, free: 3.422 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.153e-06/1.097, allocations: 0 / 1.091 GB, free: 3.422 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3): time 0.0004967/1.097, allocations: 263.5 kB / 1.091 GB, free: 3.152 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.82e-05/1.097, allocations: 57.47 kB / 1.091 GB, free: 3.086 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.921e-05/1.097, allocations: 97.42 kB / 1.091 GB, free: 2.984 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 8.907e-06/1.097, allocations: 26.55 kB / 1.091 GB, free: 2.953 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 2.023e-05/1.097, allocations: 85.27 kB / 1.091 GB, free: 2.867 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.158e-05/1.097, allocations: 10.02 kB / 1.091 GB, free: 2.859 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.844e-05/1.097, allocations: 18.83 kB / 1.091 GB, free: 2.84 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.384e-05/1.097, allocations: 312.2 kB / 1.091 GB, free: 2.527 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.959e-05/1.097, allocations: 9.297 kB / 1.091 GB, free: 2.523 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.731e-05/1.097, allocations: 19.97 kB / 1.091 GB, free: 2.504 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.437e-05/1.097, allocations: 24.17 kB / 1.091 GB, free: 2.484 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.01e-07/1.097, allocations: 0 / 1.091 GB, free: 2.484 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.142e-05/1.097, allocations: 52.73 kB / 1.092 GB, free: 2.445 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.614e-05/1.097, allocations: 9.156 kB / 1.092 GB, free: 2.441 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/1.098, allocations: 5.031 kB / 1.092 GB, free: 2.438 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.637e-05/1.098, allocations: 1.688 kB / 1.092 GB, free: 2.438 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.957e-05/1.098, allocations: 6.078 kB / 1.092 GB, free: 2.438 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.72e-06/1.098, allocations: 1.984 kB / 1.092 GB, free: 2.438 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.916e-05/1.098, allocations: 1.094 kB / 1.092 GB, free: 2.438 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.854e-06/1.098, allocations: 1.156 kB / 1.092 GB, free: 2.438 MB / 0.8575 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 5.047e-05/1.098, allocations: 120 kB / 1.092 GB, free: 2.312 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.298e-05/1.098, allocations: 6.625 kB / 1.092 GB, free: 2.309 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001232/1.098, allocations: 54.89 kB / 1.092 GB, free: 2.262 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.454e-06/1.098, allocations: 5.062 kB / 1.092 GB, free: 2.258 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/1.098, allocations: 0 / 1.092 GB, free: 2.258 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/1.098, allocations: 0.6094 kB / 1.092 GB, free: 2.258 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.954e-05/1.098, allocations: 153.3 kB / 1.092 GB, free: 2.066 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/1.098, allocations: 0.7969 kB / 1.092 GB, free: 2.066 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.957e-05/1.098, allocations: 5.484 kB / 1.092 GB, free: 2.066 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.013e-06/1.098, allocations: 5.438 kB / 1.092 GB, free: 2.062 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.953e-06/1.098, allocations: 0.5156 kB / 1.092 GB, free: 2.062 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.025e-06/1.098, allocations: 5.438 kB / 1.092 GB, free: 2.059 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.82e-07/1.098, allocations: 4 kB / 1.092 GB, free: 2.055 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000139/1.098, allocations: 78.8 kB / 1.092 GB, free: 1.98 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.3e-05/1.098, allocations: 83.83 kB / 1.092 GB, free: 1.883 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.449e-05/1.098, allocations: 4.75 kB / 1.092 GB, free: 1.879 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.69e-05/1.098, allocations: 1.25 kB / 1.092 GB, free: 1.879 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.619e-05/1.098, allocations: 2.703 kB / 1.092 GB, free: 1.879 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.859e-06/1.098, allocations: 1.5 kB / 1.092 GB, free: 1.879 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 2.123e-05/1.098, allocations: 86.2 kB / 1.092 GB, free: 1.797 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/1.098, allocations: 0 / 1.092 GB, free: 1.797 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002266/1.099, allocations: 24.22 kB / 1.092 GB, free: 1.793 MB / 0.8575 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.0002251/1.099, allocations: 122.9 kB / 1.092 GB, free: 1.699 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001025/1.099, allocations: 25.33 kB / 1.092 GB, free: 1.688 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.506e-06/1.099, allocations: 1.125 kB / 1.092 GB, free: 1.688 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 1.938e-05/1.099, allocations: 6.516 kB / 1.092 GB, free: 1.688 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001526/1.099, allocations: 10.23 kB / 1.092 GB, free: 1.68 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002539/1.099, allocations: 110.6 kB / 1.092 GB, free: 1.57 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002646/1.1, allocations: 0.6756 MB / 1.093 GB, free: 16.88 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 3.407e-05/1.1, allocations: 8.562 kB / 1.093 GB, free: 16.87 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.742e-05/1.1, allocations: 9.266 kB / 1.093 GB, free: 16.86 MB / 0.8731 GB Notification: Performance of SimCode: time 1.91e-07/1.1, allocations: 0 / 1.093 GB, free: 16.86 MB / 0.8731 GB Notification: Performance of Templates: time 0.003482/1.103, allocations: 0.8755 MB / 1.094 GB, free: 16.77 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.makefile (rm -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.sim & ./Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches