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.001354/0.001354, allocations: 88.72 kB / 19.44 MB, free: 356 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.001554/0.001554, allocations: 157.6 kB / 22.75 MB, free: 1.684 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.453/1.453, allocations: 177.1 MB / 203.1 MB, free: 5.59 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.159/3.159, allocations: 429.6 MB / 0.673 GB, free: 3.902 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.713e-06/1.713e-06, allocations: 0.875 kB / 0.8776 GB, free: 5.309 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.513e-05/2.684e-05, allocations: 2.312 kB / 0.8776 GB, free: 5.305 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.001847/0.001874, allocations: 0.6122 MB / 0.8782 GB, free: 4.715 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.00241/0.004284, allocations: 1.433 MB / 0.8796 GB, free: 3.273 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.677e-05/0.00431, allocations: 4 kB / 0.8797 GB, free: 3.27 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 1.459e-05/0.004325, allocations: 3.938 kB / 0.8797 GB, free: 3.266 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 3.635e-05/0.004361, allocations: 0 / 0.8797 GB, free: 3.266 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008425/0.005204, allocations: 142.5 kB / 0.8798 GB, free: 3.129 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 7.698e-05/0.005281, allocations: 27.97 kB / 0.8798 GB, free: 3.102 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 4.221e-05/0.005323, allocations: 7.062 kB / 0.8798 GB, free: 3.098 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 7.658e-05/0.0054, allocations: 23.91 kB / 0.8798 GB, free: 3.074 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 8.659e-05/0.005486, allocations: 19.97 kB / 0.8799 GB, free: 3.055 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 1.894e-05/0.005505, allocations: 0 / 0.8799 GB, free: 3.055 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005107/0.006016, allocations: 255.4 kB / 0.8801 GB, free: 2.805 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 2.441e-05/0.00604, allocations: 11.97 kB / 0.8801 GB, free: 2.793 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 3.509e-05/0.006075, allocations: 7.984 kB / 0.8801 GB, free: 2.785 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0004002/0.006476, allocations: 207.4 kB / 0.8803 GB, free: 2.582 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 2.254e-06/0.006478, allocations: 0.6562 kB / 0.8803 GB, free: 2.582 MB / 0.7917 GB Notification: Performance of FrontEnd: time 6.01e-07/0.006478, allocations: 0 / 0.8803 GB, free: 2.582 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 4.589e-06/0.006483, allocations: 1.656 kB / 0.8803 GB, free: 2.582 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.0006164/0.007099, allocations: 282 kB / 0.8806 GB, free: 2.277 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 4.519e-05/0.007145, allocations: 12.03 kB / 0.8806 GB, free: 2.266 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000544/0.007689, allocations: 74.14 kB / 0.8807 GB, free: 2.195 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001417/0.00783, allocations: 101.8 kB / 0.8808 GB, free: 2.07 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.021e-05/0.007851, allocations: 4.375 kB / 0.8808 GB, free: 2.066 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.215e-05/0.007883, allocations: 8.312 kB / 0.8808 GB, free: 2.059 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003257/0.008208, allocations: 103.9 kB / 0.8809 GB, free: 1.945 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.858e-06/0.008218, allocations: 192 / 0.8809 GB, free: 1.945 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.421e-05/0.008232, allocations: 384 / 0.8809 GB, free: 1.945 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.364e-05/0.008246, allocations: 7.938 kB / 0.8809 GB, free: 1.938 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003309/0.008577, allocations: 67.86 kB / 0.881 GB, free: 1.871 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002085/0.008785, allocations: 105.3 kB / 0.8811 GB, free: 1.738 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006623/0.009448, allocations: 118.6 kB / 0.8812 GB, free: 1.613 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000195/0.009643, allocations: 44.92 kB / 0.8812 GB, free: 1.566 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004871/0.01013, allocations: 83.89 kB / 0.8813 GB, free: 1.484 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.253e-05/0.01016, allocations: 30.56 kB / 0.8813 GB, free: 1.445 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=4): time 8.72e-07/0.01016, allocations: 0 / 0.8813 GB, free: 1.445 MB / 0.7917 GB Notification: Performance of matching and sorting (n=5): time 0.001297/0.01146, allocations: 341 kB / 0.8817 GB, free: 1.078 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.948e-05/0.01151, allocations: 55.34 kB / 0.8817 GB, free: 1.012 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001083/0.01162, allocations: 97.86 kB / 0.8818 GB, free: 0.9062 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 2.755e-05/0.01165, allocations: 29.7 kB / 0.8818 GB, free: 0.8711 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 5.178e-05/0.0117, allocations: 80.14 kB / 0.8819 GB, free: 0.7891 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 3.899e-05/0.01174, allocations: 19.84 kB / 0.8819 GB, free: 0.7695 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.294e-05/0.01179, allocations: 17.72 kB / 0.8819 GB, free: 0.7461 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0001906/0.01198, allocations: 314.8 kB / 0.8822 GB, free: 440 kB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001827/0.01216, allocations: 44.08 kB / 0.8823 GB, free: 396 kB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001593/0.01232, allocations: 31.97 kB / 0.8823 GB, free: 364 kB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003387/0.01266, allocations: 76.8 kB / 0.8824 GB, free: 284 kB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.01266, allocations: 0 / 0.8824 GB, free: 284 kB / 0.7917 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000414/0.01308, allocations: 117.6 kB / 0.8825 GB, free: 160 kB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 2.061e-05/0.0131, allocations: 4 kB / 0.8825 GB, free: 156 kB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.0131, allocations: 0 / 0.8825 GB, free: 156 kB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.501e-05/0.01313, allocations: 4 kB / 0.8825 GB, free: 152 kB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001635/0.01329, allocations: 23.92 kB / 0.8825 GB, free: 128 kB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.232e-06/0.0133, allocations: 0 / 0.8825 GB, free: 128 kB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001084/0.01341, allocations: 15.98 kB / 0.8825 GB, free: 112 kB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.291e-05/0.01342, allocations: 4.312 kB / 0.8825 GB, free: 108 kB / 0.7917 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.0001414/0.01356, allocations: 113.8 kB / 0.8827 GB, free: 15.98 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.215e-05/0.01358, allocations: 0 / 0.8827 GB, free: 15.98 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005295/0.01411, allocations: 153.2 kB / 0.8828 GB, free: 15.83 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.783e-06/0.01412, allocations: 3.984 kB / 0.8828 GB, free: 15.82 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.184e-06/0.01413, allocations: 3.938 kB / 0.8828 GB, free: 15.82 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.01413, allocations: 0 / 0.8828 GB, free: 15.82 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001468/0.01428, allocations: 113.3 kB / 0.8829 GB, free: 15.68 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.462e-06/0.01428, allocations: 320 / 0.8829 GB, free: 15.68 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001839/0.01446, allocations: 27.97 kB / 0.8829 GB, free: 15.65 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/0.01446, allocations: 4 kB / 0.8829 GB, free: 15.65 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.111e-05/0.01448, allocations: 4 kB / 0.8829 GB, free: 15.64 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.01448, allocations: 0 / 0.8829 GB, free: 15.64 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.01448, allocations: 0 / 0.8829 GB, free: 15.64 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006539/0.01513, allocations: 192.9 kB / 0.8831 GB, free: 15.44 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 4.538e-05/0.01518, allocations: 8.016 kB / 0.8831 GB, free: 15.43 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.952e-05/0.0152, allocations: 0 / 0.8831 GB, free: 15.43 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001242/0.01532, allocations: 15.98 kB / 0.8832 GB, free: 15.41 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.121e-05/0.01535, allocations: 7.922 kB / 0.8832 GB, free: 15.41 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.373e-05/0.01537, allocations: 12.06 kB / 0.8832 GB, free: 15.39 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 6.676e-05/0.01543, allocations: 75.28 kB / 0.8832 GB, free: 15.32 MB / 0.8073 GB Notification: Performance of sort global known variables: time 7e-08/0.01543, allocations: 0 / 0.8832 GB, free: 15.32 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002561/0.01569, allocations: 31.88 kB / 0.8833 GB, free: 15.29 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.00025/0.01594, allocations: 127.1 kB / 0.8834 GB, free: 15.15 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.000398/0.01634, allocations: 84.02 kB / 0.8835 GB, free: 15.07 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.01634, allocations: 0 / 0.8835 GB, free: 15.07 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0001885/0.01653, allocations: 51.89 kB / 0.8835 GB, free: 15.02 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001608/0.01669, allocations: 6.031 kB / 0.8835 GB, free: 15.02 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006879/0.01738, allocations: 187 kB / 0.8837 GB, free: 14.81 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.694e-05/0.01744, allocations: 63.34 kB / 0.8838 GB, free: 14.73 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 9.521e-05/0.01754, allocations: 16 kB / 0.8838 GB, free: 14.71 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.886e-05/0.0176, allocations: 16.5 kB / 0.8838 GB, free: 14.7 MB / 0.8073 GB Notification: Performance of SimCode: time 5.01e-07/0.0176, allocations: 0 / 0.8838 GB, free: 14.7 MB / 0.8073 GB Notification: Performance of Templates: time 0.004207/0.0218, allocations: 1.22 MB / 0.885 GB, free: 13.48 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe 2>&1) [Timeout 800] 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: 7.832375769037753]