Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001537/0.001537, allocations: 80.8 kB / 20.75 MB, free: 3.738 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.001927/0.001927, allocations: 165 kB / 24.16 MB, free: 332 kB / 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.059/1.059, allocations: 177.2 MB / 204.6 MB, free: 5.484 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 2.034/2.034, allocations: 377.9 MB / 0.624 GB, free: 8.352 MB / 0.5886 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/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_12_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_12_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.292e-06/1.292e-06, allocations: 0 / 0.7601 GB, free: 6.504 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.605e-05/2.734e-05, allocations: 2.312 kB / 0.7601 GB, free: 6.5 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.001407/0.001434, allocations: 0.7082 MB / 0.7608 GB, free: 5.816 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001575/0.003009, allocations: 1.476 MB / 0.7622 GB, free: 4.336 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.995e-05/0.003039, allocations: 0 / 0.7622 GB, free: 4.336 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 1.697e-05/0.003056, allocations: 4 kB / 0.7623 GB, free: 4.332 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 7.539e-05/0.003131, allocations: 6.812 kB / 0.7623 GB, free: 4.328 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003428/0.003474, allocations: 134.1 kB / 0.7624 GB, free: 4.203 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 5.828e-05/0.003532, allocations: 27.25 kB / 0.7624 GB, free: 4.18 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 4.549e-05/0.003577, allocations: 7.984 kB / 0.7624 GB, free: 4.172 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 6.064e-05/0.003638, allocations: 20.45 kB / 0.7624 GB, free: 4.152 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 6.246e-05/0.003701, allocations: 15.97 kB / 0.7625 GB, free: 4.137 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.458e-05/0.003715, allocations: 1.469 kB / 0.7625 GB, free: 4.137 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002962/0.004011, allocations: 259.5 kB / 0.7627 GB, free: 3.883 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.503e-05/0.004026, allocations: 11.92 kB / 0.7627 GB, free: 3.871 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 1.501e-05/0.004041, allocations: 4 kB / 0.7627 GB, free: 3.867 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0002179/0.004259, allocations: 208.6 kB / 0.7629 GB, free: 3.664 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 2.916e-06/0.004262, allocations: 0 / 0.7629 GB, free: 3.664 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.152e-06/0.004263, allocations: 0 / 0.7629 GB, free: 3.664 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.767e-06/0.004267, allocations: 0.5 kB / 0.7629 GB, free: 3.664 MB / 0.7136 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.0003215/0.004589, allocations: 270 kB / 0.7632 GB, free: 3.379 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.364e-05/0.004622, allocations: 8.031 kB / 0.7632 GB, free: 3.371 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001891/0.004811, allocations: 51.02 kB / 0.7632 GB, free: 3.324 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.586e-05/0.004897, allocations: 121.7 kB / 0.7633 GB, free: 3.18 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.283e-05/0.00491, allocations: 1.625 kB / 0.7633 GB, free: 3.18 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.886e-05/0.004929, allocations: 4.375 kB / 0.7634 GB, free: 3.176 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001345/0.005063, allocations: 71.89 kB / 0.7634 GB, free: 3.098 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.478e-06/0.005073, allocations: 1.188 kB / 0.7634 GB, free: 3.098 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.895e-06/0.005081, allocations: 4.359 kB / 0.7634 GB, free: 3.094 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/0.005087, allocations: 3.938 kB / 0.7634 GB, free: 3.09 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.38e-05/0.005121, allocations: 14.95 kB / 0.7634 GB, free: 3.078 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.078e-05/0.005212, allocations: 61.05 kB / 0.7635 GB, free: 3.004 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 7.224e-05/0.005284, allocations: 46.56 kB / 0.7635 GB, free: 2.949 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.96e-05/0.005304, allocations: 12.86 kB / 0.7636 GB, free: 2.934 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.11e-05/0.005315, allocations: 0 / 0.7636 GB, free: 2.934 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.176e-05/0.005336, allocations: 30.56 kB / 0.7636 GB, free: 2.895 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=5): time 6.01e-07/0.005337, allocations: 3.031 kB / 0.7636 GB, free: 2.895 MB / 0.7136 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.0009717/0.006309, allocations: 363.5 kB / 0.7639 GB, free: 2.543 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.841e-05/0.006337, allocations: 59.34 kB / 0.764 GB, free: 2.473 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001327/0.00647, allocations: 113.2 kB / 0.7641 GB, free: 2.352 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.384e-05/0.006484, allocations: 33.7 kB / 0.7641 GB, free: 2.312 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 1.93e-05/0.006503, allocations: 84.12 kB / 0.7642 GB, free: 2.227 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.408e-05/0.006537, allocations: 31.69 kB / 0.7642 GB, free: 2.195 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.946e-05/0.006577, allocations: 25.64 kB / 0.7643 GB, free: 2.164 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 6.813e-05/0.006645, allocations: 322.8 kB / 0.7646 GB, free: 1.84 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.116e-05/0.006676, allocations: 12.59 kB / 0.7646 GB, free: 1.828 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.931e-05/0.006705, allocations: 16.64 kB / 0.7646 GB, free: 1.812 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.857e-05/0.006764, allocations: 37.34 kB / 0.7646 GB, free: 1.773 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.006765, allocations: 0 / 0.7646 GB, free: 1.773 MB / 0.7136 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001051/0.00687, allocations: 71.2 kB / 0.7647 GB, free: 1.699 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.492e-05/0.006885, allocations: 8 kB / 0.7647 GB, free: 1.691 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.129e-06/0.00689, allocations: 2 kB / 0.7647 GB, free: 1.691 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.327e-05/0.006903, allocations: 3.938 kB / 0.7647 GB, free: 1.688 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001305/0.007034, allocations: 39.89 kB / 0.7648 GB, free: 1.648 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.797e-06/0.007037, allocations: 2.438 kB / 0.7648 GB, free: 1.648 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.173e-05/0.007099, allocations: 23.97 kB / 0.7648 GB, free: 1.625 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.406e-06/0.007107, allocations: 0 / 0.7648 GB, free: 1.625 MB / 0.7136 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.562e-05/0.007173, allocations: 115.6 kB / 0.7649 GB, free: 1.504 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.526e-05/0.007188, allocations: 7.984 kB / 0.7649 GB, free: 1.496 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.512e-05/0.007223, allocations: 16.44 kB / 0.7649 GB, free: 1.477 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.007226, allocations: 0 / 0.7649 GB, free: 1.477 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.756e-06/0.007229, allocations: 5.969 kB / 0.7649 GB, free: 1.473 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.007232, allocations: 0 / 0.7649 GB, free: 1.473 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004178/0.007649, allocations: 303.1 kB / 0.7652 GB, free: 1.148 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.007651, allocations: 0 / 0.7652 GB, free: 1.148 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.888e-05/0.00774, allocations: 42.98 kB / 0.7653 GB, free: 1.109 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.306e-06/0.007743, allocations: 3.938 kB / 0.7653 GB, free: 1.105 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.567e-06/0.007752, allocations: 0.75 kB / 0.7653 GB, free: 1.105 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.007753, allocations: 400 / 0.7653 GB, free: 1.105 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.007755, allocations: 4 kB / 0.7653 GB, free: 1.102 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001275/0.007882, allocations: 173.8 kB / 0.7654 GB, free: 0.9102 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 1.113e-05/0.007893, allocations: 8.625 kB / 0.7654 GB, free: 0.9023 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.625e-05/0.007909, allocations: 7.938 kB / 0.7654 GB, free: 0.8945 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.9e-05/0.007988, allocations: 21.73 kB / 0.7655 GB, free: 0.875 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.486e-05/0.008023, allocations: 13.48 kB / 0.7655 GB, free: 0.8633 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.955e-06/0.008031, allocations: 3.984 kB / 0.7655 GB, free: 0.8594 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 2.038e-05/0.008052, allocations: 24.77 kB / 0.7655 GB, free: 0.832 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5.1e-08/0.008052, allocations: 0 / 0.7655 GB, free: 0.832 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001788/0.00823, allocations: 40.83 kB / 0.7655 GB, free: 0.793 MB / 0.7136 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.0001678/0.008398, allocations: 112.8 kB / 0.7657 GB, free: 0.6758 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001226/0.008521, allocations: 57.81 kB / 0.7657 GB, free: 0.6172 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.008524, allocations: 0 / 0.7657 GB, free: 0.6172 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 4.607e-05/0.00857, allocations: 37.41 kB / 0.7657 GB, free: 0.5781 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001456/0.008715, allocations: 16.48 kB / 0.7658 GB, free: 0.5625 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005783/0.009294, allocations: 255 kB / 0.766 GB, free: 296 kB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.535e-05/0.009329, allocations: 59.34 kB / 0.7661 GB, free: 216 kB / 0.7136 GB Notification: Performance of simCode: alias equations: time 6.664e-05/0.009396, allocations: 26.19 kB / 0.7661 GB, free: 196 kB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.034e-05/0.009476, allocations: 60.42 kB / 0.7661 GB, free: 136 kB / 0.7136 GB Notification: Performance of SimCode: time 7.32e-07/0.009477, allocations: 0 / 0.7661 GB, free: 136 kB / 0.7136 GB Notification: Performance of Templates: time 0.003583/0.01306, allocations: 1.941 MB / 0.768 GB, free: 14.29 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.sim & ./Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/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.090174143668264]