Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00185/0.00185, allocations: 114.3 kB / 18.94 MB, free: 2.957 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002428/0.002428, allocations: 212.5 kB / 22.25 MB, free: 5.117 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.468/1.468, allocations: 230.6 MB / 256 MB, free: 8.211 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.166/3.166, allocations: 0.49 GB / 0.7951 GB, free: 33.49 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower") translateModel(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002279/0.002279, allocations: 75.09 kB / 1.154 GB, free: 25.59 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3243/0.3266, allocations: 176.1 MB / 1.326 GB, free: 1.414 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.001899/0.3285, allocations: 0.5905 MB / 1.327 GB, free: 0.8281 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0007251/0.3292, allocations: 331.2 kB / 1.327 GB, free: 0.5039 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.516e-05/0.3292, allocations: 0 / 1.327 GB, free: 0.5039 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 1.614e-05/0.3292, allocations: 0 / 1.327 GB, free: 0.5039 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 5.841e-06/0.3292, allocations: 0 / 1.327 GB, free: 0.5039 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004446/0.3297, allocations: 108.6 kB / 1.327 GB, free: 408 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 4.493e-05/0.3297, allocations: 4 kB / 1.327 GB, free: 404 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 5.017e-05/0.3298, allocations: 7.922 kB / 1.327 GB, free: 396 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 1.368e-05/0.3298, allocations: 0 / 1.327 GB, free: 396 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 2.369e-05/0.3298, allocations: 0 / 1.327 GB, free: 396 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.324e-05/0.3298, allocations: 4 kB / 1.327 GB, free: 392 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004658/0.3303, allocations: 271.6 kB / 1.328 GB, free: 120 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 9.227e-06/0.3303, allocations: 0 / 1.328 GB, free: 120 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 2.214e-05/0.3303, allocations: 8 kB / 1.328 GB, free: 112 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001825/0.3305, allocations: 83.67 kB / 1.328 GB, free: 28 kB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 2.946e-06/0.3305, allocations: 4 kB / 1.328 GB, free: 24 kB / 1.014 GB Notification: Performance of FrontEnd: time 1.222e-06/0.3305, allocations: 4 kB / 1.328 GB, free: 20 kB / 1.014 GB Notification: Performance of Transformations before backend: time 5.37e-06/0.3305, allocations: 0 / 1.328 GB, free: 20 kB / 1.014 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.0004083/0.3309, allocations: 262.2 kB / 1.328 GB, free: 15.73 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.75e-05/0.331, allocations: 11.97 kB / 1.328 GB, free: 15.72 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.266e-05/0.331, allocations: 4.938 kB / 1.328 GB, free: 15.71 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001432/0.3312, allocations: 102.5 kB / 1.328 GB, free: 15.59 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.094e-05/0.3312, allocations: 384 / 1.328 GB, free: 15.59 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.038e-05/0.3312, allocations: 384 / 1.328 GB, free: 15.59 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001079/0.3313, allocations: 42.25 kB / 1.328 GB, free: 15.54 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.913e-06/0.3313, allocations: 192 / 1.328 GB, free: 15.54 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.242e-05/0.3313, allocations: 7.938 kB / 1.328 GB, free: 15.54 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.137e-06/0.3313, allocations: 0 / 1.328 GB, free: 15.54 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.087e-05/0.3314, allocations: 3.938 kB / 1.328 GB, free: 15.53 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001487/0.3315, allocations: 116.8 kB / 1.328 GB, free: 15.38 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 4.26e-05/0.3315, allocations: 14.58 kB / 1.328 GB, free: 15.35 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.626e-05/0.3316, allocations: 4.859 kB / 1.328 GB, free: 15.34 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003627/0.3319, allocations: 52.05 kB / 1.328 GB, free: 15.29 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.323e-05/0.332, allocations: 30.56 kB / 1.328 GB, free: 15.25 MB / 1.029 GB Notification: Performance of pre-optimization done (n=1): time 9.82e-07/0.332, allocations: 0 / 1.328 GB, free: 15.25 MB / 1.029 GB Notification: Performance of matching and sorting (n=1): time 0.0001648/0.3321, allocations: 37.58 kB / 1.328 GB, free: 15.21 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.026e-05/0.3322, allocations: 55.53 kB / 1.328 GB, free: 15.14 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.117e-05/0.3322, allocations: 97.84 kB / 1.329 GB, free: 15.04 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.556e-05/0.3322, allocations: 25.7 kB / 1.329 GB, free: 15.01 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 4.247e-05/0.3323, allocations: 84.12 kB / 1.329 GB, free: 14.92 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.503e-05/0.3323, allocations: 7.891 kB / 1.329 GB, free: 14.91 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.891e-05/0.3323, allocations: 13.72 kB / 1.329 GB, free: 14.89 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001516/0.3325, allocations: 314.8 kB / 1.329 GB, free: 14.58 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.016e-05/0.3325, allocations: 0 / 1.329 GB, free: 14.58 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.48e-06/0.3325, allocations: 0 / 1.329 GB, free: 14.58 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.928e-05/0.3325, allocations: 12.92 kB / 1.329 GB, free: 14.56 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-06/0.3325, allocations: 0 / 1.329 GB, free: 14.56 MB / 1.029 GB Notification: Performance of matching and sorting (n=1) (initialization): time 7.4e-05/0.3326, allocations: 37.62 kB / 1.329 GB, free: 14.52 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.375e-05/0.3326, allocations: 8 kB / 1.329 GB, free: 14.51 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.627e-06/0.3326, allocations: 0 / 1.329 GB, free: 14.51 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.321e-05/0.3326, allocations: 3.938 kB / 1.329 GB, free: 14.51 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.483e-05/0.3327, allocations: 0 / 1.329 GB, free: 14.51 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.777e-06/0.3327, allocations: 0 / 1.329 GB, free: 14.51 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.538e-06/0.3327, allocations: 4 kB / 1.329 GB, free: 14.5 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.188e-06/0.3327, allocations: 4.031 kB / 1.329 GB, free: 14.5 MB / 1.029 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 7.378e-05/0.3328, allocations: 109.8 kB / 1.329 GB, free: 14.38 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.748e-05/0.3328, allocations: 0 / 1.329 GB, free: 14.38 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.274e-05/0.3329, allocations: 48.56 kB / 1.329 GB, free: 14.32 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.393e-06/0.3329, allocations: 0 / 1.329 GB, free: 14.32 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.411e-06/0.3329, allocations: 3.984 kB / 1.329 GB, free: 14.32 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.974e-06/0.3329, allocations: 0 / 1.329 GB, free: 14.32 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.551e-05/0.333, allocations: 120.7 kB / 1.329 GB, free: 14.16 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.91e-07/0.333, allocations: 4.031 kB / 1.329 GB, free: 14.16 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.54e-05/0.333, allocations: 7.984 kB / 1.329 GB, free: 14.15 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.172e-06/0.333, allocations: 0 / 1.329 GB, free: 14.15 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.997e-06/0.333, allocations: 3.938 kB / 1.329 GB, free: 14.14 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.333, allocations: 0 / 1.329 GB, free: 14.14 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-07/0.333, allocations: 0 / 1.329 GB, free: 14.14 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.013e-05/0.3331, allocations: 57.14 kB / 1.329 GB, free: 14.07 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.57e-06/0.3331, allocations: 8.031 kB / 1.329 GB, free: 14.06 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.389e-05/0.3331, allocations: 7.922 kB / 1.329 GB, free: 14.05 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.876e-06/0.3331, allocations: 4 kB / 1.329 GB, free: 14.05 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.457e-05/0.3331, allocations: 4 kB / 1.329 GB, free: 14.05 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.693e-06/0.3331, allocations: 3.938 kB / 1.329 GB, free: 14.04 MB / 1.029 GB Notification: Performance of sorting global known variables: time 3.657e-05/0.3332, allocations: 75.28 kB / 1.329 GB, free: 13.97 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3332, allocations: 0 / 1.329 GB, free: 13.97 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0001969/0.3334, allocations: 15.88 kB / 1.329 GB, free: 13.95 MB / 1.029 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.0001847/0.3335, allocations: 111.2 kB / 1.33 GB, free: 13.83 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 7.071e-05/0.3336, allocations: 7.984 kB / 1.33 GB, free: 13.82 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.3336, allocations: 0 / 1.33 GB, free: 13.82 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 8.306e-06/0.3336, allocations: 4 kB / 1.33 GB, free: 13.82 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000128/0.3338, allocations: 3.938 kB / 1.33 GB, free: 13.82 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001926/0.3339, allocations: 80.88 kB / 1.33 GB, free: 13.71 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003285/0.3343, allocations: 0.6729 MB / 1.33 GB, free: 13.01 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 1.958e-05/0.3343, allocations: 8.109 kB / 1.33 GB, free: 13 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.56e-05/0.3343, allocations: 7.438 kB / 1.33 GB, free: 13 MB / 1.029 GB Notification: Performance of SimCode: time 3.3e-07/0.3343, allocations: 3.938 kB / 1.33 GB, free: 12.99 MB / 1.029 GB Notification: Performance of Templates: time 0.002767/0.3371, allocations: 468.2 kB / 1.331 GB, free: 12.54 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.sim & ./Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Functions_Examples_RegNonZeroPower.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.728288893122226]