Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.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.002214/0.002214, allocations: 81.5 kB / 19.44 MB, free: 344 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.002581/0.002581, allocations: 173.2 kB / 22.76 MB, free: 1.66 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.529/1.529, allocations: 177.1 MB / 203.1 MB, free: 5.621 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.413/3.413, allocations: 429.5 MB / 0.6729 GB, free: 3.996 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.InverseXDerivative_2_Check,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y|y_comp|der_y|der_y_comp|der_err|err",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check") translateModel(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y|y_comp|der_y|der_y_comp|der_err|err",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.502e-06/1.502e-06, allocations: 0 / 0.8775 GB, free: 6.598 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.37e-05/2.521e-05, allocations: 5.125 kB / 0.8775 GB, free: 6.594 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.002008/0.002033, allocations: 0.7878 MB / 0.8783 GB, free: 5.832 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.002336/0.00437, allocations: 1.475 MB / 0.8797 GB, free: 4.344 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.055e-05/0.0044, allocations: 0 / 0.8797 GB, free: 4.344 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 2.716e-05/0.004427, allocations: 3.938 kB / 0.8797 GB, free: 4.34 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 5.282e-05/0.00448, allocations: 3.938 kB / 0.8797 GB, free: 4.336 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005354/0.005016, allocations: 154.5 kB / 0.8799 GB, free: 4.188 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001077/0.005123, allocations: 56.53 kB / 0.8799 GB, free: 4.133 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 3.474e-05/0.005158, allocations: 4 kB / 0.8799 GB, free: 4.129 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001036/0.005262, allocations: 37.48 kB / 0.88 GB, free: 4.094 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 8.184e-05/0.005344, allocations: 23.97 kB / 0.88 GB, free: 4.07 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.178e-05/0.005365, allocations: 4 kB / 0.88 GB, free: 4.066 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004428/0.005808, allocations: 255.4 kB / 0.8802 GB, free: 3.816 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.456e-05/0.005833, allocations: 13.69 kB / 0.8803 GB, free: 3.805 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 4.112e-05/0.005874, allocations: 23.91 kB / 0.8803 GB, free: 3.781 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0003872/0.006261, allocations: 219.4 kB / 0.8805 GB, free: 3.566 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.254e-06/0.006263, allocations: 0 / 0.8805 GB, free: 3.566 MB / 0.8386 GB Notification: Performance of FrontEnd: time 8.31e-07/0.006264, allocations: 3.938 kB / 0.8805 GB, free: 3.562 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.11e-06/0.006269, allocations: 2.844 kB / 0.8805 GB, free: 3.562 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.000717/0.006986, allocations: 423.8 kB / 0.8809 GB, free: 3.113 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.731e-05/0.007023, allocations: 12.03 kB / 0.8809 GB, free: 3.102 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004284/0.007452, allocations: 55.2 kB / 0.881 GB, free: 3.051 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001289/0.007581, allocations: 120.5 kB / 0.8811 GB, free: 2.906 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.52e-05/0.007606, allocations: 8.375 kB / 0.8811 GB, free: 2.898 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.76e-05/0.007634, allocations: 8.375 kB / 0.8811 GB, free: 2.891 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003615/0.007995, allocations: 150.9 kB / 0.8812 GB, free: 2.727 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.32e-05/0.008008, allocations: 4.188 kB / 0.8812 GB, free: 2.723 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.47e-05/0.008023, allocations: 384 / 0.8812 GB, free: 2.723 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.957e-06/0.008032, allocations: 7.938 kB / 0.8812 GB, free: 2.715 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003935/0.008425, allocations: 71.94 kB / 0.8813 GB, free: 2.645 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006305/0.009056, allocations: 327.6 kB / 0.8816 GB, free: 2.289 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005353/0.009591, allocations: 126.9 kB / 0.8817 GB, free: 2.152 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001903/0.009782, allocations: 47.66 kB / 0.8818 GB, free: 2.102 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.005e-05/0.009802, allocations: 4 kB / 0.8818 GB, free: 2.098 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.534e-05/0.009837, allocations: 33.39 kB / 0.8818 GB, free: 2.055 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=7): time 1.332e-06/0.009838, allocations: 0 / 0.8818 GB, free: 2.055 MB / 0.8386 GB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: x Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=11): time 0.01815/0.02799, allocations: 2.482 MB / 0.8843 GB, free: 15.51 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.931e-05/0.02804, allocations: 55.41 kB / 0.8843 GB, free: 15.44 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001411/0.02818, allocations: 165.9 kB / 0.8845 GB, free: 15.26 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 5.184e-05/0.02823, allocations: 29.7 kB / 0.8845 GB, free: 15.23 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 8.535e-05/0.02831, allocations: 134.9 kB / 0.8846 GB, free: 15.09 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 8.342e-05/0.0284, allocations: 47.58 kB / 0.8847 GB, free: 15.04 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001874/0.02859, allocations: 71.23 kB / 0.8847 GB, free: 14.96 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0002759/0.02886, allocations: 0.4922 MB / 0.8852 GB, free: 14.46 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006694/0.02953, allocations: 215.8 kB / 0.8854 GB, free: 14.25 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006471/0.03018, allocations: 220 kB / 0.8856 GB, free: 14.04 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001308/0.03149, allocations: 439.5 kB / 0.886 GB, free: 13.6 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.462e-06/0.03149, allocations: 4 kB / 0.8861 GB, free: 13.6 MB / 0.8542 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.00159/0.03308, allocations: 0.5167 MB / 0.8866 GB, free: 13.08 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.767e-05/0.03309, allocations: 4 kB / 0.8866 GB, free: 13.07 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.0331, allocations: 3.938 kB / 0.8866 GB, free: 13.07 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.891e-05/0.03312, allocations: 4 kB / 0.8866 GB, free: 13.07 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008627/0.03398, allocations: 95.75 kB / 0.8867 GB, free: 12.97 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/0.03399, allocations: 0 / 0.8867 GB, free: 12.97 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005854/0.03457, allocations: 31.95 kB / 0.8867 GB, free: 12.94 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.834e-05/0.03464, allocations: 23.94 kB / 0.8867 GB, free: 12.92 MB / 0.8542 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 (13): * Single equations (assignments): 13 * 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.000212/0.03485, allocations: 164.5 kB / 0.8869 GB, free: 12.75 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001116/0.03496, allocations: 8 kB / 0.8869 GB, free: 12.74 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.371e-05/0.03503, allocations: 8.312 kB / 0.8869 GB, free: 12.73 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.188e-06/0.03504, allocations: 15.97 kB / 0.8869 GB, free: 12.71 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.03504, allocations: 0 / 0.8869 GB, free: 12.71 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.876e-06/0.03504, allocations: 0 / 0.8869 GB, free: 12.71 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002397/0.03744, allocations: 1.054 MB / 0.8879 GB, free: 11.56 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.03744, allocations: 0 / 0.8879 GB, free: 11.56 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008561/0.0383, allocations: 91.77 kB / 0.888 GB, free: 11.47 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.397e-06/0.0383, allocations: 4 kB / 0.888 GB, free: 11.47 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.712e-05/0.03837, allocations: 27.92 kB / 0.888 GB, free: 11.44 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.338e-06/0.03837, allocations: 3.938 kB / 0.8881 GB, free: 11.44 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.03838, allocations: 0 / 0.8881 GB, free: 11.44 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002365/0.04074, allocations: 0.9016 MB / 0.8889 GB, free: 10.52 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001765/0.04092, allocations: 43.89 kB / 0.889 GB, free: 10.47 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.631e-05/0.04098, allocations: 0 / 0.889 GB, free: 10.47 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006605/0.04164, allocations: 23.97 kB / 0.889 GB, free: 10.45 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001104/0.04175, allocations: 31.91 kB / 0.889 GB, free: 10.42 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.959e-05/0.04182, allocations: 35.91 kB / 0.8891 GB, free: 10.38 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 8.902e-05/0.04191, allocations: 119.2 kB / 0.8892 GB, free: 10.27 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1e-07/0.04191, allocations: 4 kB / 0.8892 GB, free: 10.26 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003709/0.04228, allocations: 48 kB / 0.8892 GB, free: 10.21 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (y_comp,der_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 (11): * Single equations (assignments): 11 * 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.0002307/0.04251, allocations: 119 kB / 0.8893 GB, free: 10.09 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.00144/0.04395, allocations: 483.3 kB / 0.8898 GB, free: 9.613 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.04396, allocations: 0 / 0.8898 GB, free: 9.613 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0007143/0.04467, allocations: 255.4 kB / 0.89 GB, free: 9.359 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003748/0.04505, allocations: 39.92 kB / 0.8901 GB, free: 9.32 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004303/0.04935, allocations: 0.6892 MB / 0.8908 GB, free: 8.602 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.547e-05/0.04943, allocations: 83.52 kB / 0.8908 GB, free: 8.5 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.000556/0.04999, allocations: 89.75 kB / 0.8909 GB, free: 8.414 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000297/0.05029, allocations: 60.36 kB / 0.891 GB, free: 8.355 MB / 0.8542 GB Notification: Performance of SimCode: time 7.41e-07/0.05029, allocations: 0 / 0.891 GB, free: 8.355 MB / 0.8542 GB Notification: Performance of Templates: time 0.008317/0.0586, allocations: 3.788 MB / 0.8947 GB, free: 4.586 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.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.663868662901223]