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.001924/0.001924, allocations: 81.23 kB / 19.18 MB, free: 2.516 MB / 14.72 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.002347/0.002347, allocations: 159.4 kB / 22.46 MB, free: 5.375 MB / 14.72 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.459/1.459, allocations: 177.1 MB / 202.8 MB, free: 9.172 MB / 190.1 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 2.996/2.996, allocations: 389 MB / 0.633 GB, free: 1.016 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/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.743e-06/1.743e-06, allocations: 0 / 1 GB, free: 7.238 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.644e-05/2.818e-05, allocations: 6.219 kB / 1 GB, free: 7.23 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.001988/0.002016, allocations: 0.7859 MB / 1.001 GB, free: 6.449 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.002205/0.004221, allocations: 1.447 MB / 1.002 GB, free: 4.984 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.051e-05/0.004261, allocations: 4 kB / 1.002 GB, free: 4.98 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 3.208e-05/0.004294, allocations: 3.938 kB / 1.002 GB, free: 4.977 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 4.963e-05/0.004343, allocations: 0 / 1.002 GB, free: 4.977 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005935/0.004937, allocations: 153.7 kB / 1.003 GB, free: 4.828 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 9.654e-05/0.005033, allocations: 47.89 kB / 1.003 GB, free: 4.781 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 3.848e-05/0.005072, allocations: 4 kB / 1.003 GB, free: 4.777 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001174/0.005189, allocations: 43.89 kB / 1.003 GB, free: 4.734 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 6.687e-05/0.005256, allocations: 23.95 kB / 1.003 GB, free: 4.711 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 2.237e-05/0.005278, allocations: 4 kB / 1.003 GB, free: 4.707 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004449/0.005723, allocations: 247.5 kB / 1.003 GB, free: 4.465 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 3.226e-05/0.005755, allocations: 19.91 kB / 1.003 GB, free: 4.445 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 3.375e-05/0.005789, allocations: 15.98 kB / 1.003 GB, free: 4.43 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0004078/0.006197, allocations: 231.3 kB / 1.003 GB, free: 4.203 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 2.866e-06/0.0062, allocations: 4 kB / 1.003 GB, free: 4.199 MB / 0.9512 GB Notification: Performance of FrontEnd: time 4.328e-06/0.006204, allocations: 4 kB / 1.003 GB, free: 4.195 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 4.458e-06/0.006209, allocations: 0 / 1.003 GB, free: 4.195 MB / 0.9512 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.0007192/0.006928, allocations: 321.8 kB / 1.003 GB, free: 3.852 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.063e-05/0.006969, allocations: 12.03 kB / 1.003 GB, free: 3.84 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005109/0.007479, allocations: 72.8 kB / 1.004 GB, free: 3.77 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001225/0.007602, allocations: 117.7 kB / 1.004 GB, free: 3.629 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.752e-05/0.007629, allocations: 384 / 1.004 GB, free: 3.629 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.921e-05/0.007659, allocations: 12.38 kB / 1.004 GB, free: 3.617 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004483/0.008107, allocations: 157.6 kB / 1.004 GB, free: 3.445 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.291e-05/0.00812, allocations: 192 / 1.004 GB, free: 3.445 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.857e-05/0.008138, allocations: 4.375 kB / 1.004 GB, free: 3.441 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.121e-05/0.00815, allocations: 11.92 kB / 1.004 GB, free: 3.43 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005207/0.00867, allocations: 95.84 kB / 1.004 GB, free: 3.336 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007337/0.009404, allocations: 272.4 kB / 1.004 GB, free: 3.039 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007303/0.01013, allocations: 162.4 kB / 1.004 GB, free: 2.871 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002577/0.01039, allocations: 56.91 kB / 1.004 GB, free: 2.812 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.132e-05/0.01041, allocations: 3.984 kB / 1.004 GB, free: 2.809 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.801e-05/0.01045, allocations: 42.5 kB / 1.004 GB, free: 2.758 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=7): time 1.283e-06/0.01045, allocations: 4 kB / 1.004 GB, free: 2.754 MB / 0.9512 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.01939/0.02984, allocations: 2.675 MB / 1.007 GB, free: 20 kB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.929e-05/0.02991, allocations: 51.41 kB / 1.007 GB, free: 15.96 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000101/0.03001, allocations: 101.8 kB / 1.007 GB, free: 15.85 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 6.32e-05/0.03007, allocations: 29.7 kB / 1.007 GB, free: 15.81 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.797e-05/0.03013, allocations: 88.09 kB / 1.007 GB, free: 15.72 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 8.391e-05/0.03022, allocations: 47.58 kB / 1.007 GB, free: 15.68 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001847/0.0304, allocations: 69.58 kB / 1.007 GB, free: 15.6 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001559/0.03056, allocations: 322.8 kB / 1.008 GB, free: 15.28 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007631/0.03132, allocations: 191.8 kB / 1.008 GB, free: 15.09 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007403/0.03206, allocations: 187.8 kB / 1.008 GB, free: 14.91 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00153/0.03359, allocations: 401.6 kB / 1.008 GB, free: 14.51 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.03359, allocations: 4 kB / 1.008 GB, free: 14.51 MB / 0.9669 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001762/0.03535, allocations: 475.9 kB / 1.009 GB, free: 14.04 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.881e-05/0.03537, allocations: 4 kB / 1.009 GB, free: 14.04 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.03538, allocations: 0 / 1.009 GB, free: 14.04 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.801e-05/0.0354, allocations: 0 / 1.009 GB, free: 14.04 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008787/0.03628, allocations: 111.8 kB / 1.009 GB, free: 13.93 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.267e-06/0.03629, allocations: 3.984 kB / 1.009 GB, free: 13.92 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006489/0.03693, allocations: 43.94 kB / 1.009 GB, free: 13.88 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.426e-05/0.037, allocations: 23.94 kB / 1.009 GB, free: 13.86 MB / 0.9669 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.0001829/0.03718, allocations: 122.2 kB / 1.009 GB, free: 13.73 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.853e-05/0.03727, allocations: 11.95 kB / 1.009 GB, free: 13.71 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.255e-05/0.03732, allocations: 8.125 kB / 1.009 GB, free: 13.71 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.886e-06/0.03733, allocations: 0 / 1.009 GB, free: 13.71 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.423e-05/0.03734, allocations: 3.984 kB / 1.009 GB, free: 13.7 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.105e-06/0.03734, allocations: 0 / 1.009 GB, free: 13.7 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002443/0.03979, allocations: 0.965 MB / 1.01 GB, free: 12.64 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.03979, allocations: 0 / 1.01 GB, free: 12.64 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008625/0.04065, allocations: 111.7 kB / 1.01 GB, free: 12.54 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.04065, allocations: 0 / 1.01 GB, free: 12.54 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.272e-05/0.04072, allocations: 20.03 kB / 1.01 GB, free: 12.52 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.504e-06/0.04072, allocations: 3.938 kB / 1.01 GB, free: 12.51 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.04072, allocations: 0 / 1.01 GB, free: 12.51 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002655/0.04338, allocations: 0.7956 MB / 1.011 GB, free: 11.7 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001403/0.04352, allocations: 43.83 kB / 1.011 GB, free: 11.66 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.218e-05/0.04359, allocations: 0 / 1.011 GB, free: 11.66 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007054/0.04429, allocations: 52 kB / 1.011 GB, free: 11.61 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001125/0.04441, allocations: 27.91 kB / 1.011 GB, free: 11.58 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.127e-05/0.04447, allocations: 27.88 kB / 1.011 GB, free: 11.55 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 5.552e-05/0.04452, allocations: 83.22 kB / 1.011 GB, free: 11.47 MB / 0.9669 GB Notification: Performance of sort global known variables: time 8.1e-08/0.04452, allocations: 0 / 1.011 GB, free: 11.47 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003927/0.04492, allocations: 52 kB / 1.011 GB, free: 11.42 MB / 0.9669 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.0002254/0.04514, allocations: 111.5 kB / 1.011 GB, free: 11.3 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.001593/0.04673, allocations: 419.9 kB / 1.012 GB, free: 10.89 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/0.04674, allocations: 0 / 1.012 GB, free: 10.89 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0008081/0.04754, allocations: 223.6 kB / 1.012 GB, free: 10.67 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003614/0.04791, allocations: 15.97 kB / 1.012 GB, free: 10.65 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004515/0.05242, allocations: 0.7427 MB / 1.013 GB, free: 9.883 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.321e-05/0.0525, allocations: 87.06 kB / 1.013 GB, free: 9.777 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0005087/0.05301, allocations: 84.73 kB / 1.013 GB, free: 9.695 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002886/0.0533, allocations: 60.36 kB / 1.013 GB, free: 9.637 MB / 0.9669 GB Notification: Performance of SimCode: time 6.21e-07/0.0533, allocations: 0 / 1.013 GB, free: 9.637 MB / 0.9669 GB Notification: Performance of Templates: time 0.008037/0.06134, allocations: 3.687 MB / 1.017 GB, free: 5.961 MB / 0.9669 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe 2>&1) [Timeout 800] 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.264331262558699]