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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001714/0.001714, allocations: 101.8 kB / 18.83 MB, free: 3.023 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001752/0.001752, allocations: 193.5 kB / 22.1 MB, free: 4.621 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "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: 225.6 MB / 250.8 MB, free: 13.04 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.123/3.123, allocations: 495.8 MB / 0.783 GB, free: 33.61 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.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=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: Performance of FrontEnd - loaded program: time 0.002021/0.002021, allocations: 61.45 kB / 1.137 GB, free: 33.69 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3267/0.3287, allocations: 173.6 MB / 1.307 GB, free: 1.82 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.001728/0.3304, allocations: 0.5984 MB / 1.307 GB, free: 1.223 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0007283/0.3312, allocations: 331.2 kB / 1.308 GB, free: 0.8984 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.878e-05/0.3312, allocations: 0 / 1.308 GB, free: 0.8984 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 1.332e-05/0.3312, allocations: 0 / 1.308 GB, free: 0.8984 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 5.67e-06/0.3312, allocations: 0 / 1.308 GB, free: 0.8984 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004547/0.3317, allocations: 111.6 kB / 1.308 GB, free: 0.7891 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 4.031e-05/0.3317, allocations: 4 kB / 1.308 GB, free: 0.7852 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.995e-05/0.3317, allocations: 4 kB / 1.308 GB, free: 0.7812 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.433e-05/0.3318, allocations: 4 kB / 1.308 GB, free: 0.7773 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 2.433e-05/0.3318, allocations: 3.984 kB / 1.308 GB, free: 0.7734 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.906e-05/0.3318, allocations: 0 / 1.308 GB, free: 0.7734 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004521/0.3323, allocations: 275.6 kB / 1.308 GB, free: 0.5039 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.147e-05/0.3323, allocations: 0 / 1.308 GB, free: 0.5039 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 1.649e-05/0.3323, allocations: 4 kB / 1.308 GB, free: 0.5 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002039/0.3325, allocations: 83.73 kB / 1.308 GB, free: 428 kB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.111e-06/0.3325, allocations: 0 / 1.308 GB, free: 428 kB / 0.9981 GB Notification: Performance of FrontEnd: time 1.663e-06/0.3325, allocations: 0 / 1.308 GB, free: 428 kB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.513e-06/0.3325, allocations: 4 kB / 1.308 GB, free: 424 kB / 0.9981 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.0004289/0.3329, allocations: 262.2 kB / 1.308 GB, free: 128 kB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.565e-05/0.333, allocations: 12.03 kB / 1.308 GB, free: 116 kB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.182e-05/0.3331, allocations: 4.875 kB / 1.308 GB, free: 112 kB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001117/0.3332, allocations: 102.5 kB / 1.309 GB, free: 15.98 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.205e-06/0.3332, allocations: 384 / 1.309 GB, free: 15.98 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.163e-05/0.3332, allocations: 384 / 1.309 GB, free: 15.98 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000102/0.3333, allocations: 34.2 kB / 1.309 GB, free: 15.95 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.426e-06/0.3333, allocations: 192 / 1.309 GB, free: 15.95 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.103e-05/0.3333, allocations: 7.938 kB / 1.309 GB, free: 15.94 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.702e-06/0.3333, allocations: 3.984 kB / 1.309 GB, free: 15.93 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.282e-05/0.3333, allocations: 4 kB / 1.309 GB, free: 15.93 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001461/0.3335, allocations: 116.8 kB / 1.309 GB, free: 15.77 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 4.268e-05/0.3335, allocations: 14.58 kB / 1.309 GB, free: 15.75 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.117e-05/0.3336, allocations: 8.953 kB / 1.309 GB, free: 15.74 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003698/0.3339, allocations: 47.94 kB / 1.309 GB, free: 15.69 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.252e-05/0.334, allocations: 38.5 kB / 1.309 GB, free: 15.64 MB / 1.014 GB Notification: Performance of pre-optimization done (n=1): time 1.032e-06/0.334, allocations: 0 / 1.309 GB, free: 15.64 MB / 1.014 GB Notification: Performance of matching and sorting (n=1): time 0.0001635/0.3341, allocations: 37.64 kB / 1.309 GB, free: 15.6 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.726e-05/0.3342, allocations: 51.41 kB / 1.309 GB, free: 15.54 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.857e-05/0.3342, allocations: 89.98 kB / 1.309 GB, free: 15.44 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.736e-05/0.3342, allocations: 29.7 kB / 1.309 GB, free: 15.41 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 3.819e-05/0.3343, allocations: 80.14 kB / 1.309 GB, free: 15.32 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 3.234e-05/0.3343, allocations: 3.938 kB / 1.309 GB, free: 15.32 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.615e-05/0.3343, allocations: 21.7 kB / 1.309 GB, free: 15.29 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001596/0.3345, allocations: 310.8 kB / 1.309 GB, free: 14.98 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.08e-05/0.3345, allocations: 0 / 1.309 GB, free: 14.98 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.381e-06/0.3345, allocations: 0 / 1.309 GB, free: 14.98 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.955e-05/0.3345, allocations: 16.86 kB / 1.309 GB, free: 14.96 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.402e-06/0.3345, allocations: 0 / 1.309 GB, free: 14.96 MB / 1.014 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.928e-05/0.3346, allocations: 33.7 kB / 1.309 GB, free: 14.92 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.364e-05/0.3346, allocations: 5.094 kB / 1.309 GB, free: 14.92 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.978e-06/0.3346, allocations: 0 / 1.309 GB, free: 14.92 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.606e-05/0.3346, allocations: 3.938 kB / 1.309 GB, free: 14.91 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.217e-05/0.3347, allocations: 7.984 kB / 1.309 GB, free: 14.91 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.149e-06/0.3347, allocations: 0 / 1.309 GB, free: 14.91 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.012e-05/0.3347, allocations: 0 / 1.309 GB, free: 14.91 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.129e-06/0.3347, allocations: 3.938 kB / 1.309 GB, free: 14.9 MB / 1.014 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 8.043e-05/0.3348, allocations: 118.6 kB / 1.31 GB, free: 14.78 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.111e-05/0.3348, allocations: 4 kB / 1.31 GB, free: 14.77 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001029/0.3349, allocations: 44.56 kB / 1.31 GB, free: 14.73 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.3349, allocations: 0 / 1.31 GB, free: 14.73 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.3349, allocations: 0 / 1.31 GB, free: 14.73 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.934e-06/0.3349, allocations: 0 / 1.31 GB, free: 14.73 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.768e-05/0.335, allocations: 120.8 kB / 1.31 GB, free: 14.57 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.335, allocations: 0 / 1.31 GB, free: 14.57 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.184e-05/0.335, allocations: 4.031 kB / 1.31 GB, free: 14.56 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.293e-06/0.335, allocations: 0 / 1.31 GB, free: 14.56 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.263e-06/0.335, allocations: 3.938 kB / 1.31 GB, free: 14.56 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.815e-06/0.335, allocations: 4 kB / 1.31 GB, free: 14.55 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.335, allocations: 4 kB / 1.31 GB, free: 14.55 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001117/0.3352, allocations: 61.06 kB / 1.31 GB, free: 14.47 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 5.751e-06/0.3352, allocations: 3.984 kB / 1.31 GB, free: 14.47 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.442e-05/0.3352, allocations: 15.97 kB / 1.31 GB, free: 14.45 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.494e-06/0.3352, allocations: 0 / 1.31 GB, free: 14.45 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.403e-05/0.3352, allocations: 0 / 1.31 GB, free: 14.45 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.994e-06/0.3352, allocations: 0 / 1.31 GB, free: 14.45 MB / 1.014 GB Notification: Performance of sorting global known variables: time 3.735e-05/0.3352, allocations: 79.27 kB / 1.31 GB, free: 14.38 MB / 1.014 GB Notification: Performance of sort global known variables: time 7e-08/0.3352, allocations: 0 / 1.31 GB, free: 14.38 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002156/0.3355, allocations: 15.94 kB / 1.31 GB, free: 14.36 MB / 1.014 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.0001832/0.3356, allocations: 99.25 kB / 1.31 GB, free: 14.25 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 7.74e-05/0.3357, allocations: 8 kB / 1.31 GB, free: 14.24 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.3357, allocations: 0 / 1.31 GB, free: 14.24 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 9.628e-06/0.3357, allocations: 4 kB / 1.31 GB, free: 14.24 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001392/0.3359, allocations: 15.8 kB / 1.31 GB, free: 14.22 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002029/0.3361, allocations: 92.81 kB / 1.31 GB, free: 14.11 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003262/0.3364, allocations: 0.669 MB / 1.311 GB, free: 13.41 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 1.473e-05/0.3364, allocations: 0 / 1.311 GB, free: 13.41 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.765e-05/0.3364, allocations: 11.56 kB / 1.311 GB, free: 13.4 MB / 1.014 GB Notification: Performance of SimCode: time 6.61e-07/0.3364, allocations: 4 kB / 1.311 GB, free: 13.39 MB / 1.014 GB Notification: Performance of Templates: time 0.002872/0.3393, allocations: 456.3 kB / 1.311 GB, free: 12.95 MB / 1.014 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.619726154953241]