Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001436/0.001436, allocations: 92.22 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.001616/0.001616, 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.9784/0.9784, allocations: 177.1 MB / 203.4 MB, free: 5.648 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.08/2.08, allocations: 429.5 MB / 0.6732 GB, free: 4.043 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.RegNonZeroPowerDerivative_2_Check,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|x|y|der.x.|der.y.",fileNamePrefix="Buildings_latest_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_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.312e-06/1.312e-06, allocations: 0.7656 kB / 0.8782 GB, free: 6.266 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.736e-05/1.867e-05, allocations: 2.312 kB / 0.8782 GB, free: 6.262 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.001096/0.001115, allocations: 0.6456 MB / 0.8789 GB, free: 5.641 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0004873/0.001602, allocations: 330.3 kB / 0.8792 GB, free: 5.32 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.593e-05/0.001628, allocations: 1.031 kB / 0.8792 GB, free: 5.32 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 1.892e-05/0.001647, allocations: 7.938 kB / 0.8792 GB, free: 5.312 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 2.734e-05/0.001674, allocations: 0 / 0.8792 GB, free: 5.312 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003706/0.002045, allocations: 125.7 kB / 0.8793 GB, free: 5.191 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 5.042e-05/0.002095, allocations: 15.98 kB / 0.8793 GB, free: 5.176 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 3.545e-05/0.002131, allocations: 4 kB / 0.8793 GB, free: 5.172 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 4.688e-05/0.002178, allocations: 20.88 kB / 0.8793 GB, free: 5.152 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 4.857e-05/0.002226, allocations: 11.92 kB / 0.8793 GB, free: 5.141 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.4e-05/0.00224, allocations: 4.531 kB / 0.8794 GB, free: 5.137 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002511/0.002491, allocations: 255.6 kB / 0.8796 GB, free: 4.887 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.437e-05/0.002506, allocations: 9.172 kB / 0.8796 GB, free: 4.879 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 1.772e-05/0.002523, allocations: 7.984 kB / 0.8796 GB, free: 4.871 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001658/0.002689, allocations: 127.7 kB / 0.8797 GB, free: 4.746 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 1.764e-06/0.002691, allocations: 1.062 kB / 0.8797 GB, free: 4.746 MB / 0.8386 GB Notification: Performance of FrontEnd: time 7.12e-07/0.002692, allocations: 0 / 0.8797 GB, free: 4.746 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.017e-06/0.002696, allocations: 0 / 0.8797 GB, free: 4.746 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003384/0.003034, allocations: 397.4 kB / 0.8801 GB, free: 4.32 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.556e-05/0.00307, allocations: 12.03 kB / 0.8801 GB, free: 4.309 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.481e-05/0.003145, allocations: 10.23 kB / 0.8801 GB, free: 4.301 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.861e-05/0.003213, allocations: 108.6 kB / 0.8802 GB, free: 4.168 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.197e-05/0.003225, allocations: 8.375 kB / 0.8802 GB, free: 4.16 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.222e-05/0.003247, allocations: 4.375 kB / 0.8803 GB, free: 4.156 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001041/0.003351, allocations: 102.7 kB / 0.8803 GB, free: 4.039 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.385e-06/0.00336, allocations: 192 / 0.8803 GB, free: 4.039 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.506e-06/0.003368, allocations: 384 / 0.8803 GB, free: 4.039 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.432e-06/0.003375, allocations: 5.5 kB / 0.8804 GB, free: 4.035 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.401e-05/0.003409, allocations: 19.92 kB / 0.8804 GB, free: 4.016 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000122/0.003531, allocations: 124.6 kB / 0.8805 GB, free: 3.859 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 8.922e-05/0.00362, allocations: 63.56 kB / 0.8806 GB, free: 3.785 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.761e-05/0.003648, allocations: 24.5 kB / 0.8806 GB, free: 3.758 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003116/0.003959, allocations: 83.34 kB / 0.8807 GB, free: 3.68 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.299e-05/0.003982, allocations: 45.33 kB / 0.8807 GB, free: 3.625 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=7): time 8.51e-07/0.003983, allocations: 0 / 0.8807 GB, free: 3.625 MB / 0.8386 GB Notification: Performance of matching and sorting (n=11): time 0.0008061/0.004789, allocations: 462.8 kB / 0.8811 GB, free: 3.113 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.391e-05/0.004813, allocations: 55.41 kB / 0.8812 GB, free: 3.047 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.26e-05/0.004876, allocations: 161.9 kB / 0.8813 GB, free: 2.871 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.109e-05/0.004887, allocations: 25.7 kB / 0.8814 GB, free: 2.84 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 3.1e-05/0.004918, allocations: 126.9 kB / 0.8815 GB, free: 2.711 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.538e-05/0.004953, allocations: 51.52 kB / 0.8815 GB, free: 2.66 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.448e-05/0.004988, allocations: 35.36 kB / 0.8816 GB, free: 2.617 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001012/0.005089, allocations: 496.1 kB / 0.882 GB, free: 2.121 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.612e-05/0.005115, allocations: 15.98 kB / 0.8821 GB, free: 2.105 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.177e-05/0.005137, allocations: 12 kB / 0.8821 GB, free: 2.094 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.132e-05/0.005198, allocations: 51.67 kB / 0.8821 GB, free: 2.039 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.005199, allocations: 0 / 0.8821 GB, free: 2.039 MB / 0.8386 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001061/0.005305, allocations: 89.62 kB / 0.8822 GB, free: 1.945 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.172e-05/0.005317, allocations: 12 kB / 0.8822 GB, free: 1.934 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.005321, allocations: 0 / 0.8822 GB, free: 1.934 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.61e-05/0.005337, allocations: 7.922 kB / 0.8822 GB, free: 1.926 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.6e-05/0.005413, allocations: 20 kB / 0.8822 GB, free: 1.906 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.88e-06/0.005418, allocations: 0 / 0.8822 GB, free: 1.906 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.183e-05/0.00543, allocations: 0 / 0.8822 GB, free: 1.906 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.975e-06/0.005438, allocations: 8 kB / 0.8823 GB, free: 1.898 MB / 0.8386 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.838e-05/0.005496, allocations: 160.6 kB / 0.8824 GB, free: 1.73 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.891e-05/0.005515, allocations: 15.89 kB / 0.8824 GB, free: 1.715 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003719/0.005887, allocations: 93.73 kB / 0.8825 GB, free: 1.621 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.848e-06/0.005891, allocations: 7.938 kB / 0.8825 GB, free: 1.613 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.765e-06/0.005894, allocations: 0 / 0.8825 GB, free: 1.613 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.005896, allocations: 0 / 0.8825 GB, free: 1.613 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002629/0.006159, allocations: 337.4 kB / 0.8828 GB, free: 1.242 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.006161, allocations: 0 / 0.8828 GB, free: 1.242 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.811e-05/0.006229, allocations: 23.98 kB / 0.8829 GB, free: 1.219 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/0.006232, allocations: 3.938 kB / 0.8829 GB, free: 1.215 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.514e-06/0.00624, allocations: 4 kB / 0.8829 GB, free: 1.211 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.243e-06/0.006241, allocations: 0 / 0.8829 GB, free: 1.211 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.006242, allocations: 0 / 0.8829 GB, free: 1.211 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001743/0.006416, allocations: 259.8 kB / 0.8831 GB, free: 0.9375 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.916e-05/0.006435, allocations: 11.94 kB / 0.8831 GB, free: 0.9258 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.213e-05/0.006447, allocations: 7.938 kB / 0.8831 GB, free: 0.918 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.11e-05/0.006489, allocations: 11.98 kB / 0.8832 GB, free: 0.9062 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.653e-05/0.006505, allocations: 4 kB / 0.8832 GB, free: 0.9023 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.542e-06/0.006512, allocations: 7.984 kB / 0.8832 GB, free: 0.8945 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 3.042e-05/0.006542, allocations: 123.2 kB / 0.8833 GB, free: 0.7734 MB / 0.8386 GB Notification: Performance of sort global known variables: time 6e-08/0.006542, allocations: 0 / 0.8833 GB, free: 0.7734 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001809/0.006723, allocations: 39.94 kB / 0.8833 GB, free: 0.7344 MB / 0.8386 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.0001635/0.006887, allocations: 147.1 kB / 0.8835 GB, free: 0.5781 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001037/0.00699, allocations: 70.95 kB / 0.8835 GB, free: 0.5078 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.322e-06/0.006992, allocations: 0 / 0.8835 GB, free: 0.5078 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 3.205e-05/0.007024, allocations: 35.67 kB / 0.8836 GB, free: 480 kB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001556/0.007179, allocations: 9.859 kB / 0.8836 GB, free: 472 kB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000272/0.007451, allocations: 170.5 kB / 0.8837 GB, free: 272 kB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.738e-05/0.007489, allocations: 63.34 kB / 0.8838 GB, free: 188 kB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.622e-05/0.007525, allocations: 8 kB / 0.8838 GB, free: 180 kB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.325e-05/0.007548, allocations: 16.5 kB / 0.8838 GB, free: 164 kB / 0.8386 GB Notification: Performance of SimCode: time 6.41e-07/0.007549, allocations: 0 / 0.8838 GB, free: 164 kB / 0.8386 GB Notification: Performance of Templates: time 0.002858/0.01041, allocations: 1.432 MB / 0.8852 GB, free: 14.75 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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.5489571839571]