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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,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=5000,variableFilter="time|x|y|der.x.|der.y.",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001164/0.001164, allocations: 103 kB / 16.37 MB, free: 6.438 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001273/0.001273, allocations: 189.1 kB / 17.3 MB, free: 5.781 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.366/1.366, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.691/2.691, allocations: 442.6 MB / 0.7165 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001304/0.001304, allocations: 67.8 kB / 0.8773 GB, free: 10.97 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.285/0.2863, allocations: 153 MB / 1.027 GB, free: 2.055 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.001917/0.2882, allocations: 0.6288 MB / 1.027 GB, free: 1.422 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0006747/0.2889, allocations: 353.1 kB / 1.028 GB, free: 1.078 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.472e-05/0.289, allocations: 0 / 1.028 GB, free: 1.078 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 1.688e-05/0.289, allocations: 0 / 1.028 GB, free: 1.078 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 2.95e-05/0.289, allocations: 3.938 kB / 1.028 GB, free: 1.074 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004437/0.2895, allocations: 127.5 kB / 1.028 GB, free: 0.9492 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 5.797e-05/0.2895, allocations: 19.92 kB / 1.028 GB, free: 0.9297 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 3.799e-05/0.2896, allocations: 7.984 kB / 1.028 GB, free: 0.9219 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 3.631e-05/0.2896, allocations: 11.98 kB / 1.028 GB, free: 0.9102 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 5.452e-05/0.2897, allocations: 11.92 kB / 1.028 GB, free: 0.8984 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.217e-05/0.2897, allocations: 0 / 1.028 GB, free: 0.8984 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003442/0.2901, allocations: 275.7 kB / 1.028 GB, free: 0.6289 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 1.578e-05/0.2901, allocations: 15.92 kB / 1.028 GB, free: 0.6133 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 2.145e-05/0.2901, allocations: 7.938 kB / 1.028 GB, free: 0.6055 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001799/0.2903, allocations: 107.8 kB / 1.028 GB, free: 0.5 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.2903, allocations: 0 / 1.028 GB, free: 0.5 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.332e-06/0.2903, allocations: 0 / 1.028 GB, free: 0.5 MB / 0.795 GB Notification: Performance of Transformations before backend: time 4.589e-06/0.2903, allocations: 0 / 1.028 GB, free: 0.5 MB / 0.795 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.0003843/0.2907, allocations: 355.5 kB / 1.029 GB, free: 104 kB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.136e-05/0.2908, allocations: 8.031 kB / 1.029 GB, free: 96 kB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.624e-05/0.2908, allocations: 8.844 kB / 1.029 GB, free: 88 kB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001094/0.2909, allocations: 168.4 kB / 1.029 GB, free: 15.88 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.367e-06/0.2909, allocations: 4.375 kB / 1.029 GB, free: 15.88 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.249e-05/0.291, allocations: 4.375 kB / 1.029 GB, free: 15.88 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001124/0.2911, allocations: 62.16 kB / 1.029 GB, free: 15.81 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.068e-05/0.2911, allocations: 192 / 1.029 GB, free: 15.81 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.064e-05/0.2911, allocations: 3.938 kB / 1.029 GB, free: 15.8 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.661e-06/0.2911, allocations: 4 kB / 1.029 GB, free: 15.8 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.846e-05/0.2912, allocations: 15.98 kB / 1.029 GB, free: 15.79 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001546/0.2913, allocations: 161.7 kB / 1.029 GB, free: 15.58 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001225/0.2915, allocations: 70.48 kB / 1.029 GB, free: 15.5 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.615e-05/0.2915, allocations: 24.86 kB / 1.029 GB, free: 15.47 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006817/0.2922, allocations: 465.4 kB / 1.03 GB, free: 14.93 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.486e-05/0.2923, allocations: 30.56 kB / 1.03 GB, free: 14.89 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=7): time 1.172e-06/0.2923, allocations: 0 / 1.03 GB, free: 14.89 MB / 0.8106 GB Notification: Performance of matching and sorting (n=11): time 0.001282/0.2936, allocations: 0.5956 MB / 1.03 GB, free: 14.2 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.932e-05/0.2936, allocations: 55.41 kB / 1.03 GB, free: 14.13 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.334e-05/0.2937, allocations: 97.84 kB / 1.03 GB, free: 14.03 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.764e-05/0.2937, allocations: 29.7 kB / 1.03 GB, free: 13.99 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.097e-05/0.2937, allocations: 84.14 kB / 1.03 GB, free: 13.91 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.483e-05/0.2938, allocations: 35.45 kB / 1.03 GB, free: 13.87 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.31e-05/0.2938, allocations: 25.81 kB / 1.03 GB, free: 13.84 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 8.916e-05/0.2939, allocations: 322.8 kB / 1.031 GB, free: 13.52 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.949e-05/0.294, allocations: 23.94 kB / 1.031 GB, free: 13.49 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.65e-05/0.294, allocations: 23.98 kB / 1.031 GB, free: 13.47 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.384e-05/0.2941, allocations: 63.97 kB / 1.031 GB, free: 13.41 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/0.2941, allocations: 3.938 kB / 1.031 GB, free: 13.4 MB / 0.8106 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001508/0.2943, allocations: 97.53 kB / 1.031 GB, free: 13.3 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.154e-05/0.2943, allocations: 4 kB / 1.031 GB, free: 13.3 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.047e-06/0.2943, allocations: 0 / 1.031 GB, free: 13.3 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.227e-05/0.2943, allocations: 4 kB / 1.031 GB, free: 13.29 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001053/0.2944, allocations: 23.98 kB / 1.031 GB, free: 13.27 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.919e-06/0.2944, allocations: 0 / 1.031 GB, free: 13.27 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.837e-05/0.2945, allocations: 12 kB / 1.031 GB, free: 13.26 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.233e-06/0.2945, allocations: 0 / 1.031 GB, free: 13.26 MB / 0.8106 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 6.952e-05/0.2945, allocations: 121.7 kB / 1.031 GB, free: 13.13 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.969e-05/0.2946, allocations: 7.938 kB / 1.031 GB, free: 13.12 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001753/0.2948, allocations: 101.6 kB / 1.031 GB, free: 13.02 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.2948, allocations: 4 kB / 1.031 GB, free: 13.01 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.516e-06/0.2948, allocations: 0 / 1.031 GB, free: 13.01 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.025e-06/0.2948, allocations: 0 / 1.031 GB, free: 13.01 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003456/0.2951, allocations: 362.6 kB / 1.032 GB, free: 12.6 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.2952, allocations: 4 kB / 1.032 GB, free: 12.6 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001068/0.2953, allocations: 19.98 kB / 1.032 GB, free: 12.58 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.2953, allocations: 0 / 1.032 GB, free: 12.58 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.336e-06/0.2953, allocations: 0 / 1.032 GB, free: 12.58 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.486e-06/0.2953, allocations: 4 kB / 1.032 GB, free: 12.57 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.2953, allocations: 0 / 1.032 GB, free: 12.57 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002562/0.2956, allocations: 223.4 kB / 1.032 GB, free: 12.34 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 5.236e-05/0.2956, allocations: 93.09 kB / 1.032 GB, free: 12.23 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.436e-05/0.2957, allocations: 4 kB / 1.032 GB, free: 12.23 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.746e-05/0.2957, allocations: 11.98 kB / 1.032 GB, free: 12.21 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.33e-05/0.2958, allocations: 4 kB / 1.032 GB, free: 12.21 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.686e-06/0.2958, allocations: 4 kB / 1.032 GB, free: 12.21 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 2.933e-05/0.2958, allocations: 83.2 kB / 1.032 GB, free: 12.12 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1e-07/0.2958, allocations: 0 / 1.032 GB, free: 12.12 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002684/0.2961, allocations: 44 kB / 1.032 GB, free: 12.08 MB / 0.8106 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.0002183/0.2963, allocations: 147.2 kB / 1.032 GB, free: 11.93 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001351/0.2965, allocations: 67.78 kB / 1.032 GB, free: 11.86 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.2965, allocations: 0 / 1.032 GB, free: 11.86 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 4.765e-05/0.2965, allocations: 39.92 kB / 1.032 GB, free: 11.82 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002134/0.2967, allocations: 4 kB / 1.032 GB, free: 11.82 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003119/0.2971, allocations: 170.1 kB / 1.032 GB, free: 11.62 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002045/0.2973, allocations: 0.6885 MB / 1.033 GB, free: 10.91 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 4.387e-05/0.2973, allocations: 12 kB / 1.033 GB, free: 10.89 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.131e-05/0.2974, allocations: 11.44 kB / 1.033 GB, free: 10.88 MB / 0.8106 GB Notification: Performance of SimCode: time 2.31e-07/0.2974, allocations: 0 / 1.033 GB, free: 10.88 MB / 0.8106 GB Notification: Performance of Templates: time 0.003669/0.301, allocations: 1.411 MB / 1.035 GB, free: 9.48 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.makefile (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=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe 2>&1) 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches