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.001453/0.001453, allocations: 110 kB / 18.93 MB, free: 2.945 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.001361/0.001361, allocations: 188.9 kB / 22.23 MB, free: 5.156 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.419/1.419, allocations: 225.6 MB / 251 MB, free: 13 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.56/2.56, allocations: 443.4 MB / 0.7321 GB, free: 12.3 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-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.001981/0.001981, allocations: 55.91 kB / 1.061 GB, free: 2.973 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8347/0.8367, allocations: 160.8 MB / 1.219 GB, free: 3.656 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.002039/0.8387, allocations: 0.646 MB / 1.219 GB, free: 3.172 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.002183/0.8409, allocations: 1.471 MB / 1.221 GB, free: 1.984 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.484e-05/0.8409, allocations: 0 / 1.221 GB, free: 1.984 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 1.767e-05/0.841, allocations: 3.938 kB / 1.221 GB, free: 1.98 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 8.329e-05/0.841, allocations: 9.219 kB / 1.221 GB, free: 1.973 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004319/0.8415, allocations: 119.2 kB / 1.221 GB, free: 1.895 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 7.826e-05/0.8415, allocations: 24.45 kB / 1.221 GB, free: 1.883 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 4.96e-05/0.8416, allocations: 5.766 kB / 1.221 GB, free: 1.879 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 4.354e-05/0.8416, allocations: 14.59 kB / 1.221 GB, free: 1.871 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 7.101e-05/0.8417, allocations: 21.19 kB / 1.221 GB, free: 1.855 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.564e-05/0.8417, allocations: 10 kB / 1.221 GB, free: 1.848 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005156/0.8422, allocations: 312.4 kB / 1.221 GB, free: 1.668 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.069e-05/0.8423, allocations: 10.12 kB / 1.221 GB, free: 1.66 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 3.016e-05/0.8423, allocations: 14.14 kB / 1.221 GB, free: 1.648 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0003314/0.8426, allocations: 197.3 kB / 1.221 GB, free: 1.547 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.8426, allocations: 0 / 1.221 GB, free: 1.547 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.623e-06/0.8426, allocations: 0 / 1.221 GB, free: 1.547 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.38e-06/0.8426, allocations: 1.062 kB / 1.221 GB, free: 1.547 MB / 0.92 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.000588/0.8432, allocations: 386.8 kB / 1.222 GB, free: 1.141 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.562e-05/0.8433, allocations: 8.906 kB / 1.222 GB, free: 1.141 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003695/0.8436, allocations: 63.97 kB / 1.222 GB, free: 1.113 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001711/0.8438, allocations: 172.9 kB / 1.222 GB, free: 0.9102 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.609e-05/0.8438, allocations: 1.594 kB / 1.222 GB, free: 0.9102 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.907e-05/0.8438, allocations: 9.469 kB / 1.222 GB, free: 0.9023 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002703/0.8441, allocations: 73.45 kB / 1.222 GB, free: 0.8477 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.33e-05/0.8441, allocations: 5.062 kB / 1.222 GB, free: 0.8438 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.02e-05/0.8441, allocations: 0 / 1.222 GB, free: 0.8438 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/0.8441, allocations: 1.125 kB / 1.222 GB, free: 0.8438 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003575/0.8445, allocations: 72.69 kB / 1.222 GB, free: 0.8125 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002023/0.8447, allocations: 167 kB / 1.222 GB, free: 0.6094 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005496/0.8452, allocations: 129.4 kB / 1.222 GB, free: 0.5352 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001792/0.8454, allocations: 42.67 kB / 1.222 GB, free: 0.5117 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.295e-05/0.8454, allocations: 1.188 kB / 1.222 GB, free: 0.5117 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.406e-05/0.8455, allocations: 34.5 kB / 1.222 GB, free: 480 kB / 0.92 GB Notification: Performance of pre-optimization done (n=5): time 1.282e-06/0.8455, allocations: 1.156 kB / 1.222 GB, free: 480 kB / 0.92 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.004201/0.8497, allocations: 0.7902 MB / 1.223 GB, free: 116 kB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.844e-05/0.8497, allocations: 53.41 kB / 1.223 GB, free: 52 kB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001461/0.8499, allocations: 113.6 kB / 1.223 GB, free: 15.94 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.58e-05/0.8499, allocations: 30.61 kB / 1.223 GB, free: 15.91 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 4.665e-05/0.85, allocations: 81.2 kB / 1.223 GB, free: 15.82 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 4.634e-05/0.85, allocations: 31.98 kB / 1.223 GB, free: 15.8 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.33e-05/0.8501, allocations: 29.92 kB / 1.223 GB, free: 15.77 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001482/0.8502, allocations: 311.9 kB / 1.224 GB, free: 15.46 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004269/0.8506, allocations: 101.2 kB / 1.224 GB, free: 15.41 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000431/0.8511, allocations: 100.3 kB / 1.224 GB, free: 15.37 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000828/0.8519, allocations: 199.1 kB / 1.224 GB, free: 15.28 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.8519, allocations: 4.938 kB / 1.224 GB, free: 15.28 MB / 0.9356 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000911/0.8528, allocations: 242.5 kB / 1.224 GB, free: 15.16 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.756e-05/0.8528, allocations: 4.562 kB / 1.224 GB, free: 15.16 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.752e-06/0.8528, allocations: 1.156 kB / 1.224 GB, free: 15.16 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.648e-05/0.8529, allocations: 7.875 kB / 1.224 GB, free: 15.15 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003206/0.8532, allocations: 55.5 kB / 1.224 GB, free: 15.13 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.541e-06/0.8532, allocations: 0 / 1.224 GB, free: 15.13 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002261/0.8534, allocations: 37.36 kB / 1.225 GB, free: 15.11 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.518e-05/0.8534, allocations: 3.219 kB / 1.225 GB, free: 15.11 MB / 0.9356 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 0.0001159/0.8535, allocations: 124.3 kB / 1.225 GB, free: 14.98 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.35e-05/0.8536, allocations: 6.828 kB / 1.225 GB, free: 14.98 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.447e-05/0.8536, allocations: 13.72 kB / 1.225 GB, free: 14.97 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.417e-06/0.8536, allocations: 1.219 kB / 1.225 GB, free: 14.97 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.8536, allocations: 0 / 1.225 GB, free: 14.97 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.8536, allocations: 5.406 kB / 1.225 GB, free: 14.96 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001791/0.8554, allocations: 0.5939 MB / 1.225 GB, free: 14.49 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/0.8554, allocations: 1.094 kB / 1.225 GB, free: 14.49 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002664/0.8557, allocations: 55.06 kB / 1.225 GB, free: 14.47 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.693e-06/0.8557, allocations: 5.484 kB / 1.225 GB, free: 14.46 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.675e-05/0.8557, allocations: 6.922 kB / 1.225 GB, free: 14.46 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-06/0.8557, allocations: 1.062 kB / 1.225 GB, free: 14.46 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/0.8557, allocations: 1.125 kB / 1.225 GB, free: 14.46 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009773/0.8567, allocations: 346.6 kB / 1.226 GB, free: 14.22 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.867e-05/0.8568, allocations: 83.47 kB / 1.226 GB, free: 14.12 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.133e-05/0.8568, allocations: 6.188 kB / 1.226 GB, free: 14.12 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002502/0.857, allocations: 37.23 kB / 1.226 GB, free: 14.1 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.582e-05/0.8571, allocations: 16.14 kB / 1.226 GB, free: 14.09 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.449e-05/0.8571, allocations: 11.86 kB / 1.226 GB, free: 14.08 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 7.167e-05/0.8572, allocations: 95.83 kB / 1.226 GB, free: 14 MB / 0.9356 GB Notification: Performance of sort global known variables: time 8e-08/0.8572, allocations: 0 / 1.226 GB, free: 14 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003144/0.8575, allocations: 43.83 kB / 1.226 GB, free: 13.98 MB / 0.9356 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.0002256/0.8577, allocations: 120.2 kB / 1.226 GB, free: 13.88 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0009253/0.8586, allocations: 213.3 kB / 1.226 GB, free: 13.79 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.8586, allocations: 1.219 kB / 1.226 GB, free: 13.79 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0004227/0.859, allocations: 110.1 kB / 1.226 GB, free: 13.75 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002451/0.8593, allocations: 9.891 kB / 1.226 GB, free: 13.74 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001487/0.8608, allocations: 398 kB / 1.227 GB, free: 13.49 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003217/0.8611, allocations: 0.6929 MB / 1.227 GB, free: 12.79 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 9.273e-05/0.8612, allocations: 15.52 kB / 1.227 GB, free: 12.78 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.777e-05/0.8613, allocations: 23.39 kB / 1.227 GB, free: 12.77 MB / 0.9356 GB Notification: Performance of SimCode: time 7.01e-07/0.8613, allocations: 0 / 1.227 GB, free: 12.77 MB / 0.9356 GB Notification: Performance of Templates: time 0.005005/0.8663, allocations: 1.712 MB / 1.229 GB, free: 11.89 MB / 0.9356 GB " [Timeout remaining time 299] 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/jenkins/ws/OpenModelicaLibraryTestingWork/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: 8.538049407303333]