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.001002/0.001002, allocations: 80.89 kB / 19.94 MB, free: 4.551 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.001098/0.001098, allocations: 181 kB / 23.36 MB, free: 1.137 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.062/1.062, allocations: 177.2 MB / 203.8 MB, free: 5.469 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.504/2.504, allocations: 438.8 MB / 0.6827 GB, free: 13.61 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.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.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.643e-06/1.643e-06, allocations: 0 / 0.8387 GB, free: 14.12 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.655e-05/1.819e-05, allocations: 2.312 kB / 0.8387 GB, free: 14.12 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.001978/0.001996, allocations: 0.6994 MB / 0.8394 GB, free: 13.42 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.00256/0.004556, allocations: 1.47 MB / 0.8408 GB, free: 11.93 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.578e-05/0.004602, allocations: 4 kB / 0.8408 GB, free: 11.93 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 1.919e-05/0.004621, allocations: 0 / 0.8408 GB, free: 11.93 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 8.497e-05/0.004706, allocations: 11.86 kB / 0.8408 GB, free: 11.92 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005144/0.005221, allocations: 127.3 kB / 0.8409 GB, free: 11.79 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 7.519e-05/0.005296, allocations: 31.92 kB / 0.841 GB, free: 11.76 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 4.585e-05/0.005342, allocations: 7.984 kB / 0.841 GB, free: 11.75 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 6.101e-05/0.005403, allocations: 15.92 kB / 0.841 GB, free: 11.74 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 6.581e-05/0.005468, allocations: 19.97 kB / 0.841 GB, free: 11.72 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.501e-05/0.005483, allocations: 0 / 0.841 GB, free: 11.72 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004648/0.005948, allocations: 255.5 kB / 0.8412 GB, free: 11.47 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 2.216e-05/0.00597, allocations: 11.92 kB / 0.8413 GB, free: 11.46 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 1.943e-05/0.00599, allocations: 7.938 kB / 0.8413 GB, free: 11.45 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0003115/0.006301, allocations: 199.4 kB / 0.8415 GB, free: 11.25 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 2.735e-06/0.006304, allocations: 0 / 0.8415 GB, free: 11.25 MB / 0.8073 GB Notification: Performance of FrontEnd: time 7.91e-07/0.006305, allocations: 0 / 0.8415 GB, free: 11.25 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.827e-06/0.006309, allocations: 4 kB / 0.8415 GB, free: 11.25 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.0004096/0.006718, allocations: 272.5 kB / 0.8417 GB, free: 10.96 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.523e-05/0.006763, allocations: 12.03 kB / 0.8417 GB, free: 10.95 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002634/0.007027, allocations: 44.83 kB / 0.8418 GB, free: 10.91 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001375/0.007164, allocations: 129.7 kB / 0.8419 GB, free: 10.75 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.798e-05/0.007182, allocations: 12.31 kB / 0.8419 GB, free: 10.74 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.903e-05/0.007201, allocations: 384 / 0.8419 GB, free: 10.74 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001752/0.007377, allocations: 66.92 kB / 0.842 GB, free: 10.67 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.385e-05/0.00739, allocations: 4.188 kB / 0.842 GB, free: 10.66 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.928e-06/0.0074, allocations: 4.375 kB / 0.842 GB, free: 10.66 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.085e-06/0.007408, allocations: 3.938 kB / 0.842 GB, free: 10.66 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.397e-05/0.007452, allocations: 11.98 kB / 0.842 GB, free: 10.64 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001184/0.007571, allocations: 65.05 kB / 0.8421 GB, free: 10.57 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 8.993e-05/0.007661, allocations: 46.56 kB / 0.8421 GB, free: 10.51 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.547e-05/0.007686, allocations: 8.859 kB / 0.8421 GB, free: 10.5 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.484e-05/0.007701, allocations: 4 kB / 0.8421 GB, free: 10.5 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.382e-05/0.007725, allocations: 30.56 kB / 0.8421 GB, free: 10.46 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=5): time 1.202e-06/0.007726, allocations: 0 / 0.8421 GB, free: 10.46 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.001338/0.009064, allocations: 357.2 kB / 0.8425 GB, free: 10.1 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.401e-05/0.009098, allocations: 63.27 kB / 0.8425 GB, free: 10.03 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.492e-05/0.009173, allocations: 110.7 kB / 0.8427 GB, free: 9.906 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.911e-05/0.009192, allocations: 33.69 kB / 0.8427 GB, free: 9.867 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.816e-05/0.00922, allocations: 84.14 kB / 0.8428 GB, free: 9.781 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 4.147e-05/0.009262, allocations: 31.73 kB / 0.8428 GB, free: 9.75 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.141e-05/0.009313, allocations: 21.7 kB / 0.8428 GB, free: 9.723 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 9.49e-05/0.009408, allocations: 322.8 kB / 0.8431 GB, free: 9.398 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.17e-05/0.00945, allocations: 12 kB / 0.8431 GB, free: 9.387 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.068e-05/0.00949, allocations: 15.98 kB / 0.8432 GB, free: 9.371 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.159e-05/0.009572, allocations: 36.78 kB / 0.8432 GB, free: 9.332 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.009573, allocations: 0 / 0.8432 GB, free: 9.332 MB / 0.8073 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001325/0.009706, allocations: 73.67 kB / 0.8433 GB, free: 9.254 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.276e-05/0.009718, allocations: 4 kB / 0.8433 GB, free: 9.25 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.009723, allocations: 0.75 kB / 0.8433 GB, free: 9.25 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.461e-05/0.009738, allocations: 4 kB / 0.8433 GB, free: 9.246 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001642/0.009902, allocations: 43.83 kB / 0.8433 GB, free: 9.203 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.377e-06/0.009905, allocations: 0 / 0.8433 GB, free: 9.203 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.642e-05/0.009992, allocations: 23.97 kB / 0.8433 GB, free: 9.18 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.267e-05/0.01, allocations: 4 kB / 0.8433 GB, free: 9.176 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 6.959e-05/0.01007, allocations: 113.8 kB / 0.8434 GB, free: 9.055 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.099e-05/0.01009, allocations: 7.984 kB / 0.8434 GB, free: 9.047 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.579e-05/0.01013, allocations: 20.44 kB / 0.8435 GB, free: 9.031 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.01013, allocations: 0 / 0.8435 GB, free: 9.031 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.575e-06/0.01013, allocations: 3.938 kB / 0.8435 GB, free: 9.027 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-06/0.01014, allocations: 4 kB / 0.8435 GB, free: 9.023 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000494/0.01063, allocations: 300.3 kB / 0.8438 GB, free: 8.699 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.01063, allocations: 4.062 kB / 0.8438 GB, free: 8.695 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001275/0.01076, allocations: 39.95 kB / 0.8438 GB, free: 8.656 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.849e-06/0.01077, allocations: 7.938 kB / 0.8438 GB, free: 8.648 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.006e-05/0.01078, allocations: 0 / 0.8438 GB, free: 8.648 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.01078, allocations: 0 / 0.8438 GB, free: 8.648 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.01078, allocations: 0 / 0.8438 GB, free: 8.648 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001386/0.01092, allocations: 181.5 kB / 0.844 GB, free: 8.449 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.12e-05/0.01093, allocations: 7.953 kB / 0.844 GB, free: 8.441 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.426e-05/0.01094, allocations: 7.938 kB / 0.844 GB, free: 8.434 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.276e-05/0.01102, allocations: 23.92 kB / 0.844 GB, free: 8.41 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.904e-05/0.01105, allocations: 11.97 kB / 0.844 GB, free: 8.398 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.644e-06/0.01105, allocations: 4 kB / 0.844 GB, free: 8.395 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.543e-05/0.01107, allocations: 16.84 kB / 0.8441 GB, free: 8.375 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.01107, allocations: 3.938 kB / 0.8441 GB, free: 8.371 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001587/0.01123, allocations: 43.86 kB / 0.8441 GB, free: 8.328 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.0001215/0.01135, allocations: 108.3 kB / 0.8442 GB, free: 8.211 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001015/0.01145, allocations: 56.75 kB / 0.8443 GB, free: 8.152 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/0.01145, allocations: 0 / 0.8443 GB, free: 8.152 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 3.945e-05/0.01149, allocations: 32.78 kB / 0.8443 GB, free: 8.117 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001181/0.01161, allocations: 11.98 kB / 0.8443 GB, free: 8.105 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004061/0.01202, allocations: 262.2 kB / 0.8445 GB, free: 7.816 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.173e-05/0.01205, allocations: 59.36 kB / 0.8446 GB, free: 7.738 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 6.079e-05/0.01211, allocations: 24.72 kB / 0.8446 GB, free: 7.711 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.24e-05/0.01218, allocations: 59.36 kB / 0.8447 GB, free: 7.652 MB / 0.8073 GB Notification: Performance of SimCode: time 5.61e-07/0.01218, allocations: 0 / 0.8447 GB, free: 7.652 MB / 0.8073 GB Notification: Performance of Templates: time 0.003311/0.01549, allocations: 1.945 MB / 0.8466 GB, free: 5.719 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 -s gbode -gbm=radauIIA3 -emit_protected -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","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_InverseXRegularized.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.3248132220469415]