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.001083/0.001083, allocations: 101.5 kB / 15.06 MB, free: 1.094 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.001026/0.001026, allocations: 177.3 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.568/1.568, allocations: 223.2 MB / 239.9 MB, free: 5.438 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.364/2.364, allocations: 390.3 MB / 0.6653 GB, free: 2.98 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003855/0.0003856, allocations: 8 kB / 0.8145 GB, free: 14.24 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9306/0.931, allocations: 142.3 MB / 0.9535 GB, free: 8.148 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.000827/0.9319, allocations: 310.2 kB / 0.9538 GB, free: 7.914 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0005859/0.9325, allocations: 306.1 kB / 0.9541 GB, free: 7.68 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.62e-05/0.9325, allocations: 0 / 0.9541 GB, free: 7.68 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.285e-05/0.9325, allocations: 0 / 0.9541 GB, free: 7.68 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.222e-06/0.9326, allocations: 1.344 kB / 0.9541 GB, free: 7.68 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003502/0.9329, allocations: 67.89 kB / 0.9542 GB, free: 7.633 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.077e-05/0.933, allocations: 0 / 0.9542 GB, free: 7.633 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 5.41e-05/0.933, allocations: 5.266 kB / 0.9542 GB, free: 7.629 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 1.667e-05/0.933, allocations: 0 / 0.9542 GB, free: 7.629 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 2.857e-05/0.9331, allocations: 5.25 kB / 0.9542 GB, free: 7.625 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.048e-05/0.9331, allocations: 0 / 0.9542 GB, free: 7.625 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003751/0.9335, allocations: 259.4 kB / 0.9544 GB, free: 7.48 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 7.114e-06/0.9335, allocations: 1 kB / 0.9544 GB, free: 7.48 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.249e-05/0.9335, allocations: 25.7 kB / 0.9545 GB, free: 7.449 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001386/0.9337, allocations: 51.41 kB / 0.9545 GB, free: 7.418 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.9337, allocations: 0 / 0.9545 GB, free: 7.418 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.445e-06/0.9337, allocations: 5 kB / 0.9545 GB, free: 7.414 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.369e-06/0.9337, allocations: 0 / 0.9545 GB, free: 7.414 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.0002463/0.9339, allocations: 326.2 kB / 0.9548 GB, free: 7.055 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.42e-05/0.934, allocations: 8.906 kB / 0.9548 GB, free: 7.055 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.288e-05/0.9341, allocations: 9.141 kB / 0.9548 GB, free: 7.047 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.906e-05/0.9341, allocations: 163 kB / 0.955 GB, free: 6.848 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.086e-05/0.9342, allocations: 1.031 kB / 0.955 GB, free: 6.848 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.116e-05/0.9342, allocations: 0 / 0.955 GB, free: 6.848 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000105/0.9343, allocations: 43.95 kB / 0.955 GB, free: 6.801 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.896e-06/0.9343, allocations: 0 / 0.955 GB, free: 6.801 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.849e-06/0.9343, allocations: 0 / 0.955 GB, free: 6.801 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.222e-06/0.9343, allocations: 1.5 kB / 0.955 GB, free: 6.801 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.007e-05/0.9343, allocations: 5.391 kB / 0.955 GB, free: 6.797 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001191/0.9345, allocations: 143 kB / 0.9552 GB, free: 6.609 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 3.512e-05/0.9345, allocations: 19.64 kB / 0.9552 GB, free: 6.582 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004372/0.9349, allocations: 424.5 kB / 0.9556 GB, free: 6.098 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.219e-05/0.935, allocations: 39.52 kB / 0.9556 GB, free: 6.051 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=1): time 2.485e-06/0.935, allocations: 1.281 kB / 0.9556 GB, free: 6.051 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1): time 0.0001505/0.9351, allocations: 35.02 kB / 0.9557 GB, free: 6.016 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.563e-05/0.9352, allocations: 51.41 kB / 0.9557 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.278e-05/0.9352, allocations: 89.98 kB / 0.9558 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.725e-06/0.9352, allocations: 29.7 kB / 0.9558 GB, free: 5.82 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.495e-05/0.9352, allocations: 81.58 kB / 0.9559 GB, free: 5.738 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.057e-05/0.9353, allocations: 3.906 kB / 0.9559 GB, free: 5.734 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.355e-06/0.9353, allocations: 0 / 0.9559 GB, free: 5.734 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.554e-05/0.9353, allocations: 320.1 kB / 0.9562 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.456e-06/0.9354, allocations: 1.531 kB / 0.9562 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.27e-06/0.9354, allocations: 3.984 kB / 0.9562 GB, free: 5.41 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.825e-05/0.9354, allocations: 1.469 kB / 0.9562 GB, free: 5.41 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-06/0.9354, allocations: 5.281 kB / 0.9562 GB, free: 5.406 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.496e-05/0.9355, allocations: 35.27 kB / 0.9563 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.412e-05/0.9355, allocations: 4.875 kB / 0.9563 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.239e-06/0.9355, allocations: 0 / 0.9563 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.207e-05/0.9355, allocations: 0 / 0.9563 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.541e-05/0.9356, allocations: 2.844 kB / 0.9563 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.993e-06/0.9356, allocations: 7.938 kB / 0.9563 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.128e-05/0.9356, allocations: 0 / 0.9563 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.983e-06/0.9356, allocations: 1.156 kB / 0.9563 GB, free: 5.363 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.099e-05/0.9357, allocations: 119.4 kB / 0.9564 GB, free: 5.238 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.934e-05/0.9357, allocations: 3.938 kB / 0.9564 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.868e-05/0.9358, allocations: 42.39 kB / 0.9564 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.162e-06/0.9358, allocations: 0 / 0.9564 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.9358, allocations: 1.344 kB / 0.9564 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.144e-06/0.9358, allocations: 0 / 0.9564 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.842e-05/0.9358, allocations: 155.3 kB / 0.9566 GB, free: 4.992 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.22e-07/0.9359, allocations: 0 / 0.9566 GB, free: 4.992 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.066e-05/0.9359, allocations: 1.031 kB / 0.9566 GB, free: 4.992 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.322e-06/0.9359, allocations: 5.469 kB / 0.9566 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.031e-06/0.9359, allocations: 0 / 0.9566 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.9359, allocations: 3.984 kB / 0.9566 GB, free: 4.984 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.9359, allocations: 1.188 kB / 0.9566 GB, free: 4.984 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.792e-05/0.936, allocations: 62.7 kB / 0.9567 GB, free: 4.91 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.096e-05/0.936, allocations: 78.39 kB / 0.9567 GB, free: 4.816 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.027e-05/0.936, allocations: 0 / 0.9567 GB, free: 4.816 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.554e-06/0.936, allocations: 4.938 kB / 0.9567 GB, free: 4.812 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.86e-05/0.9361, allocations: 5.188 kB / 0.9568 GB, free: 4.809 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.873e-06/0.9361, allocations: 0 / 0.9568 GB, free: 4.809 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.542e-05/0.9361, allocations: 75.28 kB / 0.9568 GB, free: 4.734 MB / 0.7169 GB Notification: Performance of sort global known variables: time 8.1e-08/0.9361, allocations: 1.219 kB / 0.9568 GB, free: 4.734 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002028/0.9363, allocations: 12.03 kB / 0.9568 GB, free: 4.73 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000198/0.9365, allocations: 113.2 kB / 0.9569 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 8.254e-05/0.9366, allocations: 7.844 kB / 0.957 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.205e-06/0.9366, allocations: 4.062 kB / 0.957 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 5.511e-06/0.9366, allocations: 1.344 kB / 0.957 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001059/0.9367, allocations: 5.141 kB / 0.957 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001847/0.9369, allocations: 77.88 kB / 0.957 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001387/0.9371, allocations: 0.6716 MB / 0.9577 GB, free: 3.84 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 1.791e-05/0.9371, allocations: 1.344 kB / 0.9577 GB, free: 3.84 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.49e-05/0.9371, allocations: 8.656 kB / 0.9577 GB, free: 3.832 MB / 0.7169 GB Notification: Performance of SimCode: time 2.3e-07/0.9371, allocations: 8 kB / 0.9577 GB, free: 3.824 MB / 0.7169 GB Notification: Performance of Templates: time 0.002515/0.9396, allocations: 439.6 kB / 0.9581 GB, free: 3.598 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","../files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches