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.0008728/0.0008728, allocations: 80.94 kB / 19.94 MB, free: 4.547 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.001063/0.001063, allocations: 173 kB / 23.36 MB, free: 1.133 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.038/1.038, allocations: 177.1 MB / 203.8 MB, free: 5.492 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.354/2.354, 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.8386 GB, free: 14.16 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.072e-05/2.236e-05, allocations: 2.312 kB / 0.8386 GB, free: 14.16 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.001335/0.001358, allocations: 0.6606 MB / 0.8393 GB, free: 13.5 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.001554/0.002912, allocations: 1.47 MB / 0.8407 GB, free: 12.02 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.342e-05/0.002945, allocations: 0 / 0.8407 GB, free: 12.02 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 1.583e-05/0.002961, allocations: 3.938 kB / 0.8407 GB, free: 12.01 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 7.361e-05/0.003035, allocations: 11.92 kB / 0.8407 GB, free: 12 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003871/0.003422, allocations: 123.5 kB / 0.8409 GB, free: 11.88 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 5.578e-05/0.003477, allocations: 23.92 kB / 0.8409 GB, free: 11.86 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 3.84e-05/0.003516, allocations: 8 kB / 0.8409 GB, free: 11.85 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 5.624e-05/0.003572, allocations: 15.92 kB / 0.8409 GB, free: 11.83 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 5.59e-05/0.003628, allocations: 27.91 kB / 0.8409 GB, free: 11.8 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.435e-05/0.003642, allocations: 7.922 kB / 0.8409 GB, free: 11.8 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002927/0.003935, allocations: 247.5 kB / 0.8412 GB, free: 11.55 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 1.875e-05/0.003954, allocations: 4 kB / 0.8412 GB, free: 11.55 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 1.657e-05/0.00397, allocations: 11.92 kB / 0.8412 GB, free: 11.54 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.000214/0.004184, allocations: 195.5 kB / 0.8414 GB, free: 11.35 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 2.264e-06/0.004187, allocations: 0 / 0.8414 GB, free: 11.35 MB / 0.8073 GB Notification: Performance of FrontEnd: time 6.41e-07/0.004187, allocations: 0 / 0.8414 GB, free: 11.35 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.887e-06/0.004191, allocations: 0 / 0.8414 GB, free: 11.35 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.0003207/0.004512, allocations: 284.5 kB / 0.8416 GB, free: 11.05 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.451e-05/0.004546, allocations: 8.031 kB / 0.8417 GB, free: 11.04 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001861/0.004732, allocations: 44.83 kB / 0.8417 GB, free: 11 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.256e-05/0.004815, allocations: 113.7 kB / 0.8418 GB, free: 10.86 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.444e-05/0.004829, allocations: 8.312 kB / 0.8418 GB, free: 10.85 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.601e-05/0.004845, allocations: 4.375 kB / 0.8418 GB, free: 10.85 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000122/0.004967, allocations: 74.86 kB / 0.8419 GB, free: 10.77 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.303e-06/0.004975, allocations: 192 / 0.8419 GB, free: 10.77 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.423e-06/0.004982, allocations: 384 / 0.8419 GB, free: 10.77 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.698e-06/0.004987, allocations: 3.938 kB / 0.8419 GB, free: 10.76 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.322e-05/0.00502, allocations: 19.98 kB / 0.8419 GB, free: 10.74 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.075e-05/0.005111, allocations: 65.03 kB / 0.842 GB, free: 10.66 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 6.39e-05/0.005175, allocations: 34.56 kB / 0.842 GB, free: 10.62 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.138e-05/0.005196, allocations: 25.05 kB / 0.842 GB, free: 10.59 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.114e-05/0.005207, allocations: 0 / 0.842 GB, free: 10.59 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.96e-05/0.005227, allocations: 38.5 kB / 0.8421 GB, free: 10.55 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=5): time 7.41e-07/0.005228, allocations: 0 / 0.8421 GB, free: 10.55 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.0009228/0.00615, allocations: 353.2 kB / 0.8424 GB, free: 10.2 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.404e-05/0.006184, allocations: 59.28 kB / 0.8425 GB, free: 10.12 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.642e-05/0.006241, allocations: 118.7 kB / 0.8426 GB, free: 9.996 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.624e-05/0.006257, allocations: 25.7 kB / 0.8426 GB, free: 9.965 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 1.773e-05/0.006275, allocations: 80.14 kB / 0.8427 GB, free: 9.883 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 3.448e-05/0.006309, allocations: 35.72 kB / 0.8427 GB, free: 9.848 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.317e-05/0.006352, allocations: 29.7 kB / 0.8427 GB, free: 9.812 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.934e-05/0.006432, allocations: 314.8 kB / 0.843 GB, free: 9.496 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.563e-05/0.006467, allocations: 15.98 kB / 0.8431 GB, free: 9.48 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.722e-05/0.006495, allocations: 16 kB / 0.8431 GB, free: 9.465 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.39e-05/0.006549, allocations: 32.83 kB / 0.8431 GB, free: 9.43 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.00655, allocations: 7.938 kB / 0.8431 GB, free: 9.422 MB / 0.8073 GB Notification: Performance of matching and sorting (n=9) (initialization): time 8.861e-05/0.006638, allocations: 65.95 kB / 0.8432 GB, free: 9.352 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.113e-05/0.006649, allocations: 8 kB / 0.8432 GB, free: 9.344 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.006654, allocations: 3.984 kB / 0.8432 GB, free: 9.34 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.218e-06/0.006664, allocations: 0 / 0.8432 GB, free: 9.34 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001245/0.006788, allocations: 43.84 kB / 0.8432 GB, free: 9.297 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.869e-06/0.006793, allocations: 3.984 kB / 0.8432 GB, free: 9.293 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.745e-05/0.00685, allocations: 23.98 kB / 0.8432 GB, free: 9.27 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.915e-06/0.006858, allocations: 0 / 0.8432 GB, free: 9.27 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.35e-05/0.006922, allocations: 117.8 kB / 0.8434 GB, free: 9.145 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.44e-05/0.006936, allocations: 7.938 kB / 0.8434 GB, free: 9.137 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.842e-05/0.006965, allocations: 8.438 kB / 0.8434 GB, free: 9.133 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.006967, allocations: 0 / 0.8434 GB, free: 9.133 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.076e-06/0.00697, allocations: 3.938 kB / 0.8434 GB, free: 9.129 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.006974, allocations: 0 / 0.8434 GB, free: 9.129 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004186/0.007393, allocations: 304.3 kB / 0.8437 GB, free: 8.801 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.007394, allocations: 0 / 0.8437 GB, free: 8.801 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.184e-05/0.007476, allocations: 44.7 kB / 0.8437 GB, free: 8.758 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.65e-06/0.007482, allocations: 7.938 kB / 0.8437 GB, free: 8.75 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.208e-06/0.007491, allocations: 4 kB / 0.8437 GB, free: 8.746 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.844e-06/0.007493, allocations: 0 / 0.8437 GB, free: 8.746 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.007496, allocations: 4 kB / 0.8437 GB, free: 8.742 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001313/0.007627, allocations: 173.2 kB / 0.8439 GB, free: 8.551 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.359e-05/0.007641, allocations: 11.94 kB / 0.8439 GB, free: 8.539 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.574e-05/0.007656, allocations: 11.94 kB / 0.8439 GB, free: 8.527 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.081e-05/0.007727, allocations: 23.98 kB / 0.8439 GB, free: 8.504 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.896e-05/0.007756, allocations: 7.984 kB / 0.8439 GB, free: 8.496 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.314e-06/0.007764, allocations: 3.984 kB / 0.844 GB, free: 8.492 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.626e-05/0.00778, allocations: 12.86 kB / 0.844 GB, free: 8.477 MB / 0.8073 GB Notification: Performance of sort global known variables: time 4e-08/0.00778, allocations: 0 / 0.844 GB, free: 8.477 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001743/0.007954, allocations: 43.86 kB / 0.844 GB, free: 8.434 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.00017/0.008124, allocations: 116.2 kB / 0.8441 GB, free: 8.309 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001133/0.008237, allocations: 56.81 kB / 0.8442 GB, free: 8.25 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/0.00824, allocations: 3.938 kB / 0.8442 GB, free: 8.246 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 4.192e-05/0.008282, allocations: 28.84 kB / 0.8442 GB, free: 8.215 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001268/0.008409, allocations: 11.98 kB / 0.8442 GB, free: 8.203 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004458/0.008854, allocations: 262.2 kB / 0.8445 GB, free: 7.914 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.729e-05/0.008892, allocations: 63.34 kB / 0.8445 GB, free: 7.832 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 6.131e-05/0.008953, allocations: 24.72 kB / 0.8445 GB, free: 7.805 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.852e-05/0.009032, allocations: 59.36 kB / 0.8446 GB, free: 7.746 MB / 0.8073 GB Notification: Performance of SimCode: time 8.32e-07/0.009032, allocations: 0 / 0.8446 GB, free: 7.746 MB / 0.8073 GB Notification: Performance of Templates: time 0.003483/0.01252, allocations: 1.947 MB / 0.8465 GB, free: 5.809 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 -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.277609476353973]