Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0009324/0.0009324, allocations: 81.17 kB / 19.87 MB, free: 4.621 MB / 18.57 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.001038/0.001038, allocations: 169 kB / 23.27 MB, free: 1.223 MB / 18.57 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.014/1.014, allocations: 177.2 MB / 203.7 MB, free: 5.52 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.34/2.34, allocations: 438.1 MB / 0.682 GB, free: 14.16 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.934e-06/1.934e-06, allocations: 0 / 0.8898 GB, free: 9.715 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.011e-05/2.204e-05, allocations: 9.344 kB / 0.8898 GB, free: 9.707 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.001088/0.00111, allocations: 0.611 MB / 0.8904 GB, free: 9.098 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.0004748/0.001585, allocations: 298.9 kB / 0.8907 GB, free: 8.805 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.816e-05/0.001603, allocations: 0 / 0.8907 GB, free: 8.805 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 1.527e-05/0.001618, allocations: 0 / 0.8907 GB, free: 8.805 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 6.452e-06/0.001625, allocations: 0 / 0.8907 GB, free: 8.805 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003605/0.001985, allocations: 111.6 kB / 0.8908 GB, free: 8.695 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 3.813e-05/0.002023, allocations: 4 kB / 0.8908 GB, free: 8.691 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 3.395e-05/0.002057, allocations: 0 / 0.8908 GB, free: 8.691 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 2.71e-05/0.002085, allocations: 0 / 0.8908 GB, free: 8.691 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 2.338e-05/0.002108, allocations: 0 / 0.8908 GB, free: 8.691 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 1.243e-05/0.00212, allocations: 4 kB / 0.8908 GB, free: 8.688 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002713/0.002392, allocations: 259.6 kB / 0.891 GB, free: 8.434 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 1.172e-05/0.002403, allocations: 0 / 0.891 GB, free: 8.434 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 1.028e-05/0.002414, allocations: 4 kB / 0.891 GB, free: 8.43 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0001453/0.002559, allocations: 111.6 kB / 0.8912 GB, free: 8.32 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 2.004e-06/0.002561, allocations: 4 kB / 0.8912 GB, free: 8.316 MB / 0.8542 GB Notification: Performance of FrontEnd: time 4.51e-07/0.002561, allocations: 0 / 0.8912 GB, free: 8.316 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 3.105e-06/0.002565, allocations: 0 / 0.8912 GB, free: 8.316 MB / 0.8542 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.000238/0.002802, allocations: 364.2 kB / 0.8915 GB, free: 7.922 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.779e-05/0.00284, allocations: 8.625 kB / 0.8915 GB, free: 7.914 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.982e-05/0.0029, allocations: 5.281 kB / 0.8915 GB, free: 7.91 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.462e-05/0.002955, allocations: 108.6 kB / 0.8916 GB, free: 7.777 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.046e-05/0.002965, allocations: 4.375 kB / 0.8916 GB, free: 7.773 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.731e-06/0.002971, allocations: 384 / 0.8916 GB, free: 7.773 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.905e-05/0.00303, allocations: 30.27 kB / 0.8917 GB, free: 7.738 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.603e-06/0.003037, allocations: 192 / 0.8917 GB, free: 7.738 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.623e-06/0.003043, allocations: 8.359 kB / 0.8917 GB, free: 7.73 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.003049, allocations: 384 / 0.8917 GB, free: 7.73 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.131e-05/0.00306, allocations: 11.81 kB / 0.8917 GB, free: 7.719 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.022e-05/0.00314, allocations: 97.22 kB / 0.8918 GB, free: 7.598 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 3.168e-05/0.003172, allocations: 27.06 kB / 0.8918 GB, free: 7.559 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.124e-05/0.003183, allocations: 11.78 kB / 0.8918 GB, free: 7.543 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002176/0.003401, allocations: 43.97 kB / 0.8918 GB, free: 7.5 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.153e-05/0.003422, allocations: 37.39 kB / 0.8919 GB, free: 7.453 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=1): time 8.91e-07/0.003423, allocations: 0 / 0.8919 GB, free: 7.453 MB / 0.8542 GB Notification: Performance of matching and sorting (n=1): time 9.657e-05/0.00352, allocations: 37.62 kB / 0.8919 GB, free: 7.41 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.099e-05/0.003541, allocations: 51.41 kB / 0.892 GB, free: 7.348 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.362e-05/0.003574, allocations: 142.2 kB / 0.8921 GB, free: 7.195 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 7.454e-06/0.003582, allocations: 29.7 kB / 0.8921 GB, free: 7.16 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 2.422e-05/0.003606, allocations: 126.9 kB / 0.8923 GB, free: 7.031 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.387e-05/0.00363, allocations: 0 / 0.8923 GB, free: 7.031 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.143e-05/0.003651, allocations: 15.38 kB / 0.8923 GB, free: 7.008 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001056/0.003757, allocations: 0.4924 MB / 0.8927 GB, free: 6.504 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.26e-06/0.003762, allocations: 0 / 0.8927 GB, free: 6.504 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.268e-06/0.003766, allocations: 0 / 0.8927 GB, free: 6.504 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.563e-05/0.003792, allocations: 19.67 kB / 0.8928 GB, free: 6.48 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.003793, allocations: 0 / 0.8928 GB, free: 6.48 MB / 0.8542 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.103e-05/0.003834, allocations: 33.64 kB / 0.8928 GB, free: 6.441 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.039e-05/0.003845, allocations: 8 kB / 0.8928 GB, free: 6.434 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.003849, allocations: 0 / 0.8928 GB, free: 6.434 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.609e-06/0.003858, allocations: 0 / 0.8928 GB, free: 6.434 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.058e-05/0.003889, allocations: 4.094 kB / 0.8928 GB, free: 6.43 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.044e-06/0.003891, allocations: 0 / 0.8928 GB, free: 6.43 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.725e-06/0.003899, allocations: 4 kB / 0.8928 GB, free: 6.426 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.256e-06/0.003902, allocations: 0 / 0.8928 GB, free: 6.426 MB / 0.8542 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.432e-05/0.003956, allocations: 160.5 kB / 0.893 GB, free: 6.258 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.829e-06/0.003966, allocations: 3.984 kB / 0.893 GB, free: 6.254 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.63e-05/0.004023, allocations: 44.69 kB / 0.893 GB, free: 6.203 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.323e-06/0.004024, allocations: 0 / 0.893 GB, free: 6.203 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.293e-06/0.004025, allocations: 3.938 kB / 0.893 GB, free: 6.199 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.334e-06/0.004027, allocations: 4.031 kB / 0.893 GB, free: 6.195 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5e-05/0.004077, allocations: 93.2 kB / 0.8931 GB, free: 6.078 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.004079, allocations: 7.922 kB / 0.8931 GB, free: 6.07 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.5e-06/0.004084, allocations: 4 kB / 0.8931 GB, free: 6.066 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.92e-07/0.004085, allocations: 0 / 0.8931 GB, free: 6.066 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.695e-06/0.004088, allocations: 0 / 0.8931 GB, free: 6.066 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.7e-07/0.004089, allocations: 0 / 0.8931 GB, free: 6.066 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.004089, allocations: 0 / 0.8931 GB, free: 6.066 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.267e-05/0.004142, allocations: 68.39 kB / 0.8932 GB, free: 5.977 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 4.548e-06/0.004146, allocations: 7.953 kB / 0.8932 GB, free: 5.969 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.626e-06/0.004155, allocations: 7.984 kB / 0.8932 GB, free: 5.961 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.246e-06/0.004158, allocations: 4.031 kB / 0.8932 GB, free: 5.957 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.556e-06/0.004167, allocations: 0 / 0.8932 GB, free: 5.957 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.112e-06/0.004168, allocations: 0 / 0.8932 GB, free: 5.957 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 2.845e-05/0.004196, allocations: 119.2 kB / 0.8933 GB, free: 5.84 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.004196, allocations: 0 / 0.8933 GB, free: 5.84 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001255/0.004322, allocations: 19.88 kB / 0.8933 GB, free: 5.82 MB / 0.8542 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.0001128/0.004435, allocations: 111.2 kB / 0.8934 GB, free: 5.699 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 5.643e-05/0.004491, allocations: 11.69 kB / 0.8935 GB, free: 5.684 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.004493, allocations: 64 / 0.8935 GB, free: 5.684 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 5.941e-06/0.004498, allocations: 11.69 kB / 0.8935 GB, free: 5.668 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.645e-05/0.004585, allocations: 7.938 kB / 0.8935 GB, free: 5.66 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002832/0.004868, allocations: 76 kB / 0.8935 GB, free: 5.555 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.243e-05/0.004901, allocations: 59.34 kB / 0.8936 GB, free: 5.477 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 1.725e-05/0.004918, allocations: 0 / 0.8936 GB, free: 5.477 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.657e-05/0.004954, allocations: 66.2 kB / 0.8937 GB, free: 5.41 MB / 0.8542 GB Notification: Performance of SimCode: time 4.61e-07/0.004955, allocations: 0 / 0.8937 GB, free: 5.41 MB / 0.8542 GB Notification: Performance of Templates: time 0.001811/0.006766, allocations: 0.5354 MB / 0.8942 GB, free: 4.875 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_RegNonZeroPower.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.280222659930587]