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.001005/0.001005, allocations: 101.9 kB / 16.35 MB, free: 5.824 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.001107/0.001107, allocations: 193.9 kB / 17.29 MB, free: 5.48 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.196/1.196, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 1.987/1.987, allocations: 390.3 MB / 0.6655 GB, free: 0.5625 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00116/0.00116, allocations: 61.69 kB / 0.814 GB, free: 32.8 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2347/0.2359, allocations: 140.4 MB / 0.9511 GB, free: 8.016 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.001548/0.2374, allocations: 0.582 MB / 0.9517 GB, free: 7.43 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0005371/0.238, allocations: 318.8 kB / 0.952 GB, free: 7.117 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.255e-05/0.238, allocations: 4 kB / 0.952 GB, free: 7.113 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 1.133e-05/0.238, allocations: 0 / 0.952 GB, free: 7.113 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 4.628e-06/0.238, allocations: 0 / 0.952 GB, free: 7.113 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003765/0.2384, allocations: 119.3 kB / 0.9521 GB, free: 7 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 3.43e-05/0.2385, allocations: 4 kB / 0.9521 GB, free: 6.996 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 3.278e-05/0.2385, allocations: 0 / 0.9521 GB, free: 6.996 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 1.01e-05/0.2385, allocations: 0 / 0.9521 GB, free: 6.996 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 1.62e-05/0.2385, allocations: 0 / 0.9521 GB, free: 6.996 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 8.265e-06/0.2386, allocations: 4 kB / 0.9521 GB, free: 6.992 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003566/0.2389, allocations: 279.6 kB / 0.9524 GB, free: 6.719 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 7.755e-06/0.2389, allocations: 0 / 0.9524 GB, free: 6.719 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 1.168e-05/0.2389, allocations: 0 / 0.9524 GB, free: 6.719 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001443/0.2391, allocations: 87.84 kB / 0.9525 GB, free: 6.633 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 2.965e-06/0.2391, allocations: 0 / 0.9525 GB, free: 6.633 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.202e-06/0.2391, allocations: 0 / 0.9525 GB, free: 6.633 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.108e-06/0.2391, allocations: 3.938 kB / 0.9525 GB, free: 6.629 MB / 0.7325 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.0002537/0.2394, allocations: 335.6 kB / 0.9528 GB, free: 6.25 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 2.891e-05/0.2394, allocations: 8.031 kB / 0.9528 GB, free: 6.242 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.641e-05/0.2395, allocations: 4.938 kB / 0.9528 GB, free: 6.238 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.473e-05/0.2395, allocations: 164.3 kB / 0.953 GB, free: 6.039 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.708e-06/0.2396, allocations: 4.375 kB / 0.953 GB, free: 6.035 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.825e-06/0.2396, allocations: 4.375 kB / 0.953 GB, free: 6.031 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.689e-05/0.2397, allocations: 32.36 kB / 0.953 GB, free: 5.996 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.034e-06/0.2397, allocations: 192 / 0.953 GB, free: 5.996 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.115e-06/0.2397, allocations: 7.875 kB / 0.953 GB, free: 5.988 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.997e-06/0.2397, allocations: 0 / 0.953 GB, free: 5.988 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.584e-05/0.2397, allocations: 4 kB / 0.953 GB, free: 5.984 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001083/0.2398, allocations: 149.7 kB / 0.9532 GB, free: 5.789 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 3.84e-05/0.2399, allocations: 14.58 kB / 0.9532 GB, free: 5.766 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.406e-05/0.2399, allocations: 8.953 kB / 0.9532 GB, free: 5.754 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004375/0.2403, allocations: 425.5 kB / 0.9536 GB, free: 5.246 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.113e-05/0.2404, allocations: 38.55 kB / 0.9536 GB, free: 5.199 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=1): time 9.12e-07/0.2404, allocations: 0 / 0.9536 GB, free: 5.199 MB / 0.7325 GB Notification: Performance of matching and sorting (n=1): time 0.0001221/0.2405, allocations: 41.48 kB / 0.9537 GB, free: 5.152 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.709e-05/0.2405, allocations: 51.41 kB / 0.9537 GB, free: 5.09 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.335e-05/0.2406, allocations: 89.86 kB / 0.9538 GB, free: 4.992 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.076e-05/0.2406, allocations: 29.7 kB / 0.9538 GB, free: 4.957 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 2.105e-05/0.2406, allocations: 80.14 kB / 0.9539 GB, free: 4.875 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.382e-05/0.2406, allocations: 4 kB / 0.9539 GB, free: 4.871 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.147e-05/0.2407, allocations: 13.84 kB / 0.9539 GB, free: 4.852 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001353/0.2408, allocations: 314.8 kB / 0.9542 GB, free: 4.535 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.867e-06/0.2408, allocations: 4 kB / 0.9542 GB, free: 4.531 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.609e-06/0.2408, allocations: 0 / 0.9542 GB, free: 4.531 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.124e-05/0.2408, allocations: 12.8 kB / 0.9542 GB, free: 4.516 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.2408, allocations: 0 / 0.9542 GB, free: 4.516 MB / 0.7325 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.806e-05/0.2409, allocations: 33.7 kB / 0.9543 GB, free: 4.477 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.024e-05/0.2409, allocations: 8.094 kB / 0.9543 GB, free: 4.469 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.587e-06/0.2409, allocations: 4 kB / 0.9543 GB, free: 4.465 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.11e-05/0.241, allocations: 3.938 kB / 0.9543 GB, free: 4.461 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.101e-05/0.241, allocations: 0 / 0.9543 GB, free: 4.461 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.058e-06/0.241, allocations: 0 / 0.9543 GB, free: 4.461 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.286e-06/0.241, allocations: 0 / 0.9543 GB, free: 4.461 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.115e-06/0.241, allocations: 7.984 kB / 0.9543 GB, free: 4.453 MB / 0.7325 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.836e-05/0.2411, allocations: 111.8 kB / 0.9544 GB, free: 4.336 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.731e-05/0.2411, allocations: 0 / 0.9544 GB, free: 4.336 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.214e-05/0.2412, allocations: 52.69 kB / 0.9544 GB, free: 4.277 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.192e-06/0.2412, allocations: 0 / 0.9544 GB, free: 4.277 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.096e-06/0.2412, allocations: 7.938 kB / 0.9545 GB, free: 4.27 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.803e-06/0.2412, allocations: 0 / 0.9545 GB, free: 4.27 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.418e-05/0.2413, allocations: 145.7 kB / 0.9546 GB, free: 4.078 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.42e-07/0.2413, allocations: 0 / 0.9546 GB, free: 4.078 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.162e-05/0.2413, allocations: 4 kB / 0.9546 GB, free: 4.074 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.222e-06/0.2413, allocations: 0 / 0.9546 GB, free: 4.074 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.63e-06/0.2413, allocations: 3.938 kB / 0.9546 GB, free: 4.07 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.2413, allocations: 32 / 0.9546 GB, free: 4.07 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.2413, allocations: 4 kB / 0.9546 GB, free: 4.066 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.088e-05/0.2414, allocations: 61.12 kB / 0.9547 GB, free: 3.988 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 2.69e-05/0.2414, allocations: 81.05 kB / 0.9547 GB, free: 3.891 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.023e-05/0.2415, allocations: 7.938 kB / 0.9548 GB, free: 3.883 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.382e-06/0.2415, allocations: 0 / 0.9548 GB, free: 3.883 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.516e-06/0.2415, allocations: 0 / 0.9548 GB, free: 3.883 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.753e-06/0.2415, allocations: 0 / 0.9548 GB, free: 3.883 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 2.285e-05/0.2415, allocations: 79.31 kB / 0.9548 GB, free: 3.805 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2415, allocations: 4 kB / 0.9548 GB, free: 3.801 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.000179/0.2417, allocations: 15.98 kB / 0.9548 GB, free: 3.785 MB / 0.7325 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.0001357/0.2418, allocations: 103.2 kB / 0.9549 GB, free: 3.676 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 5.132e-05/0.2419, allocations: 4 kB / 0.9549 GB, free: 3.672 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.147e-06/0.2419, allocations: 4 kB / 0.955 GB, free: 3.668 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 5.51e-06/0.2419, allocations: 0 / 0.955 GB, free: 3.668 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001182/0.242, allocations: 8.062 kB / 0.955 GB, free: 3.66 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001659/0.2422, allocations: 92.91 kB / 0.955 GB, free: 3.543 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001948/0.2424, allocations: 0.6727 MB / 0.9557 GB, free: 2.844 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 1.268e-05/0.2424, allocations: 0 / 0.9557 GB, free: 2.844 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.219e-05/0.2425, allocations: 7.438 kB / 0.9557 GB, free: 2.836 MB / 0.7325 GB Notification: Performance of SimCode: time 2.3e-07/0.2425, allocations: 4 kB / 0.9557 GB, free: 2.832 MB / 0.7325 GB Notification: Performance of Templates: time 0.001919/0.2444, allocations: 460.4 kB / 0.9562 GB, free: 2.383 MB / 0.7325 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 -s cvode -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