Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.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.0009048/0.0009048, allocations: 80.92 kB / 20.75 MB, free: 3.742 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.0009285/0.0009285, 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 1.021/1.021, allocations: 177.2 MB / 204.6 MB, free: 5.461 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.854/1.854, allocations: 377.9 MB / 0.624 GB, free: 8.371 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.RegNonZeroPowerDerivative_2_Check,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|x|y|der.x.|der.y.",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check") translateModel(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|x|y|der.x.|der.y.",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 0.7601 GB, free: 6.57 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.665e-05/1.81e-05, allocations: 6.031 kB / 0.7601 GB, free: 6.566 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.001112/0.00113, allocations: 0.6479 MB / 0.7607 GB, free: 5.938 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0004815/0.001611, allocations: 328.8 kB / 0.761 GB, free: 5.621 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.095e-05/0.001632, allocations: 0.7812 kB / 0.761 GB, free: 5.621 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 1.303e-05/0.001645, allocations: 3.938 kB / 0.761 GB, free: 5.617 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 2.907e-05/0.001674, allocations: 0.6875 kB / 0.761 GB, free: 5.617 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003451/0.00202, allocations: 113.5 kB / 0.7611 GB, free: 5.508 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 5.902e-05/0.002079, allocations: 31.36 kB / 0.7612 GB, free: 5.48 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 3.092e-05/0.00211, allocations: 8 kB / 0.7612 GB, free: 5.473 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 5.187e-05/0.002161, allocations: 17.75 kB / 0.7612 GB, free: 5.457 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 4.61e-05/0.002207, allocations: 13.62 kB / 0.7612 GB, free: 5.445 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.282e-05/0.00222, allocations: 0 / 0.7612 GB, free: 5.445 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002434/0.002464, allocations: 260.6 kB / 0.7615 GB, free: 5.191 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.628e-05/0.00248, allocations: 8.984 kB / 0.7615 GB, free: 5.184 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 1.317e-05/0.002493, allocations: 11.08 kB / 0.7615 GB, free: 5.176 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001483/0.002641, allocations: 121.6 kB / 0.7616 GB, free: 5.059 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.764e-06/0.002643, allocations: 4 kB / 0.7616 GB, free: 5.055 MB / 0.7136 GB Notification: Performance of FrontEnd: time 8.21e-07/0.002644, allocations: 0 / 0.7616 GB, free: 5.055 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.206e-06/0.002647, allocations: 0 / 0.7616 GB, free: 5.055 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003172/0.002964, allocations: 266.8 kB / 0.7618 GB, free: 4.77 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.75e-05/0.003002, allocations: 8.031 kB / 0.7619 GB, free: 4.762 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.171e-05/0.003084, allocations: 12.89 kB / 0.7619 GB, free: 4.75 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.872e-05/0.003182, allocations: 111.5 kB / 0.762 GB, free: 4.617 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.158e-05/0.003194, allocations: 384 / 0.762 GB, free: 4.617 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.637e-05/0.00322, allocations: 8.359 kB / 0.762 GB, free: 4.609 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001093/0.00333, allocations: 94.31 kB / 0.7621 GB, free: 4.5 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/0.00334, allocations: 192 / 0.7621 GB, free: 4.5 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.704e-06/0.003348, allocations: 1.125 kB / 0.7621 GB, free: 4.5 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.612e-06/0.003354, allocations: 4.375 kB / 0.7621 GB, free: 4.496 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.746e-05/0.003382, allocations: 16.55 kB / 0.7621 GB, free: 4.48 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001106/0.003492, allocations: 73.72 kB / 0.7622 GB, free: 4.395 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 7.6e-05/0.003568, allocations: 47.48 kB / 0.7622 GB, free: 4.34 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.989e-05/0.003588, allocations: 22.56 kB / 0.7622 GB, free: 4.316 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000275/0.003863, allocations: 78.34 kB / 0.7623 GB, free: 4.242 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.347e-05/0.003887, allocations: 30.56 kB / 0.7623 GB, free: 4.203 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 1.032e-06/0.003888, allocations: 0.7188 kB / 0.7623 GB, free: 4.203 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11): time 0.0007795/0.004667, allocations: 442 kB / 0.7628 GB, free: 3.723 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.042e-05/0.004698, allocations: 58.81 kB / 0.7628 GB, free: 3.656 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.152e-05/0.004749, allocations: 106.6 kB / 0.7629 GB, free: 3.539 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.398e-05/0.004763, allocations: 29.7 kB / 0.7629 GB, free: 3.504 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 2.458e-05/0.004788, allocations: 88.12 kB / 0.763 GB, free: 3.414 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.213e-05/0.00482, allocations: 35.64 kB / 0.7631 GB, free: 3.379 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.069e-05/0.004851, allocations: 29.69 kB / 0.7631 GB, free: 3.344 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.014e-05/0.004921, allocations: 322.8 kB / 0.7634 GB, free: 3.02 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.515e-05/0.004936, allocations: 15.98 kB / 0.7634 GB, free: 3.004 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.402e-05/0.00495, allocations: 10.16 kB / 0.7634 GB, free: 2.996 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.012e-05/0.00499, allocations: 39.45 kB / 0.7635 GB, free: 2.957 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.31e-07/0.004991, allocations: 0 / 0.7635 GB, free: 2.957 MB / 0.7136 GB Notification: Performance of matching and sorting (n=13) (initialization): time 7.734e-05/0.005068, allocations: 77.61 kB / 0.7635 GB, free: 2.875 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 9.268e-06/0.005078, allocations: 4 kB / 0.7635 GB, free: 2.871 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.127e-06/0.005082, allocations: 0.9062 kB / 0.7635 GB, free: 2.871 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.209e-05/0.005094, allocations: 0 / 0.7635 GB, free: 2.871 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.8e-05/0.005152, allocations: 19.98 kB / 0.7636 GB, free: 2.852 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.178e-06/0.005156, allocations: 8.688 kB / 0.7636 GB, free: 2.844 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.102e-05/0.005167, allocations: 0 / 0.7636 GB, free: 2.844 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.4e-06/0.005172, allocations: 4.5 kB / 0.7636 GB, free: 2.84 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 (13): * Single equations (assignments): 13 * 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.011e-05/0.005222, allocations: 116.6 kB / 0.7637 GB, free: 2.719 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.688e-05/0.005239, allocations: 8 kB / 0.7637 GB, free: 2.711 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.328e-05/0.005333, allocations: 85.8 kB / 0.7638 GB, free: 2.617 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.312e-06/0.005334, allocations: 0 / 0.7638 GB, free: 2.617 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.352e-06/0.005335, allocations: 0 / 0.7638 GB, free: 2.617 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.05e-06/0.00534, allocations: 3.938 kB / 0.7638 GB, free: 2.613 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001821/0.005522, allocations: 230.7 kB / 0.764 GB, free: 2.363 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.005523, allocations: 2.438 kB / 0.764 GB, free: 2.363 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.713e-05/0.00558, allocations: 19.98 kB / 0.764 GB, free: 2.344 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.223e-06/0.005582, allocations: 0 / 0.764 GB, free: 2.344 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.821e-06/0.005588, allocations: 8 kB / 0.764 GB, free: 2.336 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.005589, allocations: 0 / 0.764 GB, free: 2.336 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.00559, allocations: 3.938 kB / 0.764 GB, free: 2.332 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001233/0.005713, allocations: 181.2 kB / 0.7642 GB, free: 2.141 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 1.745e-05/0.005731, allocations: 15.92 kB / 0.7642 GB, free: 2.125 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.915e-06/0.005739, allocations: 3.938 kB / 0.7642 GB, free: 2.121 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.588e-05/0.005775, allocations: 8 kB / 0.7642 GB, free: 2.113 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.321e-05/0.005788, allocations: 8.953 kB / 0.7642 GB, free: 2.105 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.997e-06/0.005792, allocations: 4 kB / 0.7642 GB, free: 2.102 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 8.326e-06/0.0058, allocations: 8.859 kB / 0.7642 GB, free: 2.09 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5e-08/0.0058, allocations: 3.031 kB / 0.7643 GB, free: 2.09 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001491/0.005949, allocations: 43.92 kB / 0.7643 GB, free: 2.047 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (y_comp,der_y_comp) * 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 (11): * Single equations (assignments): 11 * 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.0001447/0.006094, allocations: 132.2 kB / 0.7644 GB, free: 1.91 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 7.176e-05/0.006166, allocations: 40.78 kB / 0.7645 GB, free: 1.867 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.006169, allocations: 4 kB / 0.7645 GB, free: 1.863 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.257e-05/0.006191, allocations: 28.84 kB / 0.7645 GB, free: 1.832 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001044/0.006296, allocations: 15.84 kB / 0.7645 GB, free: 1.82 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002207/0.006516, allocations: 160.3 kB / 0.7647 GB, free: 1.637 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.011e-05/0.006547, allocations: 59.34 kB / 0.7647 GB, free: 1.559 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.244e-05/0.006579, allocations: 8 kB / 0.7647 GB, free: 1.551 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.787e-05/0.006627, allocations: 67.36 kB / 0.7648 GB, free: 1.484 MB / 0.7136 GB Notification: Performance of SimCode: time 3.5e-07/0.006627, allocations: 0 / 0.7648 GB, free: 1.484 MB / 0.7136 GB Notification: Performance of Templates: time 0.003066/0.009693, allocations: 1.622 MB / 0.7664 GB, free: 15.96 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.sim & ./Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check.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.000083752907813]