Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001575/0.001575, allocations: 116 kB / 16.81 MB, free: 5.766 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.001707/0.001707, allocations: 196.7 kB / 17.77 MB, free: 5.117 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.508/1.508, allocations: 225.6 MB / 244.2 MB, free: 13.89 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.802/2.802, allocations: 476.7 MB / 0.7556 GB, free: 11.33 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.002058/0.002058, allocations: 69.92 kB / 1.097 GB, free: 11.74 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4375/0.4396, allocations: 168.7 MB / 1.262 GB, free: 12.9 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.001905/0.4415, allocations: 0.6017 MB / 1.263 GB, free: 12.3 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002195/0.4437, allocations: 1.451 MB / 1.264 GB, free: 10.83 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.641e-05/0.4437, allocations: 4 kB / 1.264 GB, free: 10.83 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 1.729e-05/0.4437, allocations: 3.938 kB / 1.264 GB, free: 10.82 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 3.269e-05/0.4438, allocations: 0 / 1.264 GB, free: 10.82 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.000559/0.4443, allocations: 139.4 kB / 1.264 GB, free: 10.69 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 7.506e-05/0.4444, allocations: 39.95 kB / 1.264 GB, free: 10.65 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.429e-05/0.4445, allocations: 3.938 kB / 1.264 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 4.741e-05/0.4445, allocations: 15.98 kB / 1.264 GB, free: 10.63 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 8.924e-05/0.4446, allocations: 19.97 kB / 1.264 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.748e-05/0.4446, allocations: 0 / 1.264 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005043/0.4451, allocations: 323.3 kB / 1.265 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.33e-05/0.4451, allocations: 11.92 kB / 1.265 GB, free: 10.28 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.315e-05/0.4452, allocations: 4 kB / 1.265 GB, free: 10.28 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003403/0.4455, allocations: 191.5 kB / 1.265 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.99e-06/0.4455, allocations: 3.938 kB / 1.265 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.144e-06/0.4455, allocations: 0 / 1.265 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.532e-06/0.4455, allocations: 4 kB / 1.265 GB, free: 10.08 MB / 0.9825 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.0006435/0.4462, allocations: 371 kB / 1.265 GB, free: 9.672 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.61e-05/0.4462, allocations: 8.031 kB / 1.265 GB, free: 9.664 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004882/0.4467, allocations: 68.84 kB / 1.265 GB, free: 9.598 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001659/0.4469, allocations: 164.4 kB / 1.265 GB, free: 9.398 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.452e-05/0.4469, allocations: 4.375 kB / 1.265 GB, free: 9.395 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.514e-05/0.4469, allocations: 4.328 kB / 1.265 GB, free: 9.391 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002988/0.4472, allocations: 81.94 kB / 1.266 GB, free: 9.305 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.518e-06/0.4472, allocations: 0 / 1.266 GB, free: 9.305 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.808e-05/0.4472, allocations: 3.984 kB / 1.266 GB, free: 9.301 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.316e-06/0.4473, allocations: 7.938 kB / 1.266 GB, free: 9.293 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003081/0.4476, allocations: 59.94 kB / 1.266 GB, free: 9.234 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003145/0.4479, allocations: 165.7 kB / 1.266 GB, free: 9.023 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006368/0.4485, allocations: 126.5 kB / 1.266 GB, free: 8.891 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000213/0.4487, allocations: 40.92 kB / 1.266 GB, free: 8.848 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005212/0.4492, allocations: 153 kB / 1.266 GB, free: 8.68 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.876e-05/0.4493, allocations: 46.5 kB / 1.266 GB, free: 8.625 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=4): time 1.252e-06/0.4493, allocations: 0 / 1.266 GB, free: 8.625 MB / 0.9825 GB Notification: Performance of matching and sorting (n=5): time 0.001286/0.4506, allocations: 406.1 kB / 1.266 GB, free: 8.176 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.409e-05/0.4506, allocations: 51.41 kB / 1.267 GB, free: 8.113 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.087e-05/0.4507, allocations: 89.86 kB / 1.267 GB, free: 8.016 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.518e-05/0.4507, allocations: 29.7 kB / 1.267 GB, free: 7.98 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.748e-05/0.4508, allocations: 80.14 kB / 1.267 GB, free: 7.898 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.934e-05/0.4508, allocations: 19.88 kB / 1.267 GB, free: 7.879 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.102e-05/0.4509, allocations: 25.84 kB / 1.267 GB, free: 7.848 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001494/0.451, allocations: 318.8 kB / 1.267 GB, free: 7.527 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001655/0.4512, allocations: 31.97 kB / 1.267 GB, free: 7.496 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001591/0.4513, allocations: 39.97 kB / 1.267 GB, free: 7.457 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003244/0.4517, allocations: 76.8 kB / 1.267 GB, free: 7.379 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.4517, allocations: 4 kB / 1.267 GB, free: 7.375 MB / 0.9825 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003754/0.452, allocations: 109.8 kB / 1.267 GB, free: 7.262 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.323e-05/0.4521, allocations: 13.97 kB / 1.267 GB, free: 7.25 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.571e-06/0.4521, allocations: 0 / 1.267 GB, free: 7.25 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.639e-05/0.4521, allocations: 0 / 1.267 GB, free: 7.25 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001639/0.4523, allocations: 27.92 kB / 1.267 GB, free: 7.223 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.248e-05/0.4523, allocations: 3.984 kB / 1.267 GB, free: 7.219 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001111/0.4524, allocations: 23.97 kB / 1.267 GB, free: 7.195 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.152e-05/0.4524, allocations: 4 kB / 1.267 GB, free: 7.191 MB / 0.9825 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 9.566e-05/0.4525, allocations: 105.8 kB / 1.267 GB, free: 7.078 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.177e-05/0.4525, allocations: 7.938 kB / 1.267 GB, free: 7.07 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005222/0.453, allocations: 137.1 kB / 1.268 GB, free: 6.93 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.127e-06/0.453, allocations: 0 / 1.268 GB, free: 6.93 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.01e-07/0.453, allocations: 0 / 1.268 GB, free: 6.93 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 8.77e-05/0.4531, allocations: 85.09 kB / 1.268 GB, free: 6.828 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.012e-05/0.4531, allocations: 7.938 kB / 1.268 GB, free: 6.82 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001228/0.4533, allocations: 11.98 kB / 1.268 GB, free: 6.809 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.861e-05/0.4533, allocations: 7.922 kB / 1.268 GB, free: 6.801 MB / 0.9825 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006179/0.4539, allocations: 200.9 kB / 1.268 GB, free: 6.598 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006931/0.4546, allocations: 342.6 kB / 1.268 GB, free: 6.246 MB / 0.9825 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000173/0.4548, allocations: 43.92 kB / 1.268 GB, free: 6.203 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.479e-05/0.4548, allocations: 83.34 kB / 1.268 GB, free: 6.121 MB / 0.9825 GB Notification: Performance of Backend: time 4.21e-07/0.4548, allocations: 0 / 1.268 GB, free: 6.121 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0007354/0.4556, allocations: 162.1 kB / 1.269 GB, free: 5.953 MB / 0.9825 GB Notification: Performance of SimCode: time 0.0005532/0.4561, allocations: 0.5725 MB / 1.269 GB, free: 5.332 MB / 0.9825 GB Notification: Performance of Templates: time 0.005013/0.4611, allocations: 1.732 MB / 1.271 GB, free: 3.602 MB / 0.9825 GB make -j1 -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.makefile (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.sim & ./Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Functions_Examples_InverseXDerivativeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches