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.0009714/0.0009714, allocations: 81.64 kB / 19.87 MB, free: 4.613 MB / 18.57 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.001019/0.001019, allocations: 173 kB / 23.28 MB, free: 1.215 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 0.9164/0.9164, allocations: 177.1 MB / 203.7 MB, free: 5.516 MB / 186.7 MB " [Timeout remaining time 179] 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.336/2.336, allocations: 438.1 MB / 0.682 GB, free: 14.15 MB / 0.6511 GB " [Timeout remaining time 177] 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.553e-06/1.553e-06, allocations: 0 / 0.8898 GB, free: 9.664 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.544e-05/2.699e-05, allocations: 6.312 kB / 0.8898 GB, free: 9.656 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.004881/0.004908, allocations: 0.7917 MB / 0.8906 GB, free: 8.867 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.001709/0.006617, allocations: 1.493 MB / 0.892 GB, free: 7.355 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.652e-05/0.006674, allocations: 0 / 0.892 GB, free: 7.355 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 3.412e-05/0.006708, allocations: 7.922 kB / 0.892 GB, free: 7.348 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 5.716e-05/0.006765, allocations: 11.86 kB / 0.8921 GB, free: 7.336 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005098/0.007275, allocations: 139.5 kB / 0.8922 GB, free: 7.199 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 8.241e-05/0.007357, allocations: 51.89 kB / 0.8922 GB, free: 7.148 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 3.161e-05/0.007389, allocations: 0 / 0.8922 GB, free: 7.148 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 9.454e-05/0.007483, allocations: 39.89 kB / 0.8923 GB, free: 7.109 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 5.144e-05/0.007535, allocations: 23.95 kB / 0.8923 GB, free: 7.086 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 0.002746/0.01028, allocations: 7.938 kB / 0.8923 GB, free: 7.078 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004318/0.01071, allocations: 251.5 kB / 0.8925 GB, free: 6.832 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 2.605e-05/0.01074, allocations: 15.92 kB / 0.8926 GB, free: 6.816 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 2.695e-05/0.01077, allocations: 15.97 kB / 0.8926 GB, free: 6.801 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.000317/0.01108, allocations: 223.4 kB / 0.8928 GB, free: 6.582 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.01109, allocations: 0 / 0.8928 GB, free: 6.582 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.473e-06/0.01109, allocations: 4 kB / 0.8928 GB, free: 6.578 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 4.298e-06/0.01109, allocations: 0 / 0.8928 GB, free: 6.578 MB / 0.8542 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.0005012/0.01159, allocations: 428.1 kB / 0.8932 GB, free: 6.125 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.523e-05/0.01164, allocations: 8.625 kB / 0.8932 GB, free: 6.117 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002663/0.0119, allocations: 52.88 kB / 0.8933 GB, free: 6.066 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001014/0.01201, allocations: 124.4 kB / 0.8934 GB, free: 5.918 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.049e-05/0.01204, allocations: 8.375 kB / 0.8934 GB, free: 5.91 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.312e-05/0.01206, allocations: 4.375 kB / 0.8934 GB, free: 5.906 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002275/0.01229, allocations: 158.3 kB / 0.8935 GB, free: 5.73 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/0.0123, allocations: 192 / 0.8935 GB, free: 5.73 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.168e-06/0.01231, allocations: 384 / 0.8935 GB, free: 5.73 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.384e-06/0.01231, allocations: 7.938 kB / 0.8935 GB, free: 5.723 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.598e-05/0.01236, allocations: 23.98 kB / 0.8936 GB, free: 5.699 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004604/0.01282, allocations: 300.2 kB / 0.8939 GB, free: 5.379 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001983/0.01302, allocations: 75.02 kB / 0.8939 GB, free: 5.293 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.395e-05/0.01305, allocations: 23.62 kB / 0.894 GB, free: 5.266 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.303e-05/0.01308, allocations: 7.922 kB / 0.894 GB, free: 5.258 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.987e-05/0.01311, allocations: 37.39 kB / 0.894 GB, free: 5.211 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=7): time 1.763e-06/0.01311, allocations: 0 / 0.894 GB, free: 5.211 MB / 0.8542 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.007181/0.02029, allocations: 1.882 MB / 0.8958 GB, free: 3.266 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.723e-05/0.02032, allocations: 55.41 kB / 0.8959 GB, free: 3.199 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.133e-05/0.0204, allocations: 157.9 kB / 0.896 GB, free: 3.027 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 3.46e-05/0.02043, allocations: 29.7 kB / 0.8961 GB, free: 2.992 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 5.455e-05/0.02049, allocations: 142.7 kB / 0.8962 GB, free: 2.848 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 5.301e-05/0.02054, allocations: 39.64 kB / 0.8962 GB, free: 2.809 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001058/0.02064, allocations: 79.23 kB / 0.8963 GB, free: 2.723 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001085/0.02075, allocations: 0.4922 MB / 0.8968 GB, free: 2.219 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001412/0.02089, allocations: 123.9 kB / 0.8969 GB, free: 2.098 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001357/0.02103, allocations: 114.9 kB / 0.897 GB, free: 1.988 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002945/0.02132, allocations: 251.5 kB / 0.8973 GB, free: 1.738 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.02133, allocations: 4 kB / 0.8973 GB, free: 1.734 MB / 0.8542 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004595/0.02179, allocations: 333.3 kB / 0.8976 GB, free: 1.402 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.685e-05/0.0218, allocations: 4 kB / 0.8976 GB, free: 1.398 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.153e-06/0.02181, allocations: 3.984 kB / 0.8976 GB, free: 1.395 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.705e-05/0.02183, allocations: 8 kB / 0.8976 GB, free: 1.387 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003299/0.02216, allocations: 83.83 kB / 0.8977 GB, free: 1.305 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.717e-06/0.02216, allocations: 0 / 0.8977 GB, free: 1.305 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002156/0.02238, allocations: 31.95 kB / 0.8977 GB, free: 1.273 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.075e-05/0.02241, allocations: 23.94 kB / 0.8977 GB, free: 1.25 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.0001209/0.02253, allocations: 168.5 kB / 0.8979 GB, free: 1.074 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.883e-05/0.0226, allocations: 8 kB / 0.8979 GB, free: 1.066 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.25e-05/0.02264, allocations: 16.11 kB / 0.8979 GB, free: 1.047 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.766e-06/0.02264, allocations: 0 / 0.8979 GB, free: 1.047 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.435e-06/0.02265, allocations: 0 / 0.8979 GB, free: 1.047 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.02265, allocations: 0 / 0.8979 GB, free: 1.047 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000962/0.02361, allocations: 0.8322 MB / 0.8987 GB, free: 128 kB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.02361, allocations: 4 kB / 0.8987 GB, free: 124 kB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003282/0.02394, allocations: 95.75 kB / 0.8988 GB, free: 28 kB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.297e-06/0.02395, allocations: 0 / 0.8988 GB, free: 28 kB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.218e-05/0.02398, allocations: 23.94 kB / 0.8988 GB, free: 4 kB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/0.02398, allocations: 0 / 0.8988 GB, free: 4 kB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.02398, allocations: 3.984 kB / 0.8989 GB, free: 0 / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007733/0.02476, allocations: 0.5777 MB / 0.8994 GB, free: 15.4 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001077/0.02486, allocations: 47.91 kB / 0.8995 GB, free: 15.36 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.971e-05/0.0249, allocations: 0 / 0.8995 GB, free: 15.36 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002412/0.02515, allocations: 27.97 kB / 0.8995 GB, free: 15.33 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.478e-05/0.02521, allocations: 31.91 kB / 0.8995 GB, free: 15.3 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.616e-05/0.02526, allocations: 23.94 kB / 0.8995 GB, free: 15.27 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 4.903e-05/0.02531, allocations: 123.2 kB / 0.8997 GB, free: 15.15 MB / 0.8698 GB Notification: Performance of sort global known variables: time 5e-08/0.02531, allocations: 0 / 0.8997 GB, free: 15.15 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002881/0.02559, allocations: 59.88 kB / 0.8997 GB, free: 15.09 MB / 0.8698 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.000263/0.02586, allocations: 111.2 kB / 0.8998 GB, free: 14.98 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0004452/0.0263, allocations: 289.1 kB / 0.9001 GB, free: 14.69 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.0263, allocations: 0 / 0.9001 GB, free: 14.69 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001837/0.02649, allocations: 159.5 kB / 0.9002 GB, free: 14.53 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002515/0.02674, allocations: 39.86 kB / 0.9003 GB, free: 14.49 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001689/0.02843, allocations: 0.6116 MB / 0.9009 GB, free: 13.85 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.387e-05/0.02847, allocations: 63.34 kB / 0.9009 GB, free: 13.77 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0002939/0.02877, allocations: 85.75 kB / 0.901 GB, free: 13.69 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002795/0.02905, allocations: 130 kB / 0.9012 GB, free: 13.56 MB / 0.8698 GB Notification: Performance of SimCode: time 1.272e-06/0.02905, allocations: 0 / 0.9012 GB, free: 13.56 MB / 0.8698 GB Notification: Performance of Templates: time 0.006682/0.03573, allocations: 3.864 MB / 0.9049 GB, free: 9.699 MB / 0.8698 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.333212330006063]