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.001131/0.001131, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.00118/0.00118, allocations: 197.9 kB / 16.14 MB, free: 6.719 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.441/1.441, allocations: 222.9 MB / 239.8 MB, free: 4.605 MB / 190.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.455/2.455, allocations: 390.2 MB / 0.6642 GB, free: 0.5781 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001248/0.001248, allocations: 67.89 kB / 0.8119 GB, free: 14.84 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8798/0.881, allocations: 140.4 MB / 0.9489 GB, free: 9.195 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.002321/0.8834, allocations: 0.6604 MB / 0.9496 GB, free: 8.688 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0008222/0.8843, allocations: 370.7 kB / 0.9499 GB, free: 8.414 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.603e-05/0.8843, allocations: 0 / 0.9499 GB, free: 8.414 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.779e-05/0.8843, allocations: 3.938 kB / 0.9499 GB, free: 8.41 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 2.31e-05/0.8844, allocations: 0 / 0.9499 GB, free: 8.41 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003872/0.8848, allocations: 73.09 kB / 0.95 GB, free: 8.363 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.243e-05/0.8848, allocations: 12.3 kB / 0.95 GB, free: 8.355 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 5.505e-05/0.8849, allocations: 1.531 kB / 0.95 GB, free: 8.355 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.657e-05/0.8849, allocations: 10.91 kB / 0.95 GB, free: 8.348 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.885e-05/0.885, allocations: 5.562 kB / 0.95 GB, free: 8.344 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.632e-05/0.885, allocations: 1.562 kB / 0.95 GB, free: 8.344 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004083/0.8854, allocations: 273.6 kB / 0.9503 GB, free: 8.191 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.424e-05/0.8854, allocations: 1.375 kB / 0.9503 GB, free: 8.191 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.859e-05/0.8855, allocations: 5.359 kB / 0.9503 GB, free: 8.188 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002052/0.8857, allocations: 96.66 kB / 0.9504 GB, free: 8.121 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 7.284e-06/0.8857, allocations: 0 / 0.9504 GB, free: 8.121 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.472e-06/0.8857, allocations: 0 / 0.9504 GB, free: 8.121 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.412e-06/0.8857, allocations: 4 kB / 0.9504 GB, free: 8.117 MB / 0.7169 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.000384/0.8861, allocations: 339.8 kB / 0.9507 GB, free: 7.746 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.106e-05/0.8862, allocations: 9.625 kB / 0.9507 GB, free: 7.746 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.546e-05/0.8862, allocations: 2.312 kB / 0.9507 GB, free: 7.746 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.806e-05/0.8864, allocations: 168.3 kB / 0.9509 GB, free: 7.543 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.559e-05/0.8864, allocations: 1.75 kB / 0.9509 GB, free: 7.543 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.1e-05/0.8864, allocations: 5.75 kB / 0.9509 GB, free: 7.539 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001167/0.8865, allocations: 34.38 kB / 0.9509 GB, free: 7.504 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.005e-06/0.8865, allocations: 4.188 kB / 0.9509 GB, free: 7.5 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.467e-05/0.8866, allocations: 5.312 kB / 0.9509 GB, free: 7.496 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.59e-06/0.8866, allocations: 0 / 0.9509 GB, free: 7.496 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.402e-05/0.8866, allocations: 2.75 kB / 0.9509 GB, free: 7.496 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001585/0.8868, allocations: 152.4 kB / 0.9511 GB, free: 7.301 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.985e-05/0.8868, allocations: 24.02 kB / 0.9511 GB, free: 7.273 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.237e-05/0.8869, allocations: 10.23 kB / 0.9511 GB, free: 7.262 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006901/0.8876, allocations: 460.2 kB / 0.9516 GB, free: 6.766 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.251e-05/0.8876, allocations: 31.94 kB / 0.9516 GB, free: 6.727 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 2.515e-06/0.8876, allocations: 0 / 0.9516 GB, free: 6.727 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0005292/0.8881, allocations: 265 kB / 0.9518 GB, free: 6.445 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.433e-05/0.8882, allocations: 52.78 kB / 0.9519 GB, free: 6.383 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.129e-05/0.8882, allocations: 96.59 kB / 0.952 GB, free: 6.281 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.616e-06/0.8882, allocations: 25.7 kB / 0.952 GB, free: 6.25 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.255e-05/0.8883, allocations: 81.52 kB / 0.9521 GB, free: 6.168 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.567e-05/0.8883, allocations: 13.08 kB / 0.9521 GB, free: 6.156 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.009e-05/0.8883, allocations: 18.19 kB / 0.9521 GB, free: 6.137 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.507e-05/0.8884, allocations: 322.8 kB / 0.9524 GB, free: 5.812 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.823e-05/0.8884, allocations: 4.875 kB / 0.9524 GB, free: 5.812 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.659e-05/0.8885, allocations: 18.22 kB / 0.9524 GB, free: 5.793 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.473e-05/0.8885, allocations: 26.28 kB / 0.9525 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.8885, allocations: 5.281 kB / 0.9525 GB, free: 5.766 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.304e-05/0.8886, allocations: 52.94 kB / 0.9525 GB, free: 5.723 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.803e-05/0.8886, allocations: 8.938 kB / 0.9525 GB, free: 5.719 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.229e-06/0.8886, allocations: 1.562 kB / 0.9525 GB, free: 5.719 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.276e-05/0.8887, allocations: 3.938 kB / 0.9525 GB, free: 5.715 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.194e-05/0.8887, allocations: 10.48 kB / 0.9525 GB, free: 5.711 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.035e-06/0.8887, allocations: 1.312 kB / 0.9525 GB, free: 5.711 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.833e-05/0.8888, allocations: 0 / 0.9525 GB, free: 5.711 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.357e-06/0.8888, allocations: 1.438 kB / 0.9525 GB, free: 5.711 MB / 0.7169 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 6.051e-05/0.8888, allocations: 120.8 kB / 0.9527 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.356e-05/0.8889, allocations: 9.156 kB / 0.9527 GB, free: 5.578 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001223/0.889, allocations: 53.09 kB / 0.9527 GB, free: 5.527 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.889, allocations: 4 kB / 0.9527 GB, free: 5.523 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.889, allocations: 1.094 kB / 0.9527 GB, free: 5.523 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.498e-06/0.889, allocations: 3.984 kB / 0.9527 GB, free: 5.52 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.769e-05/0.8891, allocations: 154 kB / 0.9529 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.8891, allocations: 0 / 0.9529 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.638e-05/0.8892, allocations: 9.594 kB / 0.9529 GB, free: 5.32 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.787e-06/0.8892, allocations: 3.938 kB / 0.9529 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.252e-06/0.8892, allocations: 0 / 0.9529 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.8892, allocations: 1.469 kB / 0.9529 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.8892, allocations: 0 / 0.9529 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001451/0.8894, allocations: 82.48 kB / 0.953 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.555e-05/0.8894, allocations: 82.12 kB / 0.9531 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.773e-05/0.8894, allocations: 5.188 kB / 0.9531 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.724e-05/0.8895, allocations: 8 kB / 0.9531 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.942e-05/0.8895, allocations: 2.625 kB / 0.9531 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.59e-06/0.8895, allocations: 1.5 kB / 0.9531 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.151e-05/0.8895, allocations: 80.47 kB / 0.9531 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.21e-07/0.8895, allocations: 0 / 0.9531 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000229/0.8898, allocations: 27.02 kB / 0.9532 GB, free: 5.039 MB / 0.7169 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.0002506/0.89, allocations: 118.5 kB / 0.9533 GB, free: 4.949 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001117/0.8901, allocations: 23.77 kB / 0.9533 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.8902, allocations: 0 / 0.9533 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.82e-05/0.8902, allocations: 9.844 kB / 0.9533 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001609/0.8904, allocations: 3.062 kB / 0.9533 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002922/0.8906, allocations: 107.9 kB / 0.9534 GB, free: 4.82 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001602/0.8908, allocations: 0.6778 MB / 0.9541 GB, free: 4.121 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.46e-05/0.8909, allocations: 11.47 kB / 0.9541 GB, free: 4.113 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.801e-05/0.8909, allocations: 12.78 kB / 0.9541 GB, free: 4.102 MB / 0.7169 GB Notification: Performance of SimCode: time 3e-07/0.8909, allocations: 0 / 0.9541 GB, free: 4.102 MB / 0.7169 GB Notification: Performance of Templates: time 0.003425/0.8943, allocations: 0.8615 MB / 0.9549 GB, free: 3.66 MB / 0.7169 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