Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002467/0.002467, allocations: 89.48 kB / 19.44 MB, free: 336 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.003109/0.003109, allocations: 169.6 kB / 22.76 MB, free: 1.664 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.582/1.582, allocations: 177.1 MB / 203.1 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.377/3.377, allocations: 429.5 MB / 0.6729 GB, free: 4.012 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y_comp|y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck") translateModel(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y_comp|y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0.875 kB / 0.8775 GB, free: 5.449 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.563e-05/2.722e-05, allocations: 2.312 kB / 0.8775 GB, free: 5.445 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.00178/0.001807, allocations: 0.5968 MB / 0.8781 GB, free: 4.871 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.0024/0.004208, allocations: 1.463 MB / 0.8795 GB, free: 3.402 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.384e-05/0.004231, allocations: 0 / 0.8795 GB, free: 3.402 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 1.252e-05/0.004244, allocations: 0.9688 kB / 0.8795 GB, free: 3.402 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 3.773e-05/0.004282, allocations: 3.938 kB / 0.8795 GB, free: 3.398 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005386/0.00482, allocations: 146 kB / 0.8797 GB, free: 3.258 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 7.296e-05/0.004893, allocations: 24.77 kB / 0.8797 GB, free: 3.234 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 3.58e-05/0.004929, allocations: 3.984 kB / 0.8797 GB, free: 3.23 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 7.115e-05/0.005, allocations: 24.48 kB / 0.8797 GB, free: 3.207 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 8.001e-05/0.00508, allocations: 19.95 kB / 0.8797 GB, free: 3.188 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 2.094e-05/0.005101, allocations: 5.094 kB / 0.8797 GB, free: 3.184 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000432/0.005533, allocations: 251.4 kB / 0.88 GB, free: 2.938 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 2.471e-05/0.005558, allocations: 8.641 kB / 0.88 GB, free: 2.93 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 2.659e-05/0.005584, allocations: 7.984 kB / 0.88 GB, free: 2.922 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0003526/0.005937, allocations: 205.1 kB / 0.8802 GB, free: 2.723 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.005942, allocations: 4 kB / 0.8802 GB, free: 2.719 MB / 0.7917 GB Notification: Performance of FrontEnd: time 6.61e-07/0.005943, allocations: 0 / 0.8802 GB, free: 2.719 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 3.838e-06/0.005946, allocations: 0 / 0.8802 GB, free: 2.719 MB / 0.7917 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.0006418/0.006588, allocations: 391.6 kB / 0.8806 GB, free: 2.305 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 3.751e-05/0.006626, allocations: 12.02 kB / 0.8806 GB, free: 2.293 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004203/0.007046, allocations: 60.77 kB / 0.8806 GB, free: 2.234 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001162/0.007162, allocations: 109.6 kB / 0.8807 GB, free: 2.102 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.656e-05/0.007179, allocations: 384 / 0.8807 GB, free: 2.102 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.984e-05/0.007199, allocations: 384 / 0.8807 GB, free: 2.102 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002456/0.007444, allocations: 97.61 kB / 0.8808 GB, free: 1.996 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.756e-05/0.007462, allocations: 4.188 kB / 0.8808 GB, free: 1.992 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.238e-05/0.007474, allocations: 384 / 0.8808 GB, free: 1.992 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.502e-06/0.007481, allocations: 7.562 kB / 0.8809 GB, free: 1.988 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000235/0.007716, allocations: 43.95 kB / 0.8809 GB, free: 1.945 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001998/0.007916, allocations: 120.6 kB / 0.881 GB, free: 1.793 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005263/0.008442, allocations: 104.9 kB / 0.8811 GB, free: 1.68 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001395/0.008581, allocations: 42.38 kB / 0.8812 GB, free: 1.637 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002995/0.008881, allocations: 43.95 kB / 0.8812 GB, free: 1.594 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.59e-05/0.008917, allocations: 41.38 kB / 0.8812 GB, free: 1.543 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=4): time 9.32e-07/0.008918, allocations: 0 / 0.8812 GB, free: 1.543 MB / 0.7917 GB Notification: Performance of matching and sorting (n=5): time 0.001032/0.009949, allocations: 297.6 kB / 0.8815 GB, free: 1.215 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.803e-05/0.009997, allocations: 55.34 kB / 0.8816 GB, free: 1.148 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001174/0.01011, allocations: 157.9 kB / 0.8817 GB, free: 0.9766 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 2.21e-05/0.01014, allocations: 25.83 kB / 0.8817 GB, free: 0.9453 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 7.138e-05/0.01021, allocations: 134.9 kB / 0.8819 GB, free: 0.8086 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 3.546e-05/0.01024, allocations: 15.86 kB / 0.8819 GB, free: 0.793 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.834e-05/0.0103, allocations: 31.3 kB / 0.8819 GB, free: 0.7539 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0002602/0.01056, allocations: 0.4884 MB / 0.8824 GB, free: 260 kB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001203/0.01068, allocations: 19.98 kB / 0.8824 GB, free: 240 kB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001187/0.0108, allocations: 31.97 kB / 0.8824 GB, free: 208 kB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002357/0.01104, allocations: 59.66 kB / 0.8825 GB, free: 144 kB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.01104, allocations: 0 / 0.8825 GB, free: 144 kB / 0.7917 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003242/0.01136, allocations: 97.66 kB / 0.8826 GB, free: 40 kB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.65e-05/0.01138, allocations: 8 kB / 0.8826 GB, free: 32 kB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.01138, allocations: 0 / 0.8826 GB, free: 32 kB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.606e-05/0.0114, allocations: 0 / 0.8826 GB, free: 32 kB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001438/0.01154, allocations: 27.86 kB / 0.8826 GB, free: 4 kB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.482e-06/0.01155, allocations: 0 / 0.8826 GB, free: 4 kB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001021/0.01165, allocations: 8.031 kB / 0.8826 GB, free: 15.99 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.173e-05/0.01166, allocations: 7.938 kB / 0.8826 GB, free: 15.98 MB / 0.8073 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.0001198/0.01178, allocations: 156.6 kB / 0.8828 GB, free: 15.82 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.33e-05/0.01181, allocations: 12 kB / 0.8828 GB, free: 15.81 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003957/0.0122, allocations: 117.3 kB / 0.8829 GB, free: 15.69 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.0122, allocations: 0 / 0.8829 GB, free: 15.69 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.478e-06/0.01221, allocations: 7.938 kB / 0.8829 GB, free: 15.68 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.48e-06/0.01222, allocations: 3.984 kB / 0.8829 GB, free: 15.68 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001541/0.01237, allocations: 116.6 kB / 0.883 GB, free: 15.53 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.01237, allocations: 320 / 0.883 GB, free: 15.53 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001423/0.01252, allocations: 19.92 kB / 0.8831 GB, free: 15.51 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.354e-06/0.01252, allocations: 8 kB / 0.8831 GB, free: 15.5 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.082e-05/0.01254, allocations: 4 kB / 0.8831 GB, free: 15.5 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.01254, allocations: 0 / 0.8831 GB, free: 15.5 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.397e-06/0.01254, allocations: 3.984 kB / 0.8831 GB, free: 15.5 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004942/0.01303, allocations: 168.3 kB / 0.8832 GB, free: 15.31 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 4.974e-05/0.01308, allocations: 3.984 kB / 0.8832 GB, free: 15.3 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.196e-05/0.01311, allocations: 8.031 kB / 0.8832 GB, free: 15.3 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001087/0.01321, allocations: 12.31 kB / 0.8833 GB, free: 15.29 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.79e-05/0.01325, allocations: 11.92 kB / 0.8833 GB, free: 15.27 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.627e-06/0.01326, allocations: 0 / 0.8833 GB, free: 15.27 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 7.203e-05/0.01333, allocations: 123.2 kB / 0.8834 GB, free: 15.15 MB / 0.8073 GB Notification: Performance of sort global known variables: time 6e-08/0.01333, allocations: 3.938 kB / 0.8834 GB, free: 15.15 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002396/0.01357, allocations: 35.86 kB / 0.8834 GB, free: 15.11 MB / 0.8073 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.0002285/0.0138, allocations: 131.2 kB / 0.8835 GB, free: 14.97 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0003149/0.01412, allocations: 71.64 kB / 0.8836 GB, free: 14.9 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.01412, allocations: 0 / 0.8836 GB, free: 14.9 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0001551/0.01427, allocations: 47.59 kB / 0.8837 GB, free: 14.85 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001532/0.01443, allocations: 7.984 kB / 0.8837 GB, free: 14.84 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005732/0.015, allocations: 174.2 kB / 0.8838 GB, free: 14.64 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.568e-05/0.01508, allocations: 63.34 kB / 0.8839 GB, free: 14.56 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.0001029/0.01518, allocations: 19.94 kB / 0.8839 GB, free: 14.54 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.468e-05/0.01523, allocations: 20.44 kB / 0.8839 GB, free: 14.52 MB / 0.8073 GB Notification: Performance of SimCode: time 4.31e-07/0.01523, allocations: 0 / 0.8839 GB, free: 14.52 MB / 0.8073 GB Notification: Performance of Templates: time 0.004423/0.01966, allocations: 1.214 MB / 0.8851 GB, free: 13.32 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_InverseXDerivativeCheck.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.353870720951818]