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.0008901/0.0008901, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.001031/0.001031, allocations: 173 kB / 23.49 MB, free: 1.055 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.9855/0.9855, allocations: 177.1 MB / 203.8 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.126/2.126, allocations: 429.5 MB / 0.6736 GB, free: 4.051 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.734e-06/1.734e-06, allocations: 1.094 kB / 0.8782 GB, free: 6.605 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.852e-05/3.026e-05, allocations: 2.312 kB / 0.8782 GB, free: 6.602 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.00123/0.00126, allocations: 0.6178 MB / 0.8788 GB, free: 6.004 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0005363/0.001796, allocations: 325.7 kB / 0.8791 GB, free: 5.691 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.706e-05/0.001824, allocations: 3.938 kB / 0.8792 GB, free: 5.688 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 1.646e-05/0.00184, allocations: 0 / 0.8792 GB, free: 5.688 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 1.945e-05/0.001859, allocations: 1.656 kB / 0.8792 GB, free: 5.688 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004218/0.002281, allocations: 115.6 kB / 0.8793 GB, free: 5.574 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 5.699e-05/0.002338, allocations: 8.484 kB / 0.8793 GB, free: 5.566 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 4.086e-05/0.002379, allocations: 1.688 kB / 0.8793 GB, free: 5.566 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 2.942e-05/0.002409, allocations: 4 kB / 0.8793 GB, free: 5.562 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 6.374e-05/0.002472, allocations: 7.984 kB / 0.8793 GB, free: 5.555 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.623e-05/0.002488, allocations: 3.938 kB / 0.8793 GB, free: 5.551 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002797/0.002768, allocations: 260.1 kB / 0.8795 GB, free: 5.297 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.645e-05/0.002785, allocations: 0 / 0.8795 GB, free: 5.297 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 1.798e-05/0.002803, allocations: 1.344 kB / 0.8795 GB, free: 5.297 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001966/0.002999, allocations: 127.7 kB / 0.8797 GB, free: 5.172 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.404e-06/0.003002, allocations: 0 / 0.8797 GB, free: 5.172 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.113e-06/0.003003, allocations: 0.6875 kB / 0.8797 GB, free: 5.172 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 6.241e-06/0.003009, allocations: 0 / 0.8797 GB, free: 5.172 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.0003768/0.003386, allocations: 378 kB / 0.88 GB, free: 4.766 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.658e-05/0.003432, allocations: 8.031 kB / 0.88 GB, free: 4.758 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001005/0.003533, allocations: 4.938 kB / 0.88 GB, free: 4.754 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.721e-05/0.00363, allocations: 108.6 kB / 0.8801 GB, free: 4.621 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.436e-05/0.003644, allocations: 6.312 kB / 0.8801 GB, free: 4.617 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.54e-05/0.00367, allocations: 4.375 kB / 0.8801 GB, free: 4.613 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001109/0.003781, allocations: 59.95 kB / 0.8802 GB, free: 4.543 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.205e-06/0.003789, allocations: 192 / 0.8802 GB, free: 4.543 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.158e-05/0.003801, allocations: 384 / 0.8802 GB, free: 4.543 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.257e-06/0.00381, allocations: 2.969 kB / 0.8802 GB, free: 4.543 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.614e-05/0.003826, allocations: 11.88 kB / 0.8802 GB, free: 4.531 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001329/0.003959, allocations: 116.6 kB / 0.8803 GB, free: 4.383 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 4.683e-05/0.004006, allocations: 31.03 kB / 0.8804 GB, free: 4.34 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.11e-05/0.004027, allocations: 15.67 kB / 0.8804 GB, free: 4.32 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003707/0.004397, allocations: 86.05 kB / 0.8805 GB, free: 4.238 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.494e-05/0.004422, allocations: 33.39 kB / 0.8805 GB, free: 4.195 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 1.292e-06/0.004424, allocations: 0 / 0.8805 GB, free: 4.195 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3): time 0.0005537/0.004977, allocations: 177.7 kB / 0.8807 GB, free: 3.984 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.318e-05/0.005011, allocations: 59.41 kB / 0.8807 GB, free: 3.914 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.312e-05/0.005084, allocations: 157.9 kB / 0.8809 GB, free: 3.742 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.088e-05/0.005095, allocations: 25.7 kB / 0.8809 GB, free: 3.711 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 3.722e-05/0.005132, allocations: 131.2 kB / 0.881 GB, free: 3.578 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.445e-05/0.005156, allocations: 11.95 kB / 0.881 GB, free: 3.566 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.96e-05/0.005186, allocations: 19.38 kB / 0.881 GB, free: 3.539 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001122/0.005298, allocations: 0.4884 MB / 0.8815 GB, free: 3.039 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.39e-05/0.005312, allocations: 4 kB / 0.8815 GB, free: 3.035 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.719e-05/0.005339, allocations: 23.31 kB / 0.8815 GB, free: 3.004 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.927e-05/0.005378, allocations: 27.38 kB / 0.8816 GB, free: 2.969 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.005379, allocations: 0 / 0.8816 GB, free: 2.969 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.145e-05/0.005461, allocations: 57.58 kB / 0.8816 GB, free: 2.906 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.575e-05/0.005476, allocations: 12.06 kB / 0.8816 GB, free: 2.895 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.005482, allocations: 0 / 0.8816 GB, free: 2.895 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.314e-05/0.005495, allocations: 0 / 0.8816 GB, free: 2.895 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.802e-05/0.005553, allocations: 7.984 kB / 0.8816 GB, free: 2.887 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.729e-06/0.005563, allocations: 7.938 kB / 0.8817 GB, free: 2.879 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.214e-05/0.005575, allocations: 0 / 0.8817 GB, free: 2.879 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.244e-05/0.005587, allocations: 3.984 kB / 0.8817 GB, free: 2.875 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 7.538e-05/0.005662, allocations: 164.5 kB / 0.8818 GB, free: 2.703 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.73e-05/0.00568, allocations: 0 / 0.8818 GB, free: 2.703 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001224/0.005802, allocations: 57.31 kB / 0.8819 GB, free: 2.637 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.005804, allocations: 0 / 0.8819 GB, free: 2.637 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.427e-06/0.005807, allocations: 0 / 0.8819 GB, free: 2.637 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.95e-06/0.005812, allocations: 11.92 kB / 0.8819 GB, free: 2.625 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.228e-05/0.005885, allocations: 108.6 kB / 0.882 GB, free: 2.484 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/0.005889, allocations: 11.94 kB / 0.882 GB, free: 2.473 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.412e-05/0.005933, allocations: 4 kB / 0.882 GB, free: 2.469 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.005935, allocations: 0 / 0.882 GB, free: 2.469 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.071e-06/0.005941, allocations: 0 / 0.882 GB, free: 2.469 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.02e-07/0.005942, allocations: 0 / 0.882 GB, free: 2.469 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.005943, allocations: 0 / 0.882 GB, free: 2.469 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001184/0.006061, allocations: 96.3 kB / 0.8821 GB, free: 2.352 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 7.204e-06/0.006068, allocations: 7.953 kB / 0.8821 GB, free: 2.344 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.132e-05/0.00608, allocations: 0 / 0.8821 GB, free: 2.344 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.818e-05/0.006098, allocations: 0 / 0.8821 GB, free: 2.344 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.524e-05/0.006113, allocations: 0 / 0.8821 GB, free: 2.344 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.43e-06/0.006119, allocations: 7.984 kB / 0.8821 GB, free: 2.336 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 3.515e-05/0.006154, allocations: 127.1 kB / 0.8822 GB, free: 2.211 MB / 0.8386 GB Notification: Performance of sort global known variables: time 5e-08/0.006154, allocations: 0 / 0.8822 GB, free: 2.211 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001447/0.006298, allocations: 23.94 kB / 0.8823 GB, free: 2.188 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.0001837/0.006482, allocations: 131.3 kB / 0.8824 GB, free: 2.051 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 8.791e-05/0.00657, allocations: 27.67 kB / 0.8824 GB, free: 2.02 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.006572, allocations: 0 / 0.8824 GB, free: 2.02 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.357e-05/0.006585, allocations: 15.86 kB / 0.8824 GB, free: 2 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001181/0.006703, allocations: 2.25 kB / 0.8824 GB, free: 2 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002499/0.006953, allocations: 114.4 kB / 0.8825 GB, free: 1.859 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.253e-05/0.006986, allocations: 59.34 kB / 0.8826 GB, free: 1.781 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.559e-05/0.007011, allocations: 4.125 kB / 0.8826 GB, free: 1.777 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.991e-05/0.007031, allocations: 12.5 kB / 0.8826 GB, free: 1.766 MB / 0.8386 GB Notification: Performance of SimCode: time 7.31e-07/0.007032, allocations: 0 / 0.8826 GB, free: 1.766 MB / 0.8386 GB Notification: Performance of Templates: time 0.002818/0.00985, allocations: 0.9109 MB / 0.8835 GB, free: 0.875 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.440293932100758]