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.001097/0.001097, allocations: 93.06 kB / 19.65 MB, free: 276 kB / 13.93 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.001011/0.001011, allocations: 169 kB / 23.02 MB, free: 1.551 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.9468/0.9468, allocations: 177.1 MB / 203.4 MB, free: 5.652 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.089/2.089, allocations: 429.5 MB / 0.6732 GB, free: 4.02 MB / 0.6355 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.283e-06/1.283e-06, allocations: 0 / 0.8782 GB, free: 6.262 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.282e-05/2.411e-05, allocations: 2.312 kB / 0.8782 GB, free: 6.258 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.001089/0.001113, allocations: 0.6256 MB / 0.8788 GB, free: 5.656 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0004659/0.001579, allocations: 324.6 kB / 0.8791 GB, free: 5.344 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.163e-05/0.001601, allocations: 224 / 0.8791 GB, free: 5.344 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 1.708e-05/0.001618, allocations: 0 / 0.8791 GB, free: 5.344 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 1.746e-05/0.001635, allocations: 3.938 kB / 0.8791 GB, free: 5.34 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003541/0.00199, allocations: 116.5 kB / 0.8793 GB, free: 5.227 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 4.514e-05/0.002035, allocations: 7.984 kB / 0.8793 GB, free: 5.219 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 3.274e-05/0.002067, allocations: 1.031 kB / 0.8793 GB, free: 5.219 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 2.769e-05/0.002095, allocations: 8 kB / 0.8793 GB, free: 5.211 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 4.787e-05/0.002143, allocations: 7.984 kB / 0.8793 GB, free: 5.203 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.377e-05/0.002157, allocations: 1.125 kB / 0.8793 GB, free: 5.203 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002504/0.002407, allocations: 255.6 kB / 0.8795 GB, free: 4.953 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.235e-05/0.002419, allocations: 3.938 kB / 0.8795 GB, free: 4.949 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 1.524e-05/0.002435, allocations: 5.125 kB / 0.8795 GB, free: 4.945 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001585/0.002593, allocations: 123.7 kB / 0.8797 GB, free: 4.824 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 1.984e-06/0.002595, allocations: 4 kB / 0.8797 GB, free: 4.82 MB / 0.8386 GB Notification: Performance of FrontEnd: time 5.61e-07/0.002596, allocations: 1 kB / 0.8797 GB, free: 4.82 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.997e-06/0.0026, allocations: 0 / 0.8797 GB, free: 4.82 MB / 0.8386 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.0002789/0.002879, allocations: 372.4 kB / 0.88 GB, free: 4.418 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.34e-05/0.002912, allocations: 8.75 kB / 0.88 GB, free: 4.41 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.133e-05/0.002993, allocations: 9.531 kB / 0.88 GB, free: 4.402 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.043e-05/0.003064, allocations: 108.6 kB / 0.8801 GB, free: 4.27 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.958e-06/0.003074, allocations: 1.75 kB / 0.8801 GB, free: 4.27 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.369e-05/0.003098, allocations: 4.375 kB / 0.8801 GB, free: 4.266 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.641e-05/0.003184, allocations: 59.95 kB / 0.8802 GB, free: 4.195 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.482e-06/0.00319, allocations: 0.8125 kB / 0.8802 GB, free: 4.195 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.895e-06/0.003198, allocations: 384 / 0.8802 GB, free: 4.195 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.943e-06/0.003205, allocations: 1.094 kB / 0.8802 GB, free: 4.195 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.482e-05/0.00322, allocations: 9.031 kB / 0.8802 GB, free: 4.188 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001093/0.003329, allocations: 116.7 kB / 0.8803 GB, free: 4.039 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 4.181e-05/0.003371, allocations: 34.94 kB / 0.8804 GB, free: 3.992 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.702e-05/0.003388, allocations: 16.34 kB / 0.8804 GB, free: 3.973 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00033/0.003718, allocations: 80.73 kB / 0.8804 GB, free: 3.898 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.108e-05/0.003739, allocations: 33.39 kB / 0.8805 GB, free: 3.855 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 7.01e-07/0.00374, allocations: 0 / 0.8805 GB, free: 3.855 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3): time 0.0003772/0.004117, allocations: 181.7 kB / 0.8806 GB, free: 3.641 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.096e-05/0.004138, allocations: 52.44 kB / 0.8807 GB, free: 3.578 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.869e-05/0.004197, allocations: 161.9 kB / 0.8809 GB, free: 3.402 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 8.335e-06/0.004205, allocations: 26.23 kB / 0.8809 GB, free: 3.371 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 3.043e-05/0.004236, allocations: 136.3 kB / 0.881 GB, free: 3.234 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.937e-05/0.004255, allocations: 7.906 kB / 0.881 GB, free: 3.227 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.568e-05/0.004281, allocations: 23.38 kB / 0.881 GB, free: 3.195 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 9.595e-05/0.004377, allocations: 496.1 kB / 0.8815 GB, free: 2.699 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.19e-05/0.004388, allocations: 5.219 kB / 0.8815 GB, free: 2.695 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.01e-05/0.004409, allocations: 19.38 kB / 0.8815 GB, free: 2.668 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.732e-05/0.004446, allocations: 31.66 kB / 0.8816 GB, free: 2.629 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.004447, allocations: 4 kB / 0.8816 GB, free: 2.625 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.632e-05/0.004513, allocations: 53.62 kB / 0.8816 GB, free: 2.566 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.016e-05/0.004523, allocations: 6.5 kB / 0.8816 GB, free: 2.562 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.004529, allocations: 8 kB / 0.8816 GB, free: 2.555 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.338e-05/0.004542, allocations: 0 / 0.8816 GB, free: 2.555 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.242e-05/0.004595, allocations: 7.984 kB / 0.8816 GB, free: 2.547 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.674e-06/0.004602, allocations: 7.938 kB / 0.8816 GB, free: 2.539 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.929e-06/0.004612, allocations: 0 / 0.8816 GB, free: 2.539 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.08e-06/0.004617, allocations: 0 / 0.8816 GB, free: 2.539 MB / 0.8386 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.395e-05/0.004671, allocations: 168.6 kB / 0.8818 GB, free: 2.363 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.284e-05/0.004684, allocations: 0 / 0.8818 GB, free: 2.363 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.816e-05/0.004772, allocations: 53.31 kB / 0.8819 GB, free: 2.301 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.004775, allocations: 4.172 kB / 0.8819 GB, free: 2.297 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.825e-06/0.004778, allocations: 0 / 0.8819 GB, free: 2.297 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.004782, allocations: 7.922 kB / 0.8819 GB, free: 2.289 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.531e-05/0.004838, allocations: 112.6 kB / 0.882 GB, free: 2.145 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.11e-07/0.004838, allocations: 0 / 0.882 GB, free: 2.145 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.51e-05/0.004873, allocations: 8 kB / 0.882 GB, free: 2.137 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.292e-06/0.004875, allocations: 7.938 kB / 0.882 GB, free: 2.129 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.929e-06/0.00488, allocations: 0 / 0.882 GB, free: 2.129 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.004882, allocations: 3.984 kB / 0.882 GB, free: 2.125 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.004882, allocations: 0 / 0.882 GB, free: 2.125 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000331/0.005213, allocations: 88.33 kB / 0.8821 GB, free: 2.016 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 4.939e-06/0.005218, allocations: 7.938 kB / 0.8821 GB, free: 2.008 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.955e-06/0.005226, allocations: 0 / 0.8821 GB, free: 2.008 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.526e-05/0.005242, allocations: 0 / 0.8821 GB, free: 2.008 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.605e-05/0.005258, allocations: 7.984 kB / 0.8821 GB, free: 2 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.278e-06/0.005262, allocations: 4 kB / 0.8821 GB, free: 1.996 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 2.736e-05/0.005289, allocations: 127.2 kB / 0.8822 GB, free: 1.871 MB / 0.8386 GB Notification: Performance of sort global known variables: time 6e-08/0.005289, allocations: 0 / 0.8822 GB, free: 1.871 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001377/0.005427, allocations: 23.94 kB / 0.8822 GB, free: 1.848 MB / 0.8386 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.0001298/0.005557, allocations: 127.2 kB / 0.8824 GB, free: 1.715 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 6.896e-05/0.005626, allocations: 23.67 kB / 0.8824 GB, free: 1.688 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.152e-06/0.005627, allocations: 4 kB / 0.8824 GB, free: 1.684 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.188e-05/0.005639, allocations: 15.62 kB / 0.8824 GB, free: 1.664 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.977e-05/0.005739, allocations: 2.062 kB / 0.8824 GB, free: 1.664 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001993/0.005938, allocations: 110.6 kB / 0.8825 GB, free: 1.527 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.673e-05/0.005965, allocations: 63.34 kB / 0.8826 GB, free: 1.445 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.025e-05/0.005985, allocations: 0 / 0.8826 GB, free: 1.445 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.805e-05/0.006003, allocations: 12.5 kB / 0.8826 GB, free: 1.434 MB / 0.8386 GB Notification: Performance of SimCode: time 4.31e-07/0.006003, allocations: 0 / 0.8826 GB, free: 1.434 MB / 0.8386 GB Notification: Performance of Templates: time 0.002236/0.00824, allocations: 0.9233 MB / 0.8835 GB, free: 0.5234 MB / 0.8386 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.395949969999492]