Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.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.001351/0.001351, allocations: 85.17 kB / 19.87 MB, free: 4.617 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.001667/0.001667, 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 0.9736/0.9736, allocations: 177.1 MB / 203.7 MB, free: 5.516 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.366/2.366, 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.RegNonZeroPowerDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|x|y|der.x.|der.y.",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck") translateModel(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|x|y|der.x.|der.y.",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.804e-06/1.804e-06, allocations: 0 / 0.8898 GB, free: 9.703 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.728e-05/2.909e-05, allocations: 5.266 kB / 0.8898 GB, free: 9.699 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.001358/0.001387, allocations: 0.6071 MB / 0.8904 GB, free: 9.094 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.0004851/0.001873, allocations: 314.8 kB / 0.8907 GB, free: 8.785 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.568e-05/0.001898, allocations: 4 kB / 0.8907 GB, free: 8.781 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 1.746e-05/0.001916, allocations: 0 / 0.8907 GB, free: 8.781 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 2.375e-05/0.001939, allocations: 3.938 kB / 0.8907 GB, free: 8.777 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.000401/0.00234, allocations: 111.6 kB / 0.8908 GB, free: 8.668 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 5.397e-05/0.002394, allocations: 11.98 kB / 0.8908 GB, free: 8.656 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 3.734e-05/0.002432, allocations: 4 kB / 0.8908 GB, free: 8.652 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 3.216e-05/0.002464, allocations: 3.938 kB / 0.8908 GB, free: 8.648 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 5.728e-05/0.002521, allocations: 7.984 kB / 0.8908 GB, free: 8.641 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 1.486e-05/0.002536, allocations: 4 kB / 0.8908 GB, free: 8.637 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002816/0.002818, allocations: 259.6 kB / 0.8911 GB, free: 8.383 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 1.654e-05/0.002834, allocations: 3.938 kB / 0.8911 GB, free: 8.379 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 1.449e-05/0.002849, allocations: 4 kB / 0.8911 GB, free: 8.375 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0001714/0.00302, allocations: 123.7 kB / 0.8912 GB, free: 8.254 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 2.224e-06/0.003022, allocations: 0 / 0.8912 GB, free: 8.254 MB / 0.8542 GB Notification: Performance of FrontEnd: time 7.71e-07/0.003023, allocations: 0 / 0.8912 GB, free: 8.254 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 4.748e-06/0.003028, allocations: 0 / 0.8912 GB, free: 8.254 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002766/0.003304, allocations: 372.4 kB / 0.8916 GB, free: 7.852 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.861e-05/0.003343, allocations: 12.03 kB / 0.8916 GB, free: 7.84 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.931e-05/0.003402, allocations: 4.938 kB / 0.8916 GB, free: 7.836 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.084e-05/0.003473, allocations: 108.6 kB / 0.8917 GB, free: 7.703 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.518e-06/0.003483, allocations: 384 / 0.8917 GB, free: 7.703 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.44e-05/0.003497, allocations: 384 / 0.8917 GB, free: 7.703 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.891e-05/0.003576, allocations: 63.89 kB / 0.8918 GB, free: 7.629 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.001e-06/0.003582, allocations: 192 / 0.8918 GB, free: 7.629 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.913e-06/0.003589, allocations: 384 / 0.8918 GB, free: 7.629 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.117e-06/0.003593, allocations: 384 / 0.8918 GB, free: 7.629 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.666e-05/0.00361, allocations: 11.94 kB / 0.8918 GB, free: 7.617 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000107/0.003717, allocations: 101.2 kB / 0.8919 GB, free: 7.492 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 3.795e-05/0.003755, allocations: 31.09 kB / 0.8919 GB, free: 7.449 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.151e-05/0.003766, allocations: 11.62 kB / 0.8919 GB, free: 7.434 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003084/0.004074, allocations: 83.97 kB / 0.892 GB, free: 7.352 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.564e-05/0.0041, allocations: 41.33 kB / 0.892 GB, free: 7.301 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=2): time 1.192e-06/0.004101, allocations: 4 kB / 0.892 GB, free: 7.297 MB / 0.8542 GB Notification: Performance of matching and sorting (n=3): time 0.00034/0.004441, allocations: 181.7 kB / 0.8922 GB, free: 7.082 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.26e-05/0.004464, allocations: 51.41 kB / 0.8922 GB, free: 7.02 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.336e-05/0.004527, allocations: 157.9 kB / 0.8924 GB, free: 6.848 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 9.588e-06/0.004537, allocations: 25.7 kB / 0.8924 GB, free: 6.816 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 4.042e-05/0.004577, allocations: 130.9 kB / 0.8925 GB, free: 6.684 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.224e-05/0.004599, allocations: 7.938 kB / 0.8926 GB, free: 6.676 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.604e-05/0.004626, allocations: 23.72 kB / 0.8926 GB, free: 6.645 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.000109/0.004735, allocations: 0.4922 MB / 0.8931 GB, free: 6.141 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.659e-06/0.004744, allocations: 4 kB / 0.8931 GB, free: 6.137 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.928e-05/0.004764, allocations: 19.38 kB / 0.8931 GB, free: 6.109 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.564e-05/0.004799, allocations: 35.3 kB / 0.8931 GB, free: 6.066 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.21e-07/0.0048, allocations: 0 / 0.8931 GB, free: 6.066 MB / 0.8542 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.781e-05/0.004878, allocations: 49.64 kB / 0.8932 GB, free: 6.012 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.095e-05/0.004889, allocations: 4 kB / 0.8932 GB, free: 6.008 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.828e-06/0.004893, allocations: 0 / 0.8932 GB, free: 6.008 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.438e-06/0.004902, allocations: 4.062 kB / 0.8932 GB, free: 6.004 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.031e-05/0.004942, allocations: 11.94 kB / 0.8932 GB, free: 5.992 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.078e-06/0.004946, allocations: 3.984 kB / 0.8932 GB, free: 5.988 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.241e-05/0.004959, allocations: 7.938 kB / 0.8932 GB, free: 5.98 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.34e-06/0.004964, allocations: 4 kB / 0.8932 GB, free: 5.977 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (4): * Single equations (assignments): 4 * 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.751e-05/0.005022, allocations: 156.5 kB / 0.8933 GB, free: 5.812 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.944e-05/0.005041, allocations: 4 kB / 0.8933 GB, free: 5.809 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.487e-05/0.005126, allocations: 49.31 kB / 0.8934 GB, free: 5.75 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.005128, allocations: 4 kB / 0.8934 GB, free: 5.746 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.784e-06/0.00513, allocations: 4 kB / 0.8934 GB, free: 5.742 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.005133, allocations: 0 / 0.8934 GB, free: 5.742 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.748e-05/0.0052, allocations: 105.2 kB / 0.8935 GB, free: 5.613 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.005202, allocations: 3.938 kB / 0.8935 GB, free: 5.609 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.437e-05/0.005236, allocations: 4 kB / 0.8935 GB, free: 5.605 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.005238, allocations: 0 / 0.8935 GB, free: 5.605 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.437e-06/0.005241, allocations: 3.938 kB / 0.8935 GB, free: 5.602 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.31e-07/0.005242, allocations: 0 / 0.8935 GB, free: 5.602 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.005243, allocations: 0 / 0.8935 GB, free: 5.602 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.861e-05/0.005342, allocations: 88.36 kB / 0.8936 GB, free: 5.492 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 7.865e-06/0.005349, allocations: 11.98 kB / 0.8936 GB, free: 5.48 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.134e-06/0.005357, allocations: 0 / 0.8936 GB, free: 5.48 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.577e-05/0.005372, allocations: 0 / 0.8936 GB, free: 5.48 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.023e-05/0.005383, allocations: 0 / 0.8936 GB, free: 5.48 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.47e-06/0.005388, allocations: 8 kB / 0.8936 GB, free: 5.473 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 2.96e-05/0.005418, allocations: 119.2 kB / 0.8937 GB, free: 5.355 MB / 0.8542 GB Notification: Performance of sort global known variables: time 4e-08/0.005418, allocations: 0 / 0.8937 GB, free: 5.355 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.000138/0.005556, allocations: 31.86 kB / 0.8938 GB, free: 5.324 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y) * 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 (3): * Single equations (assignments): 3 * 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.0001481/0.005704, allocations: 131.2 kB / 0.8939 GB, free: 5.184 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 5.559e-05/0.005759, allocations: 19.78 kB / 0.8939 GB, free: 5.16 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.005761, allocations: 0 / 0.8939 GB, free: 5.16 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 1.419e-05/0.005775, allocations: 19.67 kB / 0.8939 GB, free: 5.137 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.551e-05/0.005871, allocations: 3.938 kB / 0.8939 GB, free: 5.133 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001724/0.006043, allocations: 118.3 kB / 0.894 GB, free: 4.988 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.542e-05/0.006068, allocations: 51.36 kB / 0.8941 GB, free: 4.918 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 2.195e-05/0.00609, allocations: 8.312 kB / 0.8941 GB, free: 4.91 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.888e-05/0.006129, allocations: 78.33 kB / 0.8942 GB, free: 4.832 MB / 0.8542 GB Notification: Performance of SimCode: time 6.71e-07/0.00613, allocations: 0 / 0.8942 GB, free: 4.832 MB / 0.8542 GB Notification: Performance of Templates: time 0.002378/0.008508, allocations: 1.026 MB / 0.8952 GB, free: 3.812 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck.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.295217846985906]