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.008161/0.008161, allocations: 96.7 kB / 15.73 MB, free: 6.055 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.002072/0.002072, allocations: 193.7 kB / 16.67 MB, free: 5.977 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.474/1.474, allocations: 222.9 MB / 240.4 MB, free: 4.273 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.665/2.665, allocations: 437 MB / 0.7105 GB, free: 4.965 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001258/0.001258, allocations: 67.91 kB / 1.019 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.33/0.3313, allocations: 151.6 MB / 1.167 GB, free: 6.863 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.001954/0.3333, allocations: 0.5961 MB / 1.167 GB, free: 6.266 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0007192/0.334, allocations: 343.1 kB / 1.168 GB, free: 5.93 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.57e-05/0.3341, allocations: 4 kB / 1.168 GB, free: 5.926 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 1.565e-05/0.3341, allocations: 4 kB / 1.168 GB, free: 5.922 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 2.421e-05/0.3341, allocations: 3.938 kB / 1.168 GB, free: 5.918 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005538/0.3347, allocations: 107.7 kB / 1.168 GB, free: 5.812 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 6.219e-05/0.3348, allocations: 7.938 kB / 1.168 GB, free: 5.805 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 5.01e-05/0.3348, allocations: 11.98 kB / 1.168 GB, free: 5.793 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 2.076e-05/0.3348, allocations: 4 kB / 1.168 GB, free: 5.789 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 5.514e-05/0.3349, allocations: 7.984 kB / 1.168 GB, free: 5.781 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.293e-05/0.3349, allocations: 4 kB / 1.168 GB, free: 5.777 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004059/0.3353, allocations: 275.6 kB / 1.168 GB, free: 5.508 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.241e-05/0.3354, allocations: 0 / 1.168 GB, free: 5.508 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 2.585e-05/0.3354, allocations: 3.938 kB / 1.168 GB, free: 5.504 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001999/0.3356, allocations: 99.66 kB / 1.168 GB, free: 5.406 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.3356, allocations: 0 / 1.168 GB, free: 5.406 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.833e-06/0.3356, allocations: 0 / 1.168 GB, free: 5.406 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5e-06/0.3356, allocations: 0 / 1.168 GB, free: 5.406 MB / 0.92 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.0003863/0.336, allocations: 347.3 kB / 1.168 GB, free: 5.016 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.614e-05/0.3361, allocations: 8.031 kB / 1.168 GB, free: 5.008 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.732e-05/0.3361, allocations: 8.875 kB / 1.168 GB, free: 5 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001109/0.3362, allocations: 164.4 kB / 1.169 GB, free: 4.801 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.216e-05/0.3363, allocations: 384 / 1.169 GB, free: 4.801 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.535e-05/0.3363, allocations: 384 / 1.169 GB, free: 4.801 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.985e-05/0.3364, allocations: 38.25 kB / 1.169 GB, free: 4.758 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.045e-06/0.3364, allocations: 192 / 1.169 GB, free: 4.758 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.457e-05/0.3364, allocations: 7.938 kB / 1.169 GB, free: 4.75 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.3364, allocations: 0 / 1.169 GB, free: 4.75 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.334e-05/0.3365, allocations: 0 / 1.169 GB, free: 4.75 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001666/0.3366, allocations: 161.6 kB / 1.169 GB, free: 4.543 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 5.032e-05/0.3367, allocations: 18.61 kB / 1.169 GB, free: 4.516 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.053e-05/0.3367, allocations: 12.92 kB / 1.169 GB, free: 4.5 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007582/0.3375, allocations: 457.5 kB / 1.169 GB, free: 3.961 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.43e-05/0.3375, allocations: 34.56 kB / 1.169 GB, free: 3.918 MB / 0.92 GB Notification: Performance of pre-optimization done (n=2): time 1.112e-06/0.3375, allocations: 0 / 1.169 GB, free: 3.918 MB / 0.92 GB Notification: Performance of matching and sorting (n=3): time 0.0005622/0.3381, allocations: 266.2 kB / 1.17 GB, free: 3.605 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.101e-05/0.3382, allocations: 55.62 kB / 1.17 GB, free: 3.539 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.46e-05/0.3382, allocations: 93.86 kB / 1.17 GB, free: 3.438 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.601e-05/0.3383, allocations: 25.7 kB / 1.17 GB, free: 3.406 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 3.259e-05/0.3383, allocations: 84.12 kB / 1.17 GB, free: 3.32 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.799e-05/0.3383, allocations: 15.91 kB / 1.17 GB, free: 3.305 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.262e-05/0.3384, allocations: 13.72 kB / 1.17 GB, free: 3.285 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001211/0.3385, allocations: 314.8 kB / 1.17 GB, free: 2.969 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.155e-05/0.3385, allocations: 12.05 kB / 1.17 GB, free: 2.957 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.849e-05/0.3386, allocations: 21.72 kB / 1.17 GB, free: 2.93 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.843e-05/0.3386, allocations: 21.72 kB / 1.17 GB, free: 2.902 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.3386, allocations: 0 / 1.17 GB, free: 2.902 MB / 0.92 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000106/0.3387, allocations: 53.62 kB / 1.17 GB, free: 2.844 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.739e-05/0.3387, allocations: 11.94 kB / 1.17 GB, free: 2.832 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.3388, allocations: 0 / 1.17 GB, free: 2.832 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.189e-05/0.3388, allocations: 4.062 kB / 1.17 GB, free: 2.828 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.331e-05/0.3388, allocations: 8 kB / 1.17 GB, free: 2.82 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.12e-06/0.3389, allocations: 0 / 1.17 GB, free: 2.82 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.22e-05/0.3389, allocations: 0 / 1.17 GB, free: 2.82 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.003e-06/0.3389, allocations: 3.938 kB / 1.17 GB, free: 2.816 MB / 0.92 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 8.601e-05/0.339, allocations: 117.8 kB / 1.17 GB, free: 2.691 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.66e-05/0.339, allocations: 3.938 kB / 1.17 GB, free: 2.688 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001336/0.3392, allocations: 57.12 kB / 1.17 GB, free: 2.621 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.881e-06/0.3392, allocations: 8 kB / 1.17 GB, free: 2.613 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.888e-06/0.3392, allocations: 0 / 1.17 GB, free: 2.613 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.304e-06/0.3392, allocations: 0 / 1.17 GB, free: 2.613 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001093/0.3393, allocations: 153.7 kB / 1.171 GB, free: 2.414 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.3393, allocations: 0 / 1.171 GB, free: 2.414 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.484e-05/0.3394, allocations: 7.984 kB / 1.171 GB, free: 2.406 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.927e-06/0.3394, allocations: 3.938 kB / 1.171 GB, free: 2.402 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.023e-06/0.3394, allocations: 0 / 1.171 GB, free: 2.402 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.3394, allocations: 0 / 1.171 GB, free: 2.402 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.3394, allocations: 4 kB / 1.171 GB, free: 2.398 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001394/0.3395, allocations: 81.06 kB / 1.171 GB, free: 2.301 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 4.725e-05/0.3396, allocations: 81.06 kB / 1.171 GB, free: 2.203 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.409e-05/0.3396, allocations: 3.938 kB / 1.171 GB, free: 2.199 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.155e-05/0.3397, allocations: 8.016 kB / 1.171 GB, free: 2.191 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.394e-05/0.3397, allocations: 3.938 kB / 1.171 GB, free: 2.188 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.469e-06/0.3397, allocations: 0 / 1.171 GB, free: 2.188 MB / 0.92 GB Notification: Performance of sorting global known variables: time 3.497e-05/0.3397, allocations: 87.34 kB / 1.171 GB, free: 2.102 MB / 0.92 GB Notification: Performance of sort global known variables: time 2.7e-07/0.3397, allocations: 0 / 1.171 GB, free: 2.102 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002178/0.34, allocations: 23.94 kB / 1.171 GB, free: 2.078 MB / 0.92 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.000221/0.3402, allocations: 127.2 kB / 1.171 GB, free: 1.941 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 9.067e-05/0.3403, allocations: 19.92 kB / 1.171 GB, free: 1.922 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.3403, allocations: 4 kB / 1.171 GB, free: 1.918 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 1.598e-05/0.3403, allocations: 4 kB / 1.171 GB, free: 1.914 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001435/0.3405, allocations: 4 kB / 1.171 GB, free: 1.91 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002487/0.3407, allocations: 109.7 kB / 1.171 GB, free: 1.777 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002326/0.341, allocations: 0.6768 MB / 1.172 GB, free: 1.074 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 2.592e-05/0.341, allocations: 0 / 1.172 GB, free: 1.074 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.301e-05/0.3411, allocations: 11.44 kB / 1.172 GB, free: 1.062 MB / 0.92 GB Notification: Performance of SimCode: time 1.623e-06/0.3411, allocations: 0 / 1.172 GB, free: 1.062 MB / 0.92 GB Notification: Performance of Templates: time 0.003133/0.3442, allocations: 0.8818 MB / 1.173 GB, free: 188 kB / 0.92 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