Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0008819/0.0008819, allocations: 76.55 kB / 19.93 MB, free: 4.633 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.0008195/0.0008195, allocations: 181.9 kB / 23.22 MB, free: 1.348 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 0.9068/0.9068, allocations: 177.1 MB / 203.5 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.62/1.62, allocations: 359 MB / 0.6044 GB, free: 11.1 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 0.9518 GB, free: 2.957 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.602e-05/2.761e-05, allocations: 2.281 kB / 0.9518 GB, free: 2.953 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.001276/0.001304, allocations: 0.6345 MB / 0.9524 GB, free: 2.312 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.001496/0.002799, allocations: 1.435 MB / 0.9538 GB, free: 0.8594 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.528e-05/0.002835, allocations: 4 kB / 0.9538 GB, free: 0.8555 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 1.587e-05/0.00285, allocations: 0 / 0.9538 GB, free: 0.8555 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 6.899e-05/0.002919, allocations: 7.875 kB / 0.9538 GB, free: 0.8477 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004068/0.003326, allocations: 124.3 kB / 0.9539 GB, free: 0.7266 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 6.094e-05/0.003387, allocations: 23.92 kB / 0.954 GB, free: 0.7031 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 4.515e-05/0.003432, allocations: 15.92 kB / 0.954 GB, free: 0.6875 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 5.086e-05/0.003483, allocations: 19.97 kB / 0.954 GB, free: 0.668 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 5.949e-05/0.003543, allocations: 15.92 kB / 0.954 GB, free: 0.6523 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.76e-05/0.00356, allocations: 4 kB / 0.954 GB, free: 0.6484 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002714/0.003832, allocations: 247.4 kB / 0.9542 GB, free: 416 kB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 1.909e-05/0.003851, allocations: 4 kB / 0.9542 GB, free: 412 kB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 2.272e-05/0.003874, allocations: 11.92 kB / 0.9543 GB, free: 400 kB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0002513/0.004125, allocations: 195.5 kB / 0.9544 GB, free: 204 kB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.004128, allocations: 0 / 0.9544 GB, free: 204 kB / 0.9011 GB Notification: Performance of FrontEnd: time 1.263e-06/0.00413, allocations: 0 / 0.9544 GB, free: 204 kB / 0.9011 GB Notification: Performance of Transformations before backend: time 5.009e-06/0.004135, allocations: 0 / 0.9544 GB, free: 204 kB / 0.9011 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.0006944/0.004829, allocations: 313.7 kB / 0.9547 GB, free: 15.86 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.628e-05/0.004865, allocations: 12.03 kB / 0.9548 GB, free: 15.85 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002259/0.005091, allocations: 60.86 kB / 0.9548 GB, free: 15.79 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.736e-05/0.005189, allocations: 113.7 kB / 0.9549 GB, free: 15.66 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.419e-05/0.005203, allocations: 4.375 kB / 0.9549 GB, free: 15.65 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.801e-05/0.005221, allocations: 384 / 0.9549 GB, free: 15.65 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001627/0.005383, allocations: 78.2 kB / 0.955 GB, free: 15.57 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.006e-05/0.005393, allocations: 192 / 0.955 GB, free: 15.57 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.062e-05/0.005404, allocations: 4.359 kB / 0.955 GB, free: 15.57 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.392e-06/0.00541, allocations: 7.938 kB / 0.955 GB, free: 15.56 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001691/0.00558, allocations: 67.92 kB / 0.9551 GB, free: 15.49 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001293/0.005709, allocations: 125.3 kB / 0.9552 GB, free: 15.34 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002753/0.005984, allocations: 122.4 kB / 0.9553 GB, free: 15.21 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.989e-05/0.006074, allocations: 44.94 kB / 0.9554 GB, free: 15.16 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 1.779e-05/0.006092, allocations: 4 kB / 0.9554 GB, free: 15.16 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.852e-05/0.00611, allocations: 30.56 kB / 0.9554 GB, free: 15.12 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=5): time 8.92e-07/0.006111, allocations: 0 / 0.9554 GB, free: 15.12 MB / 0.9167 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.002019/0.00813, allocations: 0.7857 MB / 0.9562 GB, free: 14.33 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.417e-05/0.008164, allocations: 51.41 kB / 0.9562 GB, free: 14.27 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.956e-05/0.008234, allocations: 113.8 kB / 0.9563 GB, free: 14.14 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.352e-05/0.008247, allocations: 29.7 kB / 0.9563 GB, free: 14.11 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 3.017e-05/0.008277, allocations: 92.12 kB / 0.9564 GB, free: 14.02 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 3.324e-05/0.008311, allocations: 27.75 kB / 0.9565 GB, free: 13.99 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.316e-05/0.008354, allocations: 25.7 kB / 0.9565 GB, free: 13.96 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 7.756e-05/0.008431, allocations: 318.9 kB / 0.9568 GB, free: 13.64 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002053/0.008637, allocations: 95.84 kB / 0.9569 GB, free: 13.54 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001937/0.00883, allocations: 99.89 kB / 0.957 GB, free: 13.45 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000388/0.009218, allocations: 196.6 kB / 0.9572 GB, free: 13.25 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.253e-06/0.009219, allocations: 0 / 0.9572 GB, free: 13.25 MB / 0.9167 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004372/0.009657, allocations: 241.4 kB / 0.9574 GB, free: 13.01 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.36e-05/0.00967, allocations: 4 kB / 0.9574 GB, free: 13 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.009676, allocations: 7.938 kB / 0.9574 GB, free: 13 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.384e-05/0.00969, allocations: 0 / 0.9574 GB, free: 13 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001559/0.009846, allocations: 51.94 kB / 0.9575 GB, free: 12.95 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.5e-06/0.009851, allocations: 7.922 kB / 0.9575 GB, free: 12.94 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.554e-05/0.009947, allocations: 35.97 kB / 0.9575 GB, free: 12.9 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.065e-05/0.009957, allocations: 7.984 kB / 0.9575 GB, free: 12.89 MB / 0.9167 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.249e-05/0.01002, allocations: 113.8 kB / 0.9576 GB, free: 12.77 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.261e-05/0.01003, allocations: 7.953 kB / 0.9576 GB, free: 12.77 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.331e-05/0.01007, allocations: 16.36 kB / 0.9576 GB, free: 12.75 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.01007, allocations: 4 kB / 0.9576 GB, free: 12.74 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.01007, allocations: 0 / 0.9576 GB, free: 12.74 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.01008, allocations: 3.984 kB / 0.9576 GB, free: 12.74 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008506/0.01093, allocations: 0.5357 MB / 0.9582 GB, free: 12.16 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.275e-06/0.01093, allocations: 64 / 0.9582 GB, free: 12.16 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001096/0.01104, allocations: 51.94 kB / 0.9582 GB, free: 12.11 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.865e-06/0.01104, allocations: 4.281 kB / 0.9582 GB, free: 12.11 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.507e-06/0.01105, allocations: 0 / 0.9582 GB, free: 12.11 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.547e-06/0.01105, allocations: 8.078 kB / 0.9582 GB, free: 12.1 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.01106, allocations: 11.92 kB / 0.9582 GB, free: 12.09 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004431/0.0115, allocations: 340.9 kB / 0.9586 GB, free: 11.73 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 1.401e-05/0.01151, allocations: 11.95 kB / 0.9586 GB, free: 11.72 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.405e-05/0.01153, allocations: 0 / 0.9586 GB, free: 11.72 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001089/0.01164, allocations: 43.89 kB / 0.9586 GB, free: 11.68 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.398e-05/0.01167, allocations: 11.97 kB / 0.9586 GB, free: 11.66 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.757e-06/0.01168, allocations: 8 kB / 0.9586 GB, free: 11.66 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 3.523e-05/0.01172, allocations: 91.27 kB / 0.9587 GB, free: 11.57 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.01172, allocations: 0 / 0.9587 GB, free: 11.57 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0002042/0.01192, allocations: 35.88 kB / 0.9588 GB, free: 11.53 MB / 0.9167 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.0001715/0.01209, allocations: 135.1 kB / 0.9589 GB, free: 11.39 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0004526/0.01254, allocations: 207.7 kB / 0.9591 GB, free: 11.19 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.01255, allocations: 4 kB / 0.9591 GB, free: 11.18 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0002049/0.01275, allocations: 99.95 kB / 0.9592 GB, free: 11.09 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00018/0.01293, allocations: 15.88 kB / 0.9592 GB, free: 11.07 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008104/0.01374, allocations: 435.9 kB / 0.9596 GB, free: 10.61 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.077e-05/0.01379, allocations: 71.33 kB / 0.9597 GB, free: 10.52 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.609e-05/0.01385, allocations: 20.48 kB / 0.9597 GB, free: 10.5 MB / 0.9167 GB Notification: Performance of SimCode: time 6.21e-07/0.01385, allocations: 0 / 0.9597 GB, free: 10.5 MB / 0.9167 GB Notification: Performance of Templates: time 0.002264/0.01611, allocations: 1.454 MB / 0.9611 GB, free: 9.047 MB / 0.9167 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.sim & ./Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Functions_Examples_InverseXRegularized.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 6.469210178591311]