Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.00159/0.00159, allocations: 111.3 kB / 16.42 MB, free: 6.461 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.001859/0.001859, allocations: 189.5 kB / 17.35 MB, free: 5.715 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.429/1.429, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.296/2.296, allocations: 390.3 MB / 0.6655 GB, free: 0.6562 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001438/0.001438, allocations: 71.89 kB / 0.9516 GB, free: 7.613 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9273/0.9288, allocations: 140.4 MB / 1.089 GB, free: 5.504 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.001561/0.9304, allocations: 0.5932 MB / 1.089 GB, free: 5.137 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001591/0.932, allocations: 1.463 MB / 1.091 GB, free: 4.07 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.637e-05/0.932, allocations: 0 / 1.091 GB, free: 4.07 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 1.335e-05/0.932, allocations: 1.125 kB / 1.091 GB, free: 4.07 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 1.679e-05/0.932, allocations: 0 / 1.091 GB, free: 4.07 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004725/0.9325, allocations: 141.1 kB / 1.091 GB, free: 4.008 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 7.089e-05/0.9326, allocations: 30.88 kB / 1.091 GB, free: 4 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 3.931e-05/0.9327, allocations: 2.719 kB / 1.091 GB, free: 4 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 4.936e-05/0.9327, allocations: 21.25 kB / 1.091 GB, free: 3.992 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 7.666e-05/0.9328, allocations: 23.11 kB / 1.091 GB, free: 3.988 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.591e-05/0.9328, allocations: 1.062 kB / 1.091 GB, free: 3.988 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005399/0.9334, allocations: 320.1 kB / 1.091 GB, free: 3.898 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.054e-05/0.9334, allocations: 12.31 kB / 1.091 GB, free: 3.891 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.725e-05/0.9334, allocations: 10.23 kB / 1.091 GB, free: 3.887 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003253/0.9337, allocations: 192 kB / 1.091 GB, free: 3.836 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 2.845e-06/0.9338, allocations: 0 / 1.091 GB, free: 3.836 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.512e-06/0.9338, allocations: 1.156 kB / 1.091 GB, free: 3.836 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.198e-06/0.9338, allocations: 0 / 1.091 GB, free: 3.836 MB / 0.8575 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.0004239/0.9342, allocations: 362.8 kB / 1.092 GB, free: 3.465 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.674e-05/0.9342, allocations: 9.656 kB / 1.092 GB, free: 3.465 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004803/0.9347, allocations: 69.73 kB / 1.092 GB, free: 3.457 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.915e-05/0.9348, allocations: 171.4 kB / 1.092 GB, free: 3.254 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.657e-05/0.9348, allocations: 1.312 kB / 1.092 GB, free: 3.254 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.224e-05/0.9349, allocations: 6.094 kB / 1.092 GB, free: 3.25 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002568/0.9351, allocations: 76.52 kB / 1.092 GB, free: 3.211 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.982e-06/0.9351, allocations: 0 / 1.092 GB, free: 3.211 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.153e-05/0.9351, allocations: 0.75 kB / 1.092 GB, free: 3.211 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.581e-06/0.9352, allocations: 4.828 kB / 1.092 GB, free: 3.207 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003198/0.9355, allocations: 68.02 kB / 1.092 GB, free: 3.195 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001399/0.9356, allocations: 164.5 kB / 1.092 GB, free: 3 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006036/0.9362, allocations: 122.4 kB / 1.092 GB, free: 2.961 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001766/0.9364, allocations: 42.23 kB / 1.092 GB, free: 2.949 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004857/0.9369, allocations: 155 kB / 1.093 GB, free: 2.848 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.787e-05/0.937, allocations: 40.23 kB / 1.093 GB, free: 2.801 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=4): time 1.333e-06/0.937, allocations: 0 / 1.093 GB, free: 2.801 MB / 0.8575 GB Notification: Performance of matching and sorting (n=5): time 0.001149/0.9381, allocations: 403.3 kB / 1.093 GB, free: 2.52 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.749e-05/0.9381, allocations: 52.69 kB / 1.093 GB, free: 2.457 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.369e-05/0.9382, allocations: 98.03 kB / 1.093 GB, free: 2.355 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.573e-05/0.9382, allocations: 25.7 kB / 1.093 GB, free: 2.324 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 2.121e-05/0.9383, allocations: 89 kB / 1.093 GB, free: 2.234 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.291e-05/0.9383, allocations: 17.58 kB / 1.093 GB, free: 2.223 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.722e-05/0.9383, allocations: 21.45 kB / 1.093 GB, free: 2.203 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.472e-05/0.9384, allocations: 313.7 kB / 1.094 GB, free: 1.891 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001742/0.9386, allocations: 33.66 kB / 1.094 GB, free: 1.887 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001636/0.9388, allocations: 39.28 kB / 1.094 GB, free: 1.879 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003166/0.9391, allocations: 82.67 kB / 1.094 GB, free: 1.852 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.9391, allocations: 0.875 kB / 1.094 GB, free: 1.852 MB / 0.8575 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003827/0.9395, allocations: 107.3 kB / 1.094 GB, free: 1.809 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.847e-05/0.9395, allocations: 10.59 kB / 1.094 GB, free: 1.805 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.9395, allocations: 0 / 1.094 GB, free: 1.805 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.326e-05/0.9395, allocations: 4.688 kB / 1.094 GB, free: 1.801 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001538/0.9397, allocations: 22.69 kB / 1.094 GB, free: 1.801 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.229e-06/0.9397, allocations: 0.6562 kB / 1.094 GB, free: 1.801 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001066/0.9398, allocations: 19.2 kB / 1.094 GB, free: 1.793 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.196e-05/0.9398, allocations: 7.719 kB / 1.094 GB, free: 1.789 MB / 0.8575 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 5.731e-05/0.9399, allocations: 107.8 kB / 1.094 GB, free: 1.676 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.86e-05/0.9399, allocations: 9.906 kB / 1.094 GB, free: 1.668 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004792/0.9404, allocations: 137.1 kB / 1.094 GB, free: 1.605 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.9404, allocations: 4.734 kB / 1.094 GB, free: 1.602 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.9404, allocations: 4.688 kB / 1.094 GB, free: 1.598 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 5.591e-05/0.9405, allocations: 83.45 kB / 1.094 GB, free: 1.504 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.073e-05/0.9405, allocations: 1.562 kB / 1.094 GB, free: 1.504 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001272/0.9407, allocations: 12.97 kB / 1.094 GB, free: 1.504 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.1e-05/0.9407, allocations: 7.891 kB / 1.094 GB, free: 1.5 MB / 0.8575 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005233/0.9412, allocations: 206.8 kB / 1.094 GB, free: 1.375 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006212/0.9419, allocations: 344.3 kB / 1.095 GB, free: 1.129 MB / 0.8575 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000173/0.9421, allocations: 42.44 kB / 1.095 GB, free: 1.121 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 1.727e-05/0.9421, allocations: 81.23 kB / 1.095 GB, free: 1.043 MB / 0.8575 GB Notification: Performance of Backend: time 3.1e-07/0.9421, allocations: 0.9688 kB / 1.095 GB, free: 1.043 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0007033/0.9428, allocations: 178.9 kB / 1.095 GB, free: 0.9453 MB / 0.8575 GB Notification: Performance of SimCode: time 0.0003531/0.9432, allocations: 0.5573 MB / 1.096 GB, free: 376 kB / 0.8575 GB Notification: Performance of Templates: time 0.00511/0.9483, allocations: 1.7 MB / 1.097 GB, free: 216 kB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.makefile (rm -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.sim & ./Buildings_9_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Functions_Examples_InverseXDerivativeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches