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.001447/0.001447, allocations: 112.2 kB / 17.54 MB, free: 4.641 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.001423/0.001423, allocations: 190.6 kB / 20.71 MB, free: 1.484 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.3/1.3, allocations: 225.6 MB / 249.3 MB, free: 3.328 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.456/2.456, allocations: 476.7 MB / 0.7628 GB, free: 15.3 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: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Functions_Examples_InverseXRegularized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Functions_Examples_InverseXRegularized",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001788/0.001788, allocations: 67.91 kB / 1.107 GB, free: 5.113 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7457/0.7474, allocations: 168.7 MB / 1.271 GB, free: 7.691 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.001461/0.7489, allocations: 0.6474 MB / 1.272 GB, free: 7.309 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001495/0.7504, allocations: 1.458 MB / 1.273 GB, free: 6.254 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.45e-05/0.7504, allocations: 0 / 1.273 GB, free: 6.254 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 1.737e-05/0.7504, allocations: 12.66 kB / 1.273 GB, free: 6.242 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 6.722e-05/0.7505, allocations: 11.31 kB / 1.274 GB, free: 6.234 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003933/0.7509, allocations: 117.3 kB / 1.274 GB, free: 6.184 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 6.124e-05/0.751, allocations: 29.77 kB / 1.274 GB, free: 6.172 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.213e-05/0.751, allocations: 7.203 kB / 1.274 GB, free: 6.168 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.533e-05/0.751, allocations: 11.86 kB / 1.274 GB, free: 6.164 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.383e-05/0.7511, allocations: 23.66 kB / 1.274 GB, free: 6.152 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.326e-05/0.7511, allocations: 1.75 kB / 1.274 GB, free: 6.152 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004476/0.7516, allocations: 320.4 kB / 1.274 GB, free: 6.062 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.198e-05/0.7516, allocations: 2.609 kB / 1.274 GB, free: 6.062 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.579e-05/0.7516, allocations: 17.36 kB / 1.274 GB, free: 6.051 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002621/0.7519, allocations: 188.9 kB / 1.274 GB, free: 6 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.7519, allocations: 0 / 1.274 GB, free: 6 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.513e-06/0.7519, allocations: 0 / 1.274 GB, free: 6 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.688e-06/0.7519, allocations: 0.5625 kB / 1.274 GB, free: 6 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.0004012/0.7523, allocations: 383.1 kB / 1.275 GB, free: 5.609 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.429e-05/0.7523, allocations: 9.656 kB / 1.275 GB, free: 5.609 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.712e-05/0.7523, allocations: 34.69 kB / 1.275 GB, free: 5.566 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003455/0.7527, allocations: 70.78 kB / 1.275 GB, free: 5.551 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000105/0.7528, allocations: 167.3 kB / 1.275 GB, free: 5.355 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.669e-05/0.7528, allocations: 5.094 kB / 1.275 GB, free: 5.352 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.907e-05/0.7528, allocations: 6.891 kB / 1.275 GB, free: 5.348 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002532/0.7531, allocations: 81.88 kB / 1.275 GB, free: 5.301 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.074e-05/0.7531, allocations: 0 / 1.275 GB, free: 5.301 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.027e-05/0.7531, allocations: 0.9062 kB / 1.275 GB, free: 5.301 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.68e-06/0.7531, allocations: 0.9375 kB / 1.275 GB, free: 5.301 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003315/0.7534, allocations: 70.86 kB / 1.275 GB, free: 5.293 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001346/0.7536, allocations: 169.9 kB / 1.275 GB, free: 5.094 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005013/0.7541, allocations: 127.7 kB / 1.275 GB, free: 5.051 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001651/0.7542, allocations: 39.89 kB / 1.275 GB, free: 5.039 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.107e-05/0.7543, allocations: 0.8438 kB / 1.275 GB, free: 5.039 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.478e-05/0.7543, allocations: 39.31 kB / 1.275 GB, free: 4.992 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=5): time 1.002e-06/0.7543, allocations: 4 kB / 1.275 GB, free: 4.988 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.003785/0.7581, allocations: 0.7909 MB / 1.276 GB, free: 4.848 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.092e-05/0.7581, allocations: 53.12 kB / 1.276 GB, free: 4.785 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.836e-05/0.7581, allocations: 110 kB / 1.276 GB, free: 4.684 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.221e-05/0.7582, allocations: 26.58 kB / 1.276 GB, free: 4.652 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 2.228e-05/0.7582, allocations: 85.61 kB / 1.276 GB, free: 4.566 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.627e-05/0.7582, allocations: 35.53 kB / 1.276 GB, free: 4.539 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.824e-05/0.7583, allocations: 25.52 kB / 1.276 GB, free: 4.52 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.348e-05/0.7583, allocations: 317.6 kB / 1.277 GB, free: 4.203 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004119/0.7587, allocations: 95.97 kB / 1.277 GB, free: 4.191 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003941/0.7591, allocations: 95.52 kB / 1.277 GB, free: 4.18 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007779/0.7599, allocations: 198.5 kB / 1.277 GB, free: 4.137 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.7599, allocations: 5.062 kB / 1.277 GB, free: 4.133 MB / 0.9981 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0008498/0.7607, allocations: 238.7 kB / 1.277 GB, free: 4.066 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.583e-05/0.7608, allocations: 5.781 kB / 1.277 GB, free: 4.066 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.7608, allocations: 0 / 1.277 GB, free: 4.066 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.482e-05/0.7608, allocations: 6.422 kB / 1.277 GB, free: 4.062 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002927/0.7611, allocations: 54.19 kB / 1.277 GB, free: 4.059 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.601e-06/0.7611, allocations: 0.875 kB / 1.277 GB, free: 4.059 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002081/0.7613, allocations: 37.31 kB / 1.277 GB, free: 4.055 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.588e-05/0.7613, allocations: 8.438 kB / 1.277 GB, free: 4.051 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 5.846e-05/0.7614, allocations: 117.4 kB / 1.278 GB, free: 3.93 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.19e-05/0.7614, allocations: 6.922 kB / 1.278 GB, free: 3.926 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.525e-05/0.7614, allocations: 18.61 kB / 1.278 GB, free: 3.906 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.916e-06/0.7614, allocations: 1.906 kB / 1.278 GB, free: 3.906 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.7614, allocations: 3.938 kB / 1.278 GB, free: 3.902 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.7614, allocations: 1.547 kB / 1.278 GB, free: 3.902 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001485/0.7629, allocations: 0.6029 MB / 1.278 GB, free: 3.523 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/0.7629, allocations: 0.875 kB / 1.278 GB, free: 3.523 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002508/0.7632, allocations: 54.69 kB / 1.278 GB, free: 3.52 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.7632, allocations: 5.828 kB / 1.278 GB, free: 3.516 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.408e-05/0.7632, allocations: 3.672 kB / 1.278 GB, free: 3.516 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/0.7632, allocations: 2.422 kB / 1.278 GB, free: 3.516 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.7632, allocations: 8.75 kB / 1.278 GB, free: 3.508 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009124/0.7641, allocations: 338.2 kB / 1.279 GB, free: 3.328 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.56e-05/0.7641, allocations: 89.36 kB / 1.279 GB, free: 3.227 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.202e-05/0.7641, allocations: 1.719 kB / 1.279 GB, free: 3.227 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002415/0.7644, allocations: 37.58 kB / 1.279 GB, free: 3.223 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.137e-05/0.7644, allocations: 16.47 kB / 1.279 GB, free: 3.215 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.25e-05/0.7644, allocations: 5.781 kB / 1.279 GB, free: 3.215 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 3.774e-05/0.7645, allocations: 89.2 kB / 1.279 GB, free: 3.137 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9e-08/0.7645, allocations: 0 / 1.279 GB, free: 3.137 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002972/0.7648, allocations: 37.25 kB / 1.279 GB, free: 3.129 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.001165/0.7659, allocations: 0.9018 MB / 1.28 GB, free: 2.406 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0009073/0.7668, allocations: 211 kB / 1.28 GB, free: 2.375 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.215e-06/0.7669, allocations: 0 / 1.28 GB, free: 2.375 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004568/0.7673, allocations: 107 kB / 1.28 GB, free: 2.359 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002255/0.7675, allocations: 13.39 kB / 1.28 GB, free: 2.352 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004233/0.7718, allocations: 2.143 MB / 1.282 GB, free: 16.94 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003173/0.7721, allocations: 0.6907 MB / 1.283 GB, free: 16.24 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 9.344e-05/0.7722, allocations: 23.67 kB / 1.283 GB, free: 16.23 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.813e-05/0.7723, allocations: 26.12 kB / 1.283 GB, free: 16.21 MB / 1.014 GB Notification: Performance of SimCode: time 4.01e-07/0.7723, allocations: 0 / 1.283 GB, free: 16.21 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02403/0.7963, allocations: 2.743 MB / 1.286 GB, free: 15.78 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.927/7.723, allocations: 1.859 kB / 1.286 GB, free: 15.78 MB / 1.014 GB " [Timeout remaining time 292] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Math_Functions_Examples_InverseXRegularized_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_Math_Functions_Examples_InverseXRegularized.fmu > Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe 2>&1) [Timeout 420.0] 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/jenkins1/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] "" Variables in the reference:time,y,xInv,dy_dt,d2y_dt2 Variables in the result:a,b,c,d,d2y_dt2,delta,deltaInv,der(der(x)),der(dy_dt),der(x),der(y),dy_dt,e,f,time,x,xInv,y [Calling sys.exit(0), Time elapsed: 12.947081964000972]