Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001346/0.001346, allocations: 117.7 kB / 17.13 MB, free: 5.918 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001541/0.001541, allocations: 191.7 kB / 20.08 MB, free: 2.988 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.456/1.456, allocations: 225.6 MB / 248.5 MB, free: 3.605 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.695/2.695, allocations: 443.5 MB / 0.7293 GB, free: 14.51 MB / 0.5762 GB " [Timeout remaining time 176] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_10_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_10_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002022/0.002022, allocations: 71.89 kB / 1.057 GB, free: 1.914 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3278/0.3298, allocations: 160.7 MB / 1.214 GB, free: 0.8867 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.001861/0.3317, allocations: 0.6368 MB / 1.215 GB, free: 252 kB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.002035/0.3337, allocations: 1.454 MB / 1.216 GB, free: 14.77 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.895e-05/0.3338, allocations: 0 / 1.216 GB, free: 14.77 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.055e-05/0.3338, allocations: 3.938 kB / 1.216 GB, free: 14.77 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 7.354e-05/0.3339, allocations: 0 / 1.216 GB, free: 14.77 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004498/0.3343, allocations: 131.5 kB / 1.216 GB, free: 14.64 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 7.232e-05/0.3344, allocations: 27.86 kB / 1.216 GB, free: 14.61 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 5.231e-05/0.3344, allocations: 15.97 kB / 1.216 GB, free: 14.6 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 3.861e-05/0.3345, allocations: 11.94 kB / 1.216 GB, free: 14.59 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 7.576e-05/0.3345, allocations: 23.91 kB / 1.216 GB, free: 14.56 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.437e-05/0.3346, allocations: 0 / 1.216 GB, free: 14.56 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005165/0.3351, allocations: 319.3 kB / 1.217 GB, free: 14.25 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.688e-05/0.3351, allocations: 7.984 kB / 1.217 GB, free: 14.24 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.769e-05/0.3351, allocations: 11.88 kB / 1.217 GB, free: 14.23 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.000318/0.3354, allocations: 187.5 kB / 1.217 GB, free: 14.05 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.838e-06/0.3354, allocations: 0 / 1.217 GB, free: 14.05 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.433e-06/0.3354, allocations: 4 kB / 1.217 GB, free: 14.04 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.26e-06/0.3354, allocations: 0 / 1.217 GB, free: 14.04 MB / 0.9669 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.0005784/0.336, allocations: 382.9 kB / 1.217 GB, free: 13.62 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.3361, allocations: 12.03 kB / 1.217 GB, free: 13.61 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004184/0.3365, allocations: 60.81 kB / 1.217 GB, free: 13.55 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001609/0.3366, allocations: 172.4 kB / 1.217 GB, free: 13.34 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.979e-05/0.3367, allocations: 8.375 kB / 1.217 GB, free: 13.34 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.723e-05/0.3367, allocations: 384 / 1.217 GB, free: 13.34 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002852/0.337, allocations: 81.89 kB / 1.218 GB, free: 13.25 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.084e-05/0.337, allocations: 0 / 1.218 GB, free: 13.25 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.988e-06/0.337, allocations: 0 / 1.218 GB, free: 13.25 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.602e-06/0.337, allocations: 4 kB / 1.218 GB, free: 13.25 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003796/0.3374, allocations: 71.92 kB / 1.218 GB, free: 13.18 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002107/0.3376, allocations: 177.5 kB / 1.218 GB, free: 12.95 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005865/0.3382, allocations: 126.5 kB / 1.218 GB, free: 12.82 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001948/0.3384, allocations: 44.88 kB / 1.218 GB, free: 12.77 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.725e-05/0.3384, allocations: 0 / 1.218 GB, free: 12.77 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.064e-05/0.3384, allocations: 42.5 kB / 1.218 GB, free: 12.72 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=5): time 7.41e-07/0.3384, allocations: 0 / 1.218 GB, free: 12.72 MB / 0.9669 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.004441/0.3429, allocations: 0.7741 MB / 1.219 GB, free: 11.94 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.269e-05/0.3429, allocations: 59.34 kB / 1.219 GB, free: 11.87 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001215/0.343, allocations: 113.8 kB / 1.219 GB, free: 11.75 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.987e-05/0.3431, allocations: 25.7 kB / 1.219 GB, free: 11.72 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.405e-05/0.3431, allocations: 84.88 kB / 1.219 GB, free: 11.63 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 4.839e-05/0.3432, allocations: 35.73 kB / 1.219 GB, free: 11.6 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.724e-05/0.3432, allocations: 25.7 kB / 1.219 GB, free: 11.57 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001491/0.3434, allocations: 318.8 kB / 1.219 GB, free: 11.25 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004635/0.3439, allocations: 95.89 kB / 1.219 GB, free: 11.15 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004726/0.3443, allocations: 91.91 kB / 1.22 GB, free: 11.06 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008686/0.3452, allocations: 200.6 kB / 1.22 GB, free: 10.86 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.01e-07/0.3452, allocations: 0 / 1.22 GB, free: 10.86 MB / 0.9669 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0009908/0.3462, allocations: 246.3 kB / 1.22 GB, free: 10.62 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.597e-05/0.3462, allocations: 4 kB / 1.22 GB, free: 10.61 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.3462, allocations: 4 kB / 1.22 GB, free: 10.61 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.581e-05/0.3462, allocations: 4 kB / 1.22 GB, free: 10.61 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003316/0.3466, allocations: 51.88 kB / 1.22 GB, free: 10.55 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.2e-06/0.3466, allocations: 0 / 1.22 GB, free: 10.55 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002317/0.3468, allocations: 39.95 kB / 1.22 GB, free: 10.52 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.727e-05/0.3468, allocations: 8 kB / 1.22 GB, free: 10.51 MB / 0.9669 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 9.83e-05/0.3469, allocations: 113.8 kB / 1.22 GB, free: 10.39 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.377e-05/0.3469, allocations: 11.95 kB / 1.22 GB, free: 10.38 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.949e-05/0.347, allocations: 16.36 kB / 1.22 GB, free: 10.36 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.729e-06/0.347, allocations: 4 kB / 1.22 GB, free: 10.35 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.347, allocations: 0 / 1.22 GB, free: 10.35 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.347, allocations: 0 / 1.22 GB, free: 10.35 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001787/0.3488, allocations: 0.5974 MB / 1.221 GB, free: 9.691 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-06/0.3488, allocations: 0 / 1.221 GB, free: 9.691 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002768/0.3491, allocations: 51.94 kB / 1.221 GB, free: 9.641 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.3491, allocations: 4.062 kB / 1.221 GB, free: 9.637 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.508e-05/0.3491, allocations: 4 kB / 1.221 GB, free: 9.633 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.847e-06/0.3491, allocations: 3.984 kB / 1.221 GB, free: 9.629 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.3491, allocations: 4 kB / 1.221 GB, free: 9.625 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001022/0.3501, allocations: 340.9 kB / 1.221 GB, free: 9.27 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 6.033e-05/0.3502, allocations: 89.05 kB / 1.221 GB, free: 9.164 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.329e-05/0.3502, allocations: 4 kB / 1.221 GB, free: 9.16 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002622/0.3505, allocations: 39.95 kB / 1.221 GB, free: 9.121 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.216e-05/0.3505, allocations: 11.92 kB / 1.221 GB, free: 9.109 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.353e-05/0.3505, allocations: 4 kB / 1.221 GB, free: 9.105 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 6.084e-05/0.3506, allocations: 91.66 kB / 1.221 GB, free: 9.016 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1e-07/0.3506, allocations: 3.938 kB / 1.221 GB, free: 9.012 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003055/0.3509, allocations: 39.88 kB / 1.221 GB, free: 8.973 MB / 0.9669 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.000236/0.3511, allocations: 131.1 kB / 1.222 GB, free: 8.836 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0009794/0.3521, allocations: 212.1 kB / 1.222 GB, free: 8.629 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.3521, allocations: 192 / 1.222 GB, free: 8.629 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0004582/0.3525, allocations: 107.9 kB / 1.222 GB, free: 8.523 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002423/0.3528, allocations: 14.34 kB / 1.222 GB, free: 8.512 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001633/0.3544, allocations: 443.8 kB / 1.222 GB, free: 8.039 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003173/0.3547, allocations: 0.6846 MB / 1.223 GB, free: 7.328 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.158e-05/0.3548, allocations: 19.42 kB / 1.223 GB, free: 7.312 MB / 0.9669 GB Notification: Performance of SimCode: time 4.2e-07/0.3548, allocations: 0 / 1.223 GB, free: 7.312 MB / 0.9669 GB Notification: Performance of Templates: time 0.003401/0.3582, allocations: 1.431 MB / 1.224 GB, free: 5.879 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.sim & ./Buildings_10_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Functions_Examples_InverseXRegularized.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.755090405000374]