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.006418/0.006418, allocations: 97.66 kB / 15.73 MB, free: 6.047 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.001193/0.001193, allocations: 198.7 kB / 16.68 MB, free: 5.969 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.363/1.363, allocations: 222.9 MB / 240.4 MB, free: 4.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.901/2.901, allocations: 469.8 MB / 0.7425 GB, free: 7.406 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001344/0.001344, allocations: 72.11 kB / 1.065 GB, free: 13.05 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3269/0.3282, allocations: 159.1 MB / 1.221 GB, free: 13.79 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.00168/0.3299, allocations: 0.6046 MB / 1.221 GB, free: 13.18 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.00186/0.3317, allocations: 1.448 MB / 1.223 GB, free: 11.71 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.238e-05/0.3318, allocations: 3.938 kB / 1.223 GB, free: 11.71 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 1.925e-05/0.3318, allocations: 0 / 1.223 GB, free: 11.71 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 2.365e-05/0.3318, allocations: 4 kB / 1.223 GB, free: 11.71 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005447/0.3324, allocations: 139.4 kB / 1.223 GB, free: 11.57 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 7.238e-05/0.3324, allocations: 23.98 kB / 1.223 GB, free: 11.55 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.081e-05/0.3325, allocations: 3.984 kB / 1.223 GB, free: 11.54 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 4.348e-05/0.3325, allocations: 27.97 kB / 1.223 GB, free: 11.52 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 8.392e-05/0.3326, allocations: 23.91 kB / 1.223 GB, free: 11.49 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.523e-05/0.3326, allocations: 7.938 kB / 1.223 GB, free: 11.48 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004375/0.3331, allocations: 319.3 kB / 1.223 GB, free: 11.17 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.636e-05/0.3331, allocations: 3.984 kB / 1.223 GB, free: 11.17 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.697e-05/0.3331, allocations: 11.94 kB / 1.223 GB, free: 11.16 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002911/0.3334, allocations: 183.6 kB / 1.223 GB, free: 10.98 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.3334, allocations: 0 / 1.223 GB, free: 10.98 MB / 0.9825 GB Notification: Performance of FrontEnd: time 9.52e-07/0.3334, allocations: 0 / 1.223 GB, free: 10.98 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.929e-06/0.3334, allocations: 0 / 1.223 GB, free: 10.98 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.0005276/0.3339, allocations: 386.9 kB / 1.224 GB, free: 10.55 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.399e-05/0.334, allocations: 8.031 kB / 1.224 GB, free: 10.54 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005069/0.3345, allocations: 68.84 kB / 1.224 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001082/0.3346, allocations: 160.4 kB / 1.224 GB, free: 10.28 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.028e-05/0.3346, allocations: 384 / 1.224 GB, free: 10.28 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.531e-05/0.3346, allocations: 12.33 kB / 1.224 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002646/0.3349, allocations: 81.94 kB / 1.224 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.414e-06/0.3349, allocations: 0 / 1.224 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.346e-05/0.3349, allocations: 0 / 1.224 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/0.3349, allocations: 3.938 kB / 1.224 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003106/0.3352, allocations: 63.94 kB / 1.224 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001774/0.3354, allocations: 161.7 kB / 1.224 GB, free: 9.91 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006018/0.336, allocations: 122.6 kB / 1.224 GB, free: 9.781 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001641/0.3362, allocations: 44.86 kB / 1.224 GB, free: 9.734 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004694/0.3366, allocations: 157 kB / 1.225 GB, free: 9.562 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.473e-05/0.3367, allocations: 34.5 kB / 1.225 GB, free: 9.52 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=4): time 1.272e-06/0.3367, allocations: 3.938 kB / 1.225 GB, free: 9.516 MB / 0.9825 GB Notification: Performance of matching and sorting (n=5): time 0.00119/0.3378, allocations: 410.2 kB / 1.225 GB, free: 9.062 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.521e-05/0.3379, allocations: 51.41 kB / 1.225 GB, free: 9 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.471e-05/0.338, allocations: 97.86 kB / 1.225 GB, free: 8.895 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.711e-05/0.338, allocations: 25.7 kB / 1.225 GB, free: 8.863 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 2.985e-05/0.338, allocations: 80.14 kB / 1.225 GB, free: 8.781 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.292e-05/0.338, allocations: 23.83 kB / 1.225 GB, free: 8.758 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.618e-05/0.3381, allocations: 17.72 kB / 1.225 GB, free: 8.734 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 9.719e-05/0.3382, allocations: 319 kB / 1.226 GB, free: 8.414 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001612/0.3383, allocations: 35.97 kB / 1.226 GB, free: 8.379 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001509/0.3385, allocations: 35.97 kB / 1.226 GB, free: 8.344 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002978/0.3388, allocations: 72.8 kB / 1.226 GB, free: 8.27 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.61e-07/0.3388, allocations: 4 kB / 1.226 GB, free: 8.266 MB / 0.9825 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.00037/0.3392, allocations: 121.5 kB / 1.226 GB, free: 8.141 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.474e-05/0.3392, allocations: 4 kB / 1.226 GB, free: 8.137 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.3392, allocations: 4 kB / 1.226 GB, free: 8.133 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.281e-05/0.3392, allocations: 3.938 kB / 1.226 GB, free: 8.129 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001495/0.3393, allocations: 23.98 kB / 1.226 GB, free: 8.105 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.243e-06/0.3393, allocations: 3.984 kB / 1.226 GB, free: 8.102 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001019/0.3395, allocations: 15.97 kB / 1.226 GB, free: 8.086 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.516e-06/0.3395, allocations: 0 / 1.226 GB, free: 8.086 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 8.2e-05/0.3395, allocations: 117.8 kB / 1.226 GB, free: 7.961 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.933e-05/0.3396, allocations: 4.266 kB / 1.226 GB, free: 7.957 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004469/0.34, allocations: 133.1 kB / 1.226 GB, free: 7.824 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.34, allocations: 0 / 1.226 GB, free: 7.824 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.34, allocations: 3.984 kB / 1.226 GB, free: 7.82 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.34, allocations: 8 kB / 1.226 GB, free: 7.812 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001377/0.3402, allocations: 170 kB / 1.226 GB, free: 7.598 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.3402, allocations: 0 / 1.226 GB, free: 7.598 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001603/0.3403, allocations: 27.92 kB / 1.226 GB, free: 7.57 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.3403, allocations: 0 / 1.226 GB, free: 7.57 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.634e-05/0.3403, allocations: 7.984 kB / 1.226 GB, free: 7.562 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.3403, allocations: 0 / 1.226 GB, free: 7.562 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.3403, allocations: 0 / 1.226 GB, free: 7.562 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005886/0.3409, allocations: 189 kB / 1.227 GB, free: 7.359 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 7.712e-05/0.341, allocations: 92.92 kB / 1.227 GB, free: 7.25 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.219e-05/0.341, allocations: 0 / 1.227 GB, free: 7.25 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001221/0.3412, allocations: 11.98 kB / 1.227 GB, free: 7.238 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.673e-05/0.3412, allocations: 7.984 kB / 1.227 GB, free: 7.23 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.215e-05/0.3412, allocations: 12.06 kB / 1.227 GB, free: 7.219 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 2.988e-05/0.3412, allocations: 75.28 kB / 1.227 GB, free: 7.145 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.3412, allocations: 0 / 1.227 GB, free: 7.145 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002383/0.3415, allocations: 31.86 kB / 1.227 GB, free: 7.113 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (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 (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 Backend phase and start with SimCode phase: time 0.0002364/0.3417, allocations: 139.1 kB / 1.227 GB, free: 6.965 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003835/0.3421, allocations: 80.02 kB / 1.227 GB, free: 6.887 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.3421, allocations: 0 / 1.227 GB, free: 6.887 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001726/0.3423, allocations: 47.91 kB / 1.227 GB, free: 6.84 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001544/0.3424, allocations: 6.344 kB / 1.227 GB, free: 6.836 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006188/0.343, allocations: 193.1 kB / 1.227 GB, free: 6.621 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002188/0.3432, allocations: 0.6846 MB / 1.228 GB, free: 5.91 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 8.43e-05/0.3433, allocations: 16.25 kB / 1.228 GB, free: 5.895 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.499e-05/0.3434, allocations: 11.44 kB / 1.228 GB, free: 5.883 MB / 0.9825 GB Notification: Performance of SimCode: time 3.31e-07/0.3434, allocations: 0 / 1.228 GB, free: 5.883 MB / 0.9825 GB Notification: Performance of Templates: time 0.003494/0.3469, allocations: 1.158 MB / 1.229 GB, free: 4.723 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=480 -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/jenkins/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