Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.RegNonZeroPower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower") translateModel(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008354/0.0008354, allocations: 98.48 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001056/0.001056, allocations: 187 kB / 16.92 MB, free: 6.75 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.426/1.426, allocations: 223.3 MB / 241 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.497/2.497, allocations: 390.9 MB / 0.667 GB, free: 2.359 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003452/0.0003453, allocations: 8 kB / 0.8166 GB, free: 13.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.71/0.7103, allocations: 142.4 MB / 0.9557 GB, free: 7.684 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.0006768/0.711, allocations: 323.5 kB / 0.956 GB, free: 7.438 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0006669/0.7117, allocations: 337.2 kB / 0.9563 GB, free: 7.191 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.067e-05/0.7117, allocations: 0 / 0.9563 GB, free: 7.191 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.549e-05/0.7118, allocations: 0 / 0.9563 GB, free: 7.191 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.959e-06/0.7118, allocations: 1.031 kB / 0.9563 GB, free: 7.191 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003409/0.7121, allocations: 71.47 kB / 0.9564 GB, free: 7.145 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.269e-05/0.7122, allocations: 1.312 kB / 0.9564 GB, free: 7.145 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.08e-05/0.7122, allocations: 4.969 kB / 0.9564 GB, free: 7.141 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 1.409e-05/0.7122, allocations: 3.938 kB / 0.9564 GB, free: 7.137 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 2.792e-05/0.7123, allocations: 5.016 kB / 0.9564 GB, free: 7.133 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.117e-05/0.7123, allocations: 0 / 0.9564 GB, free: 7.133 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003755/0.7127, allocations: 278.3 kB / 0.9567 GB, free: 6.977 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 9.257e-06/0.7127, allocations: 0 / 0.9567 GB, free: 6.977 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.393e-05/0.7127, allocations: 26.92 kB / 0.9567 GB, free: 6.945 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001169/0.7129, allocations: 54.62 kB / 0.9568 GB, free: 6.91 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.7129, allocations: 5.219 kB / 0.9568 GB, free: 6.906 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.733e-06/0.7129, allocations: 0 / 0.9568 GB, free: 6.906 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.689e-06/0.7129, allocations: 0 / 0.9568 GB, free: 6.906 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002497/0.7131, allocations: 330.1 kB / 0.9571 GB, free: 6.539 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.314e-05/0.7132, allocations: 9.688 kB / 0.9571 GB, free: 6.539 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.626e-05/0.7133, allocations: 1.906 kB / 0.9571 GB, free: 6.539 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.099e-05/0.7133, allocations: 164.3 kB / 0.9573 GB, free: 6.34 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.17e-05/0.7134, allocations: 1.5 kB / 0.9573 GB, free: 6.34 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.298e-06/0.7134, allocations: 384 / 0.9573 GB, free: 6.34 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.156e-05/0.7135, allocations: 36.62 kB / 0.9573 GB, free: 6.301 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.803e-06/0.7135, allocations: 192 / 0.9573 GB, free: 6.301 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.12e-05/0.7135, allocations: 3.938 kB / 0.9573 GB, free: 6.297 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.905e-06/0.7135, allocations: 1.156 kB / 0.9573 GB, free: 6.297 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.172e-05/0.7135, allocations: 1.031 kB / 0.9573 GB, free: 6.297 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001154/0.7137, allocations: 147.7 kB / 0.9574 GB, free: 6.105 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 3.853e-05/0.7137, allocations: 23.73 kB / 0.9575 GB, free: 6.074 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.532e-05/0.7137, allocations: 6.047 kB / 0.9575 GB, free: 6.066 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004247/0.7141, allocations: 433 kB / 0.9579 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.161e-05/0.7142, allocations: 31.62 kB / 0.9579 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=1): time 1.162e-06/0.7142, allocations: 0 / 0.9579 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1): time 0.000165/0.7144, allocations: 43.72 kB / 0.958 GB, free: 5.492 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.085e-05/0.7144, allocations: 55.53 kB / 0.958 GB, free: 5.426 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.021e-05/0.7144, allocations: 89.86 kB / 0.9581 GB, free: 5.328 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.227e-06/0.7144, allocations: 27.33 kB / 0.9581 GB, free: 5.297 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.449e-05/0.7144, allocations: 84.08 kB / 0.9582 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.941e-05/0.7145, allocations: 3.906 kB / 0.9582 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.844e-05/0.7145, allocations: 9.719 kB / 0.9582 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.831e-05/0.7146, allocations: 312 kB / 0.9585 GB, free: 4.879 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.277e-06/0.7146, allocations: 1.438 kB / 0.9585 GB, free: 4.879 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.592e-06/0.7146, allocations: 1.344 kB / 0.9585 GB, free: 4.879 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.659e-05/0.7146, allocations: 19.38 kB / 0.9585 GB, free: 4.859 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.7146, allocations: 0 / 0.9585 GB, free: 4.859 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.034e-05/0.7147, allocations: 32.11 kB / 0.9586 GB, free: 4.828 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.559e-05/0.7147, allocations: 4.625 kB / 0.9586 GB, free: 4.828 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.7147, allocations: 3.938 kB / 0.9586 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.525e-05/0.7148, allocations: 5.062 kB / 0.9586 GB, free: 4.82 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.63e-05/0.7148, allocations: 5 kB / 0.9586 GB, free: 4.816 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.6e-06/0.7148, allocations: 0.9688 kB / 0.9586 GB, free: 4.816 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.051e-05/0.7148, allocations: 4.031 kB / 0.9586 GB, free: 4.812 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.761e-06/0.7148, allocations: 1.062 kB / 0.9586 GB, free: 4.812 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (1): * Single equations (assignments): 1 * 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.321e-05/0.7149, allocations: 110.9 kB / 0.9587 GB, free: 4.695 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.072e-05/0.7149, allocations: 0.7812 kB / 0.9587 GB, free: 4.695 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.771e-05/0.715, allocations: 42.05 kB / 0.9587 GB, free: 4.652 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.373e-06/0.715, allocations: 0 / 0.9587 GB, free: 4.652 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.715, allocations: 1.156 kB / 0.9587 GB, free: 4.652 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.715, allocations: 0 / 0.9587 GB, free: 4.652 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.881e-05/0.7151, allocations: 151.1 kB / 0.9589 GB, free: 4.457 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.7151, allocations: 0 / 0.9589 GB, free: 4.457 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.29e-05/0.7151, allocations: 2.25 kB / 0.9589 GB, free: 4.457 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.343e-06/0.7151, allocations: 3.938 kB / 0.9589 GB, free: 4.453 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.803e-06/0.7151, allocations: 4.875 kB / 0.9589 GB, free: 4.449 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.001e-06/0.7152, allocations: 0 / 0.9589 GB, free: 4.449 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.7152, allocations: 8.812 kB / 0.9589 GB, free: 4.441 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.559e-05/0.7152, allocations: 59.56 kB / 0.959 GB, free: 4.371 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.664e-05/0.7153, allocations: 81.14 kB / 0.959 GB, free: 4.273 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.648e-06/0.7153, allocations: 5 kB / 0.959 GB, free: 4.27 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.933e-06/0.7153, allocations: 0 / 0.959 GB, free: 4.27 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.788e-06/0.7153, allocations: 1.125 kB / 0.959 GB, free: 4.27 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.156e-06/0.7153, allocations: 0.9688 kB / 0.959 GB, free: 4.27 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.248e-05/0.7153, allocations: 79.28 kB / 0.9591 GB, free: 4.191 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.7153, allocations: 0 / 0.9591 GB, free: 4.191 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000193/0.7155, allocations: 8.938 kB / 0.9591 GB, free: 4.191 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (1): * Single equations (assignments): 1 * 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.0001742/0.7157, allocations: 118.8 kB / 0.9592 GB, free: 4.094 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 6.583e-05/0.7158, allocations: 7.188 kB / 0.9592 GB, free: 4.09 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.7158, allocations: 0 / 0.9592 GB, free: 4.09 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 7.544e-06/0.7158, allocations: 6.125 kB / 0.9593 GB, free: 4.086 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001282/0.7159, allocations: 1.125 kB / 0.9593 GB, free: 4.086 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001716/0.7161, allocations: 98.33 kB / 0.9593 GB, free: 3.965 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001045/0.7162, allocations: 0.6703 MB / 0.96 GB, free: 3.27 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.176e-05/0.7162, allocations: 8.531 kB / 0.96 GB, free: 3.262 MB / 0.7169 GB Notification: Performance of SimCode: time 2.51e-07/0.7162, allocations: 4 kB / 0.96 GB, free: 3.258 MB / 0.7169 GB Notification: Performance of Templates: time 0.002093/0.7183, allocations: 464.8 kB / 0.9605 GB, free: 3.035 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.makefile (rm -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.sim & ./Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Functions_Examples_RegNonZeroPower.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches