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.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.001331/0.001331, allocations: 113.9 kB / 17.61 MB, free: 4.684 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.002165/0.002165, allocations: 185.9 kB / 20.78 MB, free: 1.52 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.455/1.455, allocations: 225.6 MB / 249.4 MB, free: 2.996 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.766/2.766, allocations: 476.7 MB / 0.7628 GB, free: 15.12 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_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 0.00194/0.00194, allocations: 63.89 kB / 1.107 GB, free: 4.52 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.018/1.02, allocations: 168.7 MB / 1.272 GB, free: 7.906 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.001624/1.022, allocations: 0.6526 MB / 1.273 GB, free: 7.504 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001521/1.023, allocations: 1.469 MB / 1.274 GB, free: 6.438 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.669e-05/1.023, allocations: 1.031 kB / 1.274 GB, free: 6.438 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 1.771e-05/1.023, allocations: 0 / 1.274 GB, free: 6.438 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 6.372e-05/1.023, allocations: 5.062 kB / 1.274 GB, free: 6.434 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000358/1.024, allocations: 129.8 kB / 1.274 GB, free: 6.371 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 5.784e-05/1.024, allocations: 29.31 kB / 1.274 GB, free: 6.359 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.346e-05/1.024, allocations: 2.625 kB / 1.274 GB, free: 6.359 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.31e-05/1.024, allocations: 15.58 kB / 1.274 GB, free: 6.352 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.347e-05/1.024, allocations: 20.28 kB / 1.274 GB, free: 6.344 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.285e-05/1.024, allocations: 2.062 kB / 1.274 GB, free: 6.344 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004139/1.024, allocations: 314.8 kB / 1.275 GB, free: 6.258 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.311e-05/1.024, allocations: 8.578 kB / 1.275 GB, free: 6.254 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.145e-05/1.024, allocations: 23.69 kB / 1.275 GB, free: 6.234 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002691/1.024, allocations: 186.1 kB / 1.275 GB, free: 6.191 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/1.024, allocations: 4.844 kB / 1.275 GB, free: 6.188 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.242e-06/1.024, allocations: 4 kB / 1.275 GB, free: 6.184 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.056e-05/1.024, allocations: 0.9375 kB / 1.275 GB, free: 6.184 MB / 0.9981 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.000418/1.025, allocations: 371.9 kB / 1.275 GB, free: 5.801 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.45e-05/1.025, allocations: 11 kB / 1.275 GB, free: 5.801 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003692/1.025, allocations: 61.67 kB / 1.275 GB, free: 5.793 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001134/1.025, allocations: 171.5 kB / 1.275 GB, free: 5.594 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.184e-05/1.025, allocations: 5.438 kB / 1.275 GB, free: 5.59 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.338e-05/1.025, allocations: 10.95 kB / 1.275 GB, free: 5.582 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002443/1.026, allocations: 76.14 kB / 1.275 GB, free: 5.539 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.339e-05/1.026, allocations: 0.9062 kB / 1.275 GB, free: 5.539 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.658e-06/1.026, allocations: 0.9375 kB / 1.275 GB, free: 5.539 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/1.026, allocations: 0.8125 kB / 1.275 GB, free: 5.539 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003436/1.026, allocations: 75.39 kB / 1.276 GB, free: 5.527 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001549/1.026, allocations: 165.8 kB / 1.276 GB, free: 5.332 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005216/1.027, allocations: 131.9 kB / 1.276 GB, free: 5.285 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001714/1.027, allocations: 40.03 kB / 1.276 GB, free: 5.273 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.615e-05/1.027, allocations: 5 kB / 1.276 GB, free: 5.27 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.397e-05/1.027, allocations: 39.88 kB / 1.276 GB, free: 5.223 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=5): time 1.272e-06/1.027, allocations: 0 / 1.276 GB, free: 5.223 MB / 0.9981 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.003967/1.031, allocations: 0.7863 MB / 1.277 GB, free: 5.086 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.242e-05/1.031, allocations: 53.06 kB / 1.277 GB, free: 5.023 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.046e-05/1.031, allocations: 113.1 kB / 1.277 GB, free: 4.922 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.201e-05/1.031, allocations: 29.7 kB / 1.277 GB, free: 4.887 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 1.854e-05/1.031, allocations: 86.05 kB / 1.277 GB, free: 4.801 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.245e-05/1.031, allocations: 28.11 kB / 1.277 GB, free: 4.777 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.554e-05/1.031, allocations: 29.66 kB / 1.277 GB, free: 4.754 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.842e-05/1.031, allocations: 319.4 kB / 1.277 GB, free: 4.438 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000401/1.032, allocations: 95.67 kB / 1.277 GB, free: 4.426 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003919/1.032, allocations: 97.94 kB / 1.277 GB, free: 4.41 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007536/1.033, allocations: 197.8 kB / 1.278 GB, free: 4.367 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.42e-07/1.033, allocations: 0.9062 kB / 1.278 GB, free: 4.367 MB / 0.9981 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0008294/1.034, allocations: 245.1 kB / 1.278 GB, free: 4.297 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.083e-05/1.034, allocations: 9.281 kB / 1.278 GB, free: 4.293 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/1.034, allocations: 1 kB / 1.278 GB, free: 4.293 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.513e-05/1.034, allocations: 0.875 kB / 1.278 GB, free: 4.293 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003318/1.034, allocations: 49.73 kB / 1.278 GB, free: 4.293 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.302e-06/1.034, allocations: 1 kB / 1.278 GB, free: 4.293 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002317/1.034, allocations: 36.53 kB / 1.278 GB, free: 4.289 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.826e-05/1.034, allocations: 5.062 kB / 1.278 GB, free: 4.289 MB / 0.9981 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.721e-05/1.034, allocations: 122.1 kB / 1.278 GB, free: 4.164 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.154e-05/1.034, allocations: 11.72 kB / 1.278 GB, free: 4.156 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.989e-05/1.034, allocations: 14.05 kB / 1.278 GB, free: 4.141 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/1.034, allocations: 1.938 kB / 1.278 GB, free: 4.141 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/1.034, allocations: 0.7969 kB / 1.278 GB, free: 4.141 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/1.034, allocations: 0.7188 kB / 1.278 GB, free: 4.141 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001567/1.036, allocations: 0.6036 MB / 1.279 GB, free: 3.762 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.454e-06/1.036, allocations: 1 kB / 1.279 GB, free: 3.762 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002574/1.036, allocations: 59.3 kB / 1.279 GB, free: 3.754 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.587e-06/1.036, allocations: 0.9688 kB / 1.279 GB, free: 3.754 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.548e-05/1.036, allocations: 4.719 kB / 1.279 GB, free: 3.754 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/1.036, allocations: 4.812 kB / 1.279 GB, free: 3.75 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.714e-06/1.036, allocations: 1.859 kB / 1.279 GB, free: 3.75 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008758/1.037, allocations: 342.1 kB / 1.279 GB, free: 3.566 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.853e-05/1.037, allocations: 85.34 kB / 1.279 GB, free: 3.469 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.973e-05/1.037, allocations: 6.766 kB / 1.279 GB, free: 3.465 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002517/1.037, allocations: 40.03 kB / 1.279 GB, free: 3.457 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.082e-05/1.037, allocations: 12.86 kB / 1.279 GB, free: 3.453 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.614e-05/1.037, allocations: 5.203 kB / 1.279 GB, free: 3.453 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 4.299e-05/1.037, allocations: 98.41 kB / 1.279 GB, free: 3.367 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/1.037, allocations: 0 / 1.279 GB, free: 3.367 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003046/1.038, allocations: 41.89 kB / 1.279 GB, free: 3.355 MB / 0.9981 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.000197/1.038, allocations: 124.4 kB / 1.28 GB, free: 3.262 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0009036/1.039, allocations: 210.2 kB / 1.28 GB, free: 3.23 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/1.039, allocations: 0 / 1.28 GB, free: 3.23 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004196/1.039, allocations: 106.5 kB / 1.28 GB, free: 3.215 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002249/1.04, allocations: 8.016 kB / 1.28 GB, free: 3.211 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001414/1.041, allocations: 427.2 kB / 1.28 GB, free: 3.035 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.667e-05/1.041, allocations: 0.6858 MB / 1.281 GB, free: 2.34 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 9.42e-05/1.041, allocations: 24.94 kB / 1.281 GB, free: 2.332 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.426e-05/1.041, allocations: 23.11 kB / 1.281 GB, free: 2.32 MB / 0.9981 GB Notification: Performance of SimCode: time 4.51e-07/1.041, allocations: 7.875 kB / 1.281 GB, free: 2.312 MB / 0.9981 GB Notification: Performance of Templates: time 0.004438/1.046, allocations: 1.684 MB / 1.283 GB, free: 2.18 MB / 0.9981 GB " [Timeout remaining time 299] 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: 8.82334752380848]