Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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.InverseXDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y_comp|y",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck") translateModel(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y_comp|y",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001554/0.001554, allocations: 114.4 kB / 16.42 MB, free: 6.457 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.001648/0.001648, allocations: 183.9 kB / 17.35 MB, free: 5.734 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.583/1.583, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.717/2.717, allocations: 437 MB / 0.7112 GB, free: 4.398 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001643/0.001643, allocations: 64.14 kB / 1.019 GB, free: 9.371 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.005/1.006, allocations: 151.6 MB / 1.167 GB, free: 3.812 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.001918/1.008, allocations: 0.5983 MB / 1.168 GB, free: 3.219 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001973/1.01, allocations: 1.449 MB / 1.169 GB, free: 1.754 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.082e-05/1.01, allocations: 0 / 1.169 GB, free: 1.754 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 1.39e-05/1.01, allocations: 0 / 1.169 GB, free: 1.754 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 2.528e-05/1.01, allocations: 0 / 1.169 GB, free: 1.754 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.000571/1.011, allocations: 147.4 kB / 1.169 GB, free: 1.609 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 8.802e-05/1.011, allocations: 27.97 kB / 1.17 GB, free: 1.582 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 4.839e-05/1.011, allocations: 3.938 kB / 1.17 GB, free: 1.578 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 5.174e-05/1.011, allocations: 19.92 kB / 1.17 GB, free: 1.559 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 9.914e-05/1.011, allocations: 23.97 kB / 1.17 GB, free: 1.535 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.059e-05/1.011, allocations: 0 / 1.17 GB, free: 1.535 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000489/1.012, allocations: 323.3 kB / 1.17 GB, free: 1.219 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.532e-05/1.012, allocations: 11.92 kB / 1.17 GB, free: 1.207 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 3.394e-05/1.012, allocations: 7.984 kB / 1.17 GB, free: 1.199 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0003307/1.012, allocations: 187.6 kB / 1.17 GB, free: 1.016 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.411e-06/1.012, allocations: 0 / 1.17 GB, free: 1.016 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.663e-06/1.012, allocations: 0 / 1.17 GB, free: 1.016 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 5.25e-06/1.012, allocations: 0 / 1.17 GB, free: 1.016 MB / 0.8887 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005942/1.013, allocations: 371.3 kB / 1.17 GB, free: 0.6094 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 5.001e-05/1.013, allocations: 12.92 kB / 1.17 GB, free: 0.5977 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004868/1.013, allocations: 64.77 kB / 1.171 GB, free: 0.5352 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001308/1.013, allocations: 168.4 kB / 1.171 GB, free: 340 kB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.143e-05/1.013, allocations: 384 / 1.171 GB, free: 340 kB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.936e-05/1.013, allocations: 384 / 1.171 GB, free: 340 kB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000264/1.014, allocations: 85.88 kB / 1.171 GB, free: 248 kB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.634e-06/1.014, allocations: 0 / 1.171 GB, free: 248 kB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.352e-05/1.014, allocations: 0 / 1.171 GB, free: 248 kB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.005e-06/1.014, allocations: 4 kB / 1.171 GB, free: 244 kB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003111/1.014, allocations: 67.86 kB / 1.171 GB, free: 176 kB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002708/1.014, allocations: 173.7 kB / 1.171 GB, free: 15.95 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005981/1.015, allocations: 114.5 kB / 1.171 GB, free: 15.83 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001646/1.015, allocations: 48.91 kB / 1.171 GB, free: 15.78 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004754/1.016, allocations: 157 kB / 1.171 GB, free: 15.61 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.648e-05/1.016, allocations: 38.44 kB / 1.171 GB, free: 15.56 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=4): time 1.182e-06/1.016, allocations: 0 / 1.171 GB, free: 15.56 MB / 0.9044 GB Notification: Performance of matching and sorting (n=5): time 0.001245/1.017, allocations: 410.2 kB / 1.172 GB, free: 15.11 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.679e-05/1.017, allocations: 51.41 kB / 1.172 GB, free: 15.05 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.356e-05/1.017, allocations: 97.84 kB / 1.172 GB, free: 14.94 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.432e-05/1.017, allocations: 29.7 kB / 1.172 GB, free: 14.91 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 3.807e-05/1.017, allocations: 80.14 kB / 1.172 GB, free: 14.82 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 3.026e-05/1.017, allocations: 13.64 kB / 1.172 GB, free: 14.81 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.924e-05/1.017, allocations: 21.7 kB / 1.172 GB, free: 14.79 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001346/1.017, allocations: 315 kB / 1.172 GB, free: 14.47 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001588/1.018, allocations: 35.97 kB / 1.172 GB, free: 14.43 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001546/1.018, allocations: 35.95 kB / 1.172 GB, free: 14.4 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003034/1.018, allocations: 76.81 kB / 1.172 GB, free: 14.32 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/1.018, allocations: 0 / 1.172 GB, free: 14.32 MB / 0.9044 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003704/1.018, allocations: 117.5 kB / 1.173 GB, free: 14.2 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.818e-05/1.018, allocations: 7.938 kB / 1.173 GB, free: 14.19 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.142e-06/1.018, allocations: 0 / 1.173 GB, free: 14.19 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.563e-05/1.018, allocations: 4 kB / 1.173 GB, free: 14.19 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001557/1.019, allocations: 27.97 kB / 1.173 GB, free: 14.16 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.225e-05/1.019, allocations: 7.938 kB / 1.173 GB, free: 14.15 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.674e-05/1.019, allocations: 7.984 kB / 1.173 GB, free: 14.14 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.166e-05/1.019, allocations: 4 kB / 1.173 GB, free: 14.14 MB / 0.9044 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 (6): * Single equations (assignments): 6 * 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 0.0001005/1.019, allocations: 109.8 kB / 1.173 GB, free: 14.02 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.979e-05/1.019, allocations: 7.938 kB / 1.173 GB, free: 14.02 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004653/1.019, allocations: 137.1 kB / 1.173 GB, free: 13.87 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.187e-06/1.019, allocations: 0 / 1.173 GB, free: 13.87 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/1.019, allocations: 0 / 1.173 GB, free: 13.87 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 7.863e-05/1.019, allocations: 85.09 kB / 1.173 GB, free: 13.77 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.304e-05/1.02, allocations: 7.984 kB / 1.173 GB, free: 13.76 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000121/1.02, allocations: 16.23 kB / 1.173 GB, free: 13.74 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.128e-05/1.02, allocations: 8 kB / 1.173 GB, free: 13.73 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005263/1.02, allocations: 208.9 kB / 1.173 GB, free: 13.52 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000623/1.021, allocations: 334.5 kB / 1.173 GB, free: 13.18 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001643/1.021, allocations: 44.31 kB / 1.174 GB, free: 13.14 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 3.742e-05/1.021, allocations: 79.28 kB / 1.174 GB, free: 13.06 MB / 0.9044 GB Notification: Performance of Backend: time 5.51e-07/1.021, allocations: 0 / 1.174 GB, free: 13.06 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.000703/1.022, allocations: 175.5 kB / 1.174 GB, free: 12.88 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0005013/1.022, allocations: 0.5704 MB / 1.174 GB, free: 12.27 MB / 0.9044 GB Notification: Performance of Templates: time 0.004399/1.027, allocations: 1.701 MB / 1.176 GB, free: 10.57 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.makefile (rm -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.sim & ./Buildings_10_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Functions_Examples_InverseXDerivativeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches