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.001076/0.001076, allocations: 93.06 kB / 19.65 MB, free: 280 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.0009309/0.0009309, allocations: 169 kB / 23.02 MB, free: 1.551 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.9261/0.9261, allocations: 177.1 MB / 203.4 MB, free: 5.656 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.185/2.185, allocations: 429.5 MB / 0.6732 GB, free: 4.039 MB / 0.6355 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.613e-06/1.613e-06, allocations: 0 / 0.8782 GB, free: 6.27 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.016e-05/2.177e-05, allocations: 2.938 kB / 0.8782 GB, free: 6.266 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.001393/0.001415, allocations: 0.8122 MB / 0.879 GB, free: 5.477 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001449/0.002864, allocations: 1.503 MB / 0.8805 GB, free: 3.957 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.251e-05/0.002896, allocations: 1.125 kB / 0.8805 GB, free: 3.957 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 3.237e-05/0.002928, allocations: 3.938 kB / 0.8805 GB, free: 3.953 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 4.626e-05/0.002975, allocations: 7.938 kB / 0.8805 GB, free: 3.945 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004488/0.003423, allocations: 143.8 kB / 0.8806 GB, free: 3.809 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 7.761e-05/0.003501, allocations: 47.91 kB / 0.8807 GB, free: 3.762 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 3.819e-05/0.003539, allocations: 4 kB / 0.8807 GB, free: 3.758 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 8.617e-05/0.003625, allocations: 39.89 kB / 0.8807 GB, free: 3.719 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 4.822e-05/0.003674, allocations: 27.94 kB / 0.8808 GB, free: 3.691 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.64e-05/0.00369, allocations: 6.875 kB / 0.8808 GB, free: 3.688 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002728/0.003963, allocations: 247.5 kB / 0.881 GB, free: 3.445 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.951e-05/0.003982, allocations: 15.92 kB / 0.881 GB, free: 3.43 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.703e-05/0.004009, allocations: 19.97 kB / 0.881 GB, free: 3.41 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0002617/0.004271, allocations: 223.3 kB / 0.8812 GB, free: 3.191 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.705e-06/0.004274, allocations: 0 / 0.8812 GB, free: 3.191 MB / 0.8386 GB Notification: Performance of FrontEnd: time 8.61e-07/0.004275, allocations: 0 / 0.8812 GB, free: 3.191 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.117e-06/0.004279, allocations: 0.7188 kB / 0.8812 GB, free: 3.191 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.0004937/0.004773, allocations: 421.8 kB / 0.8816 GB, free: 2.746 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.08e-05/0.004813, allocations: 15.97 kB / 0.8817 GB, free: 2.73 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002533/0.005067, allocations: 58.17 kB / 0.8817 GB, free: 2.676 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.756e-05/0.005154, allocations: 120.5 kB / 0.8818 GB, free: 2.531 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.99e-05/0.005174, allocations: 12.38 kB / 0.8818 GB, free: 2.52 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.298e-05/0.005197, allocations: 8.375 kB / 0.8818 GB, free: 2.512 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002174/0.005415, allocations: 152.9 kB / 0.882 GB, free: 2.344 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.939e-06/0.005424, allocations: 192 / 0.882 GB, free: 2.344 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.157e-05/0.005436, allocations: 384 / 0.882 GB, free: 2.344 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.127e-06/0.005445, allocations: 7.938 kB / 0.882 GB, free: 2.336 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.6e-05/0.005511, allocations: 39.91 kB / 0.882 GB, free: 2.297 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003797/0.005891, allocations: 315.6 kB / 0.8823 GB, free: 1.953 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001503/0.006041, allocations: 82.91 kB / 0.8824 GB, free: 1.859 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.88e-05/0.00608, allocations: 23.67 kB / 0.8824 GB, free: 1.832 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.346e-05/0.006093, allocations: 4 kB / 0.8824 GB, free: 1.828 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.038e-05/0.006114, allocations: 33.39 kB / 0.8825 GB, free: 1.785 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=7): time 1.182e-06/0.006115, allocations: 0 / 0.8825 GB, free: 1.785 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.007058/0.01317, allocations: 2.002 MB / 0.8844 GB, free: 15.71 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.831e-05/0.0132, allocations: 51.41 kB / 0.8845 GB, free: 15.65 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.821e-05/0.01327, allocations: 157.9 kB / 0.8846 GB, free: 15.48 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 3.647e-05/0.01331, allocations: 33.7 kB / 0.8847 GB, free: 15.44 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 4.353e-05/0.01335, allocations: 130.8 kB / 0.8848 GB, free: 15.31 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 5.534e-05/0.0134, allocations: 47.78 kB / 0.8848 GB, free: 15.26 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001093/0.01351, allocations: 71.23 kB / 0.8849 GB, free: 15.18 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001063/0.01362, allocations: 0.496 MB / 0.8854 GB, free: 14.68 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001895/0.01381, allocations: 139.8 kB / 0.8855 GB, free: 14.54 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001856/0.014, allocations: 152 kB / 0.8857 GB, free: 14.39 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003815/0.01438, allocations: 294.8 kB / 0.8859 GB, free: 14.11 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.01438, allocations: 0 / 0.8859 GB, free: 14.11 MB / 0.8542 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005357/0.01491, allocations: 377.3 kB / 0.8863 GB, free: 13.73 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.568e-05/0.01493, allocations: 4 kB / 0.8863 GB, free: 13.73 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.149e-06/0.01493, allocations: 4 kB / 0.8863 GB, free: 13.72 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.685e-05/0.01495, allocations: 0 / 0.8863 GB, free: 13.72 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003747/0.01533, allocations: 95.81 kB / 0.8864 GB, free: 13.63 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/0.01533, allocations: 0 / 0.8864 GB, free: 13.63 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002316/0.01556, allocations: 31.95 kB / 0.8864 GB, free: 13.6 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.583e-05/0.0156, allocations: 19.94 kB / 0.8865 GB, free: 13.58 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.0001119/0.01571, allocations: 172.5 kB / 0.8866 GB, free: 13.4 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.308e-05/0.01578, allocations: 8 kB / 0.8866 GB, free: 13.39 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.433e-05/0.01582, allocations: 8.125 kB / 0.8866 GB, free: 13.38 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.579e-06/0.01582, allocations: 7.984 kB / 0.8866 GB, free: 13.38 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.01583, allocations: 0 / 0.8866 GB, free: 13.38 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.01583, allocations: 0 / 0.8866 GB, free: 13.38 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009096/0.01674, allocations: 0.8862 MB / 0.8875 GB, free: 12.39 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.01674, allocations: 0 / 0.8875 GB, free: 12.39 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00035/0.01709, allocations: 95.81 kB / 0.8876 GB, free: 12.3 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.01709, allocations: 0 / 0.8876 GB, free: 12.3 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.499e-05/0.01713, allocations: 19.94 kB / 0.8876 GB, free: 12.28 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.01713, allocations: 0 / 0.8876 GB, free: 12.28 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.01713, allocations: 7.984 kB / 0.8876 GB, free: 12.27 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008041/0.01794, allocations: 0.6439 MB / 0.8883 GB, free: 11.61 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 8.563e-05/0.01802, allocations: 47.86 kB / 0.8883 GB, free: 11.56 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.087e-05/0.01806, allocations: 4 kB / 0.8883 GB, free: 11.55 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002598/0.01832, allocations: 27.95 kB / 0.8883 GB, free: 11.53 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.114e-05/0.01839, allocations: 31.86 kB / 0.8884 GB, free: 11.5 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.613e-05/0.01843, allocations: 27.94 kB / 0.8884 GB, free: 11.47 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 3.265e-05/0.01846, allocations: 119.2 kB / 0.8885 GB, free: 11.35 MB / 0.8542 GB Notification: Performance of sort global known variables: time 8e-08/0.01846, allocations: 0 / 0.8885 GB, free: 11.35 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002566/0.01872, allocations: 59.92 kB / 0.8886 GB, free: 11.29 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.0001646/0.01888, allocations: 111.2 kB / 0.8887 GB, free: 11.18 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.000471/0.01936, allocations: 335.3 kB / 0.889 GB, free: 10.84 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.01936, allocations: 0 / 0.889 GB, free: 10.84 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0002186/0.01958, allocations: 183.5 kB / 0.8892 GB, free: 10.66 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000224/0.0198, allocations: 31.94 kB / 0.8892 GB, free: 10.63 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001746/0.02155, allocations: 0.6421 MB / 0.8898 GB, free: 9.957 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.478e-05/0.02158, allocations: 63.34 kB / 0.8899 GB, free: 9.875 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0002942/0.02187, allocations: 85.75 kB / 0.89 GB, free: 9.793 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001873/0.02206, allocations: 56.36 kB / 0.89 GB, free: 9.738 MB / 0.8542 GB Notification: Performance of SimCode: time 6.81e-07/0.02206, allocations: 0 / 0.89 GB, free: 9.738 MB / 0.8542 GB Notification: Performance of Templates: time 0.005018/0.02708, allocations: 3.893 MB / 0.8938 GB, free: 5.867 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","",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.412203362677246]