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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.00156/0.00156, allocations: 107.1 kB / 16.37 MB, free: 6.477 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.001807/0.001807, allocations: 194.7 kB / 17.31 MB, free: 5.824 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.341/1.341, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.448/2.448, allocations: 437.1 MB / 0.7112 GB, free: 4.336 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001505/0.001506, allocations: 63.72 kB / 0.8707 GB, free: 1.406 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2704/0.272, allocations: 151.6 MB / 1.019 GB, free: 9.805 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.00162/0.2736, allocations: 0.5978 MB / 1.019 GB, free: 9.199 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001622/0.2753, allocations: 1.452 MB / 1.021 GB, free: 7.73 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.415e-05/0.2753, allocations: 0 / 1.021 GB, free: 7.73 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 1.249e-05/0.2753, allocations: 3.938 kB / 1.021 GB, free: 7.727 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 2.259e-05/0.2754, allocations: 0 / 1.021 GB, free: 7.727 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004297/0.2758, allocations: 143.4 kB / 1.021 GB, free: 7.586 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 6.31e-05/0.2759, allocations: 27.97 kB / 1.021 GB, free: 7.559 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 3.747e-05/0.2759, allocations: 0 / 1.021 GB, free: 7.559 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 4.298e-05/0.276, allocations: 19.98 kB / 1.021 GB, free: 7.539 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 8.331e-05/0.276, allocations: 27.89 kB / 1.021 GB, free: 7.512 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.547e-05/0.2761, allocations: 4 kB / 1.021 GB, free: 7.508 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004188/0.2765, allocations: 311.4 kB / 1.021 GB, free: 7.203 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 1.93e-05/0.2765, allocations: 11.97 kB / 1.021 GB, free: 7.191 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 2.776e-05/0.2765, allocations: 19.92 kB / 1.021 GB, free: 7.172 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0002705/0.2768, allocations: 187.6 kB / 1.022 GB, free: 6.988 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.2768, allocations: 0 / 1.022 GB, free: 6.988 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.583e-06/0.2768, allocations: 0 / 1.022 GB, free: 6.988 MB / 0.795 GB Notification: Performance of Transformations before backend: time 3.897e-06/0.2768, allocations: 0 / 1.022 GB, free: 6.988 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004566/0.2773, allocations: 367.5 kB / 1.022 GB, free: 6.582 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 2.972e-05/0.2773, allocations: 8.922 kB / 1.022 GB, free: 6.574 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004414/0.2778, allocations: 64.86 kB / 1.022 GB, free: 6.512 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001401/0.2779, allocations: 168.3 kB / 1.022 GB, free: 6.309 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.097e-05/0.278, allocations: 4.375 kB / 1.022 GB, free: 6.305 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.453e-05/0.278, allocations: 8.281 kB / 1.022 GB, free: 6.297 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002361/0.2782, allocations: 77.95 kB / 1.022 GB, free: 6.215 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.392e-06/0.2783, allocations: 0 / 1.022 GB, free: 6.215 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.152e-05/0.2783, allocations: 0 / 1.022 GB, free: 6.215 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.787e-06/0.2783, allocations: 0 / 1.022 GB, free: 6.215 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002987/0.2786, allocations: 67.92 kB / 1.022 GB, free: 6.148 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001572/0.2787, allocations: 161.7 kB / 1.022 GB, free: 5.941 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005538/0.2793, allocations: 122.5 kB / 1.023 GB, free: 5.812 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001543/0.2795, allocations: 48.91 kB / 1.023 GB, free: 5.762 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004242/0.2799, allocations: 157 kB / 1.023 GB, free: 5.59 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.029e-05/0.2799, allocations: 34.5 kB / 1.023 GB, free: 5.547 MB / 0.795 GB Notification: Performance of pre-optimization done (n=4): time 1.153e-06/0.2799, allocations: 0 / 1.023 GB, free: 5.547 MB / 0.795 GB Notification: Performance of matching and sorting (n=5): time 0.001066/0.281, allocations: 402.2 kB / 1.023 GB, free: 5.102 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.995e-05/0.2811, allocations: 51.41 kB / 1.023 GB, free: 5.039 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.943e-05/0.2811, allocations: 101.8 kB / 1.023 GB, free: 4.93 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.506e-05/0.2811, allocations: 29.83 kB / 1.023 GB, free: 4.895 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 2.732e-05/0.2812, allocations: 88.02 kB / 1.023 GB, free: 4.805 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 2.738e-05/0.2812, allocations: 15.75 kB / 1.023 GB, free: 4.789 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.432e-05/0.2813, allocations: 21.7 kB / 1.023 GB, free: 4.762 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 9.748e-05/0.2814, allocations: 322.8 kB / 1.024 GB, free: 4.438 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001578/0.2815, allocations: 35.97 kB / 1.024 GB, free: 4.402 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001421/0.2817, allocations: 39.89 kB / 1.024 GB, free: 4.363 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002855/0.282, allocations: 77 kB / 1.024 GB, free: 4.285 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.282, allocations: 0 / 1.024 GB, free: 4.285 MB / 0.795 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003592/0.2823, allocations: 117.6 kB / 1.024 GB, free: 4.164 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.277e-05/0.2824, allocations: 4 kB / 1.024 GB, free: 4.16 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.737e-06/0.2824, allocations: 0 / 1.024 GB, free: 4.16 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.081e-05/0.2824, allocations: 4 kB / 1.024 GB, free: 4.156 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001466/0.2825, allocations: 23.97 kB / 1.024 GB, free: 4.133 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.043e-06/0.2826, allocations: 7.938 kB / 1.024 GB, free: 4.125 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.666e-05/0.2827, allocations: 11.98 kB / 1.024 GB, free: 4.113 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.478e-06/0.2827, allocations: 0 / 1.024 GB, free: 4.113 MB / 0.795 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 7.894e-05/0.2828, allocations: 113.8 kB / 1.024 GB, free: 3.992 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.79e-05/0.2828, allocations: 7.844 kB / 1.024 GB, free: 3.984 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004326/0.2832, allocations: 133.2 kB / 1.024 GB, free: 3.844 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.516e-06/0.2832, allocations: 4 kB / 1.024 GB, free: 3.84 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.426e-06/0.2832, allocations: 0 / 1.024 GB, free: 3.84 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.746e-06/0.2833, allocations: 0 / 1.024 GB, free: 3.84 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001267/0.2834, allocations: 169.6 kB / 1.024 GB, free: 3.625 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.2834, allocations: 0 / 1.024 GB, free: 3.625 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001566/0.2836, allocations: 35.84 kB / 1.024 GB, free: 3.59 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.2836, allocations: 0 / 1.024 GB, free: 3.59 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.272e-05/0.2836, allocations: 4 kB / 1.024 GB, free: 3.586 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.2836, allocations: 0 / 1.024 GB, free: 3.586 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.2836, allocations: 0 / 1.024 GB, free: 3.586 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005392/0.2841, allocations: 181 kB / 1.025 GB, free: 3.391 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 6.551e-05/0.2842, allocations: 89.22 kB / 1.025 GB, free: 3.285 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.989e-05/0.2842, allocations: 12.09 kB / 1.025 GB, free: 3.273 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001151/0.2844, allocations: 11.98 kB / 1.025 GB, free: 3.262 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.327e-05/0.2844, allocations: 0 / 1.025 GB, free: 3.262 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.44e-05/0.2844, allocations: 7.984 kB / 1.025 GB, free: 3.254 MB / 0.795 GB Notification: Performance of sorting global known variables: time 2.904e-05/0.2844, allocations: 83.22 kB / 1.025 GB, free: 3.172 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2845, allocations: 0 / 1.025 GB, free: 3.172 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002268/0.2847, allocations: 32 kB / 1.025 GB, free: 3.141 MB / 0.795 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.000179/0.2849, allocations: 131.2 kB / 1.025 GB, free: 3.004 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0003545/0.2852, allocations: 87.92 kB / 1.025 GB, free: 2.918 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.2852, allocations: 0 / 1.025 GB, free: 2.918 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0001652/0.2854, allocations: 47.89 kB / 1.025 GB, free: 2.871 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001416/0.2856, allocations: 0 / 1.025 GB, free: 2.871 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005537/0.2861, allocations: 187.3 kB / 1.025 GB, free: 2.664 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001994/0.2863, allocations: 0.6846 MB / 1.026 GB, free: 1.953 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 8.687e-05/0.2864, allocations: 23.97 kB / 1.026 GB, free: 1.93 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.649e-05/0.2865, allocations: 11.44 kB / 1.026 GB, free: 1.922 MB / 0.795 GB Notification: Performance of SimCode: time 2.51e-07/0.2865, allocations: 0 / 1.026 GB, free: 1.922 MB / 0.795 GB Notification: Performance of Templates: time 0.003279/0.2898, allocations: 1.153 MB / 1.027 GB, free: 0.7734 MB / 0.795 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 -s gbode -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