Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.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.000774/0.000774, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001107/0.001881, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.0007259/0.0007259, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009924/0.001718, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.015/1.015, allocations: 177.1 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09235/1.107, allocations: 53.66 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.358/2.358, allocations: 446.7 MB / 0.6745 GB, free: 6.211 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2659/2.624, allocations: 145.9 MB / 0.817 GB, free: 4.211 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-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.InverseXRegularized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y|xInv|dy_dt|d2y_dt2",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized") translateModel(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y|xInv|dy_dt|d2y_dt2",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 3.938 kB / 0.8184 GB, free: 2.828 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.72e-05/1.869e-05, allocations: 2.312 kB / 0.8184 GB, free: 2.824 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.001355/0.001373, allocations: 0.6918 MB / 0.819 GB, free: 2.133 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.001519/0.002892, allocations: 1.485 MB / 0.8205 GB, free: 0.6289 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.429e-05/0.002926, allocations: 0 / 0.8205 GB, free: 0.6289 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 6.953e-06/0.002933, allocations: 3.938 kB / 0.8205 GB, free: 0.625 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 3.321e-05/0.002967, allocations: 3.984 kB / 0.8205 GB, free: 0.6211 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003111/0.003278, allocations: 123.4 kB / 0.8206 GB, free: 0.5 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 6.246e-05/0.00334, allocations: 23.92 kB / 0.8206 GB, free: 488 kB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 3.54e-05/0.003376, allocations: 3.938 kB / 0.8206 GB, free: 484 kB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 8.178e-05/0.003457, allocations: 31.91 kB / 0.8207 GB, free: 452 kB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 5.73e-05/0.003515, allocations: 19.92 kB / 0.8207 GB, free: 432 kB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 1.339e-05/0.003528, allocations: 4 kB / 0.8207 GB, free: 428 kB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003616/0.00389, allocations: 259.5 kB / 0.8209 GB, free: 168 kB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 1.221e-05/0.003902, allocations: 3.938 kB / 0.8209 GB, free: 164 kB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 1.565e-05/0.003918, allocations: 4 kB / 0.821 GB, free: 160 kB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0002629/0.00418, allocations: 163.7 kB / 0.8211 GB, free: 15.99 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.555e-05/0.004196, allocations: 0 / 0.8211 GB, free: 15.99 MB / 0.8073 GB Notification: Performance of FrontEnd: time 7.91e-07/0.004197, allocations: 0 / 0.8211 GB, free: 15.99 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.606e-05/0.004213, allocations: 4 kB / 0.8211 GB, free: 15.99 MB / 0.8073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004237/0.004637, allocations: 299.9 kB / 0.8214 GB, free: 15.68 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.224e-05/0.004669, allocations: 12.03 kB / 0.8214 GB, free: 15.66 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002438/0.004913, allocations: 118 kB / 0.8215 GB, free: 15.53 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.57e-05/0.004998, allocations: 113.7 kB / 0.8216 GB, free: 15.39 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.265e-05/0.005011, allocations: 384 / 0.8216 GB, free: 15.39 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.662e-05/0.005028, allocations: 8.312 kB / 0.8216 GB, free: 15.39 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001425/0.00517, allocations: 74.92 kB / 0.8217 GB, free: 15.3 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/0.005179, allocations: 192 / 0.8217 GB, free: 15.3 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.843e-06/0.005185, allocations: 384 / 0.8217 GB, free: 15.3 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.005191, allocations: 3.938 kB / 0.8217 GB, free: 15.3 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.283e-05/0.005234, allocations: 19.92 kB / 0.8217 GB, free: 15.28 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.205e-05/0.005326, allocations: 61.05 kB / 0.8218 GB, free: 15.21 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 7.986e-05/0.005406, allocations: 42.55 kB / 0.8218 GB, free: 15.16 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.958e-05/0.005426, allocations: 17.05 kB / 0.8218 GB, free: 15.14 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.224e-05/0.005438, allocations: 4 kB / 0.8219 GB, free: 15.13 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.311e-05/0.005461, allocations: 38.56 kB / 0.8219 GB, free: 15.09 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=5): time 9.92e-07/0.005462, allocations: 0 / 0.8219 GB, free: 15.09 MB / 0.8073 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=9): time 0.001337/0.006799, allocations: 357.1 kB / 0.8222 GB, free: 14.73 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.062e-05/0.006839, allocations: 59.34 kB / 0.8223 GB, free: 14.66 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.26e-05/0.006922, allocations: 110.7 kB / 0.8224 GB, free: 14.54 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.729e-05/0.006939, allocations: 25.7 kB / 0.8224 GB, free: 14.51 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.258e-05/0.006972, allocations: 88.12 kB / 0.8225 GB, free: 14.42 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 5.032e-05/0.007022, allocations: 31.7 kB / 0.8225 GB, free: 14.39 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.597e-05/0.007068, allocations: 29.62 kB / 0.8226 GB, free: 14.35 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 8.817e-05/0.007156, allocations: 322.8 kB / 0.8229 GB, free: 14.03 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.45e-05/0.007191, allocations: 12 kB / 0.8229 GB, free: 14.02 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.723e-05/0.007218, allocations: 15.98 kB / 0.8229 GB, free: 14 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.119e-05/0.007279, allocations: 40.81 kB / 0.8229 GB, free: 13.96 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.21e-07/0.00728, allocations: 0 / 0.8229 GB, free: 13.96 MB / 0.8073 GB Notification: Performance of matching and sorting (n=9) (initialization): time 9.076e-05/0.007371, allocations: 65.62 kB / 0.823 GB, free: 13.89 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.277e-05/0.007383, allocations: 8 kB / 0.823 GB, free: 13.88 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.007388, allocations: 4 kB / 0.823 GB, free: 13.88 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.012e-05/0.007398, allocations: 3.984 kB / 0.823 GB, free: 13.87 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001407/0.007539, allocations: 47.89 kB / 0.8231 GB, free: 13.82 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.575e-06/0.007541, allocations: 320 / 0.8231 GB, free: 13.82 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.423e-05/0.007595, allocations: 15.98 kB / 0.8231 GB, free: 13.81 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.236e-06/0.007604, allocations: 11.98 kB / 0.8231 GB, free: 13.8 MB / 0.8073 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 (9): * Single equations (assignments): 9 * 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 5.366e-05/0.007657, allocations: 113.8 kB / 0.8232 GB, free: 13.68 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.258e-05/0.00767, allocations: 4 kB / 0.8232 GB, free: 13.67 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.792e-05/0.007698, allocations: 12.38 kB / 0.8232 GB, free: 13.66 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.007702, allocations: 7.984 kB / 0.8232 GB, free: 13.65 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.836e-06/0.00771, allocations: 3.938 kB / 0.8232 GB, free: 13.65 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.007714, allocations: 0 / 0.8232 GB, free: 13.65 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003669/0.008081, allocations: 304.4 kB / 0.8235 GB, free: 13.32 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.554e-06/0.008084, allocations: 0 / 0.8235 GB, free: 13.32 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.776e-05/0.008171, allocations: 51.94 kB / 0.8236 GB, free: 13.27 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.038e-05/0.008182, allocations: 11.89 kB / 0.8236 GB, free: 13.26 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.446e-06/0.008185, allocations: 0.75 kB / 0.8236 GB, free: 13.26 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.454e-06/0.008193, allocations: 4 kB / 0.8236 GB, free: 13.25 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.905e-06/0.008195, allocations: 4 kB / 0.8236 GB, free: 13.25 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.008197, allocations: 0 / 0.8236 GB, free: 13.25 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001142/0.008312, allocations: 177.2 kB / 0.8237 GB, free: 13.05 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.633e-05/0.008328, allocations: 7.938 kB / 0.8238 GB, free: 13.05 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.681e-05/0.008395, allocations: 23.98 kB / 0.8238 GB, free: 13.02 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.667e-05/0.008421, allocations: 7.984 kB / 0.8238 GB, free: 13.02 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.294e-06/0.008429, allocations: 7.984 kB / 0.8238 GB, free: 13.01 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.391e-05/0.008443, allocations: 8.859 kB / 0.8238 GB, free: 13 MB / 0.8073 GB Notification: Performance of sort global known variables: time 8e-08/0.008443, allocations: 0 / 0.8238 GB, free: 13 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001669/0.008609, allocations: 43.86 kB / 0.8238 GB, free: 12.95 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 simulation (9): * Single equations (assignments): 9 * 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.000151/0.00876, allocations: 112.3 kB / 0.8239 GB, free: 12.84 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001075/0.008868, allocations: 57.23 kB / 0.824 GB, free: 12.78 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 6.702e-06/0.008875, allocations: 4 kB / 0.824 GB, free: 12.77 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 3.66e-05/0.008911, allocations: 32.78 kB / 0.824 GB, free: 12.74 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001262/0.009038, allocations: 16.17 kB / 0.8241 GB, free: 12.72 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004286/0.009466, allocations: 276.7 kB / 0.8243 GB, free: 12.42 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.541e-05/0.009502, allocations: 59.34 kB / 0.8244 GB, free: 12.34 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 5.846e-05/0.00956, allocations: 20.67 kB / 0.8244 GB, free: 12.32 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.941e-05/0.009639, allocations: 67.36 kB / 0.8245 GB, free: 12.26 MB / 0.8073 GB Notification: Performance of SimCode: time 8.92e-07/0.00964, allocations: 0 / 0.8245 GB, free: 12.26 MB / 0.8073 GB Notification: Performance of Templates: time 0.003631/0.01327, allocations: 1.959 MB / 0.8264 GB, free: 10.31 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.ref.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.184917626902461]