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.001022/0.001022, allocations: 80.92 kB / 20.75 MB, free: 3.738 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.001264/0.001264, allocations: 161 kB / 24.17 MB, free: 328 kB / 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 0.9727/0.9727, allocations: 177.1 MB / 204.6 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.886/1.886, allocations: 377.9 MB / 0.624 GB, free: 8.367 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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: Performance of FrontEnd - loaded program: time 1.262e-06/1.262e-06, allocations: 0.7656 kB / 0.7601 GB, free: 6.625 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.209e-05/2.335e-05, allocations: 6.25 kB / 0.7601 GB, free: 6.617 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.001181/0.001204, allocations: 0.6073 MB / 0.7607 GB, free: 6.027 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0004621/0.001666, allocations: 305.6 kB / 0.761 GB, free: 5.734 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.444e-05/0.001681, allocations: 0 / 0.761 GB, free: 5.734 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 1.255e-05/0.001693, allocations: 0 / 0.761 GB, free: 5.734 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 5.761e-06/0.001699, allocations: 0.9844 kB / 0.761 GB, free: 5.734 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003426/0.002042, allocations: 113.2 kB / 0.7611 GB, free: 5.625 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 3.649e-05/0.002078, allocations: 1.078 kB / 0.7611 GB, free: 5.625 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 3.362e-05/0.002112, allocations: 4 kB / 0.7611 GB, free: 5.621 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 2.287e-05/0.002135, allocations: 1.125 kB / 0.7611 GB, free: 5.621 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 2.339e-05/0.002158, allocations: 5.516 kB / 0.7611 GB, free: 5.617 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.096e-05/0.002169, allocations: 0 / 0.7611 GB, free: 5.617 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002768/0.002446, allocations: 256.4 kB / 0.7613 GB, free: 5.367 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.245e-05/0.002458, allocations: 0 / 0.7613 GB, free: 5.367 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 1.021e-05/0.002468, allocations: 5.047 kB / 0.7613 GB, free: 5.363 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001469/0.002615, allocations: 111.7 kB / 0.7614 GB, free: 5.254 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 2.344e-06/0.002618, allocations: 0 / 0.7614 GB, free: 5.254 MB / 0.7136 GB Notification: Performance of FrontEnd: time 9.42e-07/0.002619, allocations: 1.25 kB / 0.7614 GB, free: 5.254 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.076e-06/0.002622, allocations: 0.875 kB / 0.7614 GB, free: 5.254 MB / 0.7136 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.0001968/0.002819, allocations: 240.5 kB / 0.7617 GB, free: 4.992 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 2.959e-05/0.002848, allocations: 9.062 kB / 0.7617 GB, free: 4.984 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.218e-05/0.0029, allocations: 0.9375 kB / 0.7617 GB, free: 4.984 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.112e-05/0.002951, allocations: 109.8 kB / 0.7618 GB, free: 4.852 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.277e-06/0.002961, allocations: 1.891 kB / 0.7618 GB, free: 4.852 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.476e-06/0.002969, allocations: 6.109 kB / 0.7618 GB, free: 4.848 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.559e-05/0.003025, allocations: 34.19 kB / 0.7618 GB, free: 4.809 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.731e-06/0.00303, allocations: 192 / 0.7618 GB, free: 4.809 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.01e-06/0.003035, allocations: 384 / 0.7618 GB, free: 4.809 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.508e-06/0.00304, allocations: 5.594 kB / 0.7618 GB, free: 4.805 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.238e-06/0.003049, allocations: 3.938 kB / 0.7618 GB, free: 4.801 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 5.936e-05/0.003109, allocations: 57.05 kB / 0.7619 GB, free: 4.73 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 3.263e-05/0.003141, allocations: 19.31 kB / 0.7619 GB, free: 4.703 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.067e-06/0.00315, allocations: 9.734 kB / 0.7619 GB, free: 4.691 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002187/0.003369, allocations: 42.38 kB / 0.762 GB, free: 4.652 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.016e-05/0.003389, allocations: 38.5 kB / 0.762 GB, free: 4.605 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=1): time 7.11e-07/0.00339, allocations: 1.281 kB / 0.762 GB, free: 4.605 MB / 0.7136 GB Notification: Performance of matching and sorting (n=1): time 9.149e-05/0.003481, allocations: 37.69 kB / 0.762 GB, free: 4.562 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.588e-05/0.003507, allocations: 51.41 kB / 0.7621 GB, free: 4.5 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.315e-05/0.00353, allocations: 91.3 kB / 0.7622 GB, free: 4.402 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 8.206e-06/0.003539, allocations: 26.86 kB / 0.7622 GB, free: 4.371 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 1.681e-05/0.003555, allocations: 80.14 kB / 0.7623 GB, free: 4.289 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.201e-05/0.003577, allocations: 4 kB / 0.7623 GB, free: 4.285 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.363e-05/0.003601, allocations: 10.75 kB / 0.7623 GB, free: 4.27 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 6.639e-05/0.003667, allocations: 318.8 kB / 0.7626 GB, free: 3.949 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.141e-06/0.003674, allocations: 4 kB / 0.7626 GB, free: 3.945 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.43e-06/0.003679, allocations: 4.875 kB / 0.7626 GB, free: 3.941 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.134e-05/0.0037, allocations: 14.41 kB / 0.7626 GB, free: 3.926 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.003702, allocations: 0 / 0.7626 GB, free: 3.926 MB / 0.7136 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.401e-05/0.003746, allocations: 32.45 kB / 0.7626 GB, free: 3.891 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.055e-05/0.003757, allocations: 4 kB / 0.7626 GB, free: 3.887 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.907e-06/0.003761, allocations: 0 / 0.7626 GB, free: 3.887 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.051e-05/0.003771, allocations: 0 / 0.7626 GB, free: 3.887 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.268e-05/0.003804, allocations: 4.984 kB / 0.7626 GB, free: 3.883 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.114e-06/0.003806, allocations: 0 / 0.7626 GB, free: 3.883 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.532e-06/0.003812, allocations: 0 / 0.7626 GB, free: 3.883 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.989e-06/0.003817, allocations: 3.984 kB / 0.7626 GB, free: 3.879 MB / 0.7136 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 4.476e-05/0.003862, allocations: 116.5 kB / 0.7628 GB, free: 3.758 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.169e-05/0.003874, allocations: 3.938 kB / 0.7628 GB, free: 3.754 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.291e-05/0.003927, allocations: 37.05 kB / 0.7628 GB, free: 3.711 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.262e-06/0.003928, allocations: 0 / 0.7628 GB, free: 3.711 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.212e-06/0.003929, allocations: 0 / 0.7628 GB, free: 3.711 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.164e-06/0.003931, allocations: 1.969 kB / 0.7628 GB, free: 3.711 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.49e-05/0.003976, allocations: 69.83 kB / 0.7629 GB, free: 3.625 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.003978, allocations: 4 kB / 0.7629 GB, free: 3.621 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.122e-06/0.003984, allocations: 0 / 0.7629 GB, free: 3.621 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.092e-06/0.003985, allocations: 0.5625 kB / 0.7629 GB, free: 3.621 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.956e-06/0.003988, allocations: 0.7812 kB / 0.7629 GB, free: 3.621 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.61e-07/0.003989, allocations: 1.312 kB / 0.7629 GB, free: 3.621 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.00399, allocations: 4.562 kB / 0.7629 GB, free: 3.617 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.627e-05/0.004037, allocations: 67.14 kB / 0.7629 GB, free: 3.535 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.617e-06/0.00404, allocations: 4 kB / 0.7629 GB, free: 3.531 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.789e-06/0.004045, allocations: 0 / 0.7629 GB, free: 3.531 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.446e-06/0.004048, allocations: 0 / 0.7629 GB, free: 3.531 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.855e-06/0.004056, allocations: 0 / 0.7629 GB, free: 3.531 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.353e-06/0.004058, allocations: 0 / 0.7629 GB, free: 3.531 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 5.981e-06/0.004064, allocations: 7.297 kB / 0.763 GB, free: 3.523 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5e-08/0.004064, allocations: 0 / 0.763 GB, free: 3.523 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001016/0.004165, allocations: 15.94 kB / 0.763 GB, free: 3.508 MB / 0.7136 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.0001211/0.004286, allocations: 93.39 kB / 0.7631 GB, free: 3.406 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 4.096e-05/0.004327, allocations: 8.859 kB / 0.7631 GB, free: 3.395 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.004329, allocations: 2.062 kB / 0.7631 GB, free: 3.395 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 6.262e-06/0.004336, allocations: 12.8 kB / 0.7631 GB, free: 3.379 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 4.248e-05/0.004378, allocations: 7.922 kB / 0.7631 GB, free: 3.371 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001215/0.0045, allocations: 78.45 kB / 0.7632 GB, free: 3.266 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.363e-05/0.004523, allocations: 52.89 kB / 0.7632 GB, free: 3.195 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 1.436e-05/0.004538, allocations: 0 / 0.7632 GB, free: 3.195 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.156e-05/0.004559, allocations: 47.38 kB / 0.7633 GB, free: 3.148 MB / 0.7136 GB Notification: Performance of SimCode: time 4.21e-07/0.00456, allocations: 3.156 kB / 0.7633 GB, free: 3.148 MB / 0.7136 GB Notification: Performance of Templates: time 0.001762/0.006321, allocations: 0.5484 MB / 0.7638 GB, free: 2.621 MB / 0.7136 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=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.878791422583163]