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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized,fileNamePrefix="Buildings_10_Buildings_Utilities_Math_Functions_Examples_InverseXRegularized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized,fileNamePrefix="Buildings_10_Buildings_Utilities_Math_Functions_Examples_InverseXRegularized",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009329/0.009329, allocations: 103.7 kB / 15.74 MB, free: 5.988 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002152/0.002152, allocations: 190.1 kB / 16.67 MB, free: 5.914 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.372/1.372, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.432/2.432, allocations: 437 MB / 0.7105 GB, free: 4.344 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001361/0.001361, allocations: 67.91 kB / 1.018 GB, free: 9.844 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7691/0.7705, allocations: 151.6 MB / 1.166 GB, free: 3.715 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.001783/0.7723, allocations: 0.6401 MB / 1.167 GB, free: 3.082 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.002239/0.7746, allocations: 1.453 MB / 1.168 GB, free: 1.613 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.231e-05/0.7746, allocations: 0 / 1.168 GB, free: 1.613 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 1.94e-05/0.7747, allocations: 7.875 kB / 1.168 GB, free: 1.605 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0001002/0.7748, allocations: 3.938 kB / 1.168 GB, free: 1.602 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005891/0.7754, allocations: 123.5 kB / 1.168 GB, free: 1.48 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 8.167e-05/0.7755, allocations: 27.92 kB / 1.168 GB, free: 1.453 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 5.984e-05/0.7756, allocations: 11.98 kB / 1.168 GB, free: 1.441 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 4.54e-05/0.7756, allocations: 7.938 kB / 1.168 GB, free: 1.434 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 8.641e-05/0.7757, allocations: 27.89 kB / 1.168 GB, free: 1.406 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.788e-05/0.7757, allocations: 0 / 1.168 GB, free: 1.406 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005749/0.7763, allocations: 315.3 kB / 1.169 GB, free: 1.098 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.38e-05/0.7763, allocations: 7.984 kB / 1.169 GB, free: 1.09 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 2.786e-05/0.7764, allocations: 15.86 kB / 1.169 GB, free: 1.074 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0003113/0.7767, allocations: 185.9 kB / 1.169 GB, free: 0.8945 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.7767, allocations: 0 / 1.169 GB, free: 0.8945 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.535e-06/0.7767, allocations: 7.984 kB / 1.169 GB, free: 0.8867 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 4.769e-06/0.7767, allocations: 4 kB / 1.169 GB, free: 0.8828 MB / 0.8887 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.0004742/0.7772, allocations: 371.4 kB / 1.169 GB, free: 484 kB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.846e-05/0.7772, allocations: 8.922 kB / 1.169 GB, free: 476 kB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.088e-05/0.7773, allocations: 30.75 kB / 1.169 GB, free: 436 kB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003927/0.7777, allocations: 68.77 kB / 1.169 GB, free: 368 kB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000135/0.7778, allocations: 180.2 kB / 1.17 GB, free: 148 kB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.819e-05/0.7779, allocations: 384 / 1.17 GB, free: 148 kB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.388e-05/0.7779, allocations: 12.3 kB / 1.17 GB, free: 136 kB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002712/0.7782, allocations: 81.77 kB / 1.17 GB, free: 48 kB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.868e-06/0.7782, allocations: 0 / 1.17 GB, free: 48 kB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.686e-06/0.7782, allocations: 0 / 1.17 GB, free: 48 kB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.938e-06/0.7782, allocations: 0 / 1.17 GB, free: 48 kB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003822/0.7786, allocations: 67.98 kB / 1.17 GB, free: 15.98 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001996/0.7788, allocations: 169.7 kB / 1.17 GB, free: 15.77 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005848/0.7794, allocations: 130.4 kB / 1.17 GB, free: 15.63 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001842/0.7796, allocations: 36.95 kB / 1.17 GB, free: 15.59 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.408e-05/0.7796, allocations: 0 / 1.17 GB, free: 15.59 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.091e-05/0.7797, allocations: 46.5 kB / 1.17 GB, free: 15.54 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=5): time 9.42e-07/0.7797, allocations: 0 / 1.17 GB, free: 15.54 MB / 0.9044 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.004316/0.784, allocations: 0.7869 MB / 1.171 GB, free: 14.74 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.516e-05/0.784, allocations: 55.41 kB / 1.171 GB, free: 14.68 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.48e-05/0.7841, allocations: 109.9 kB / 1.171 GB, free: 14.56 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.981e-05/0.7842, allocations: 33.64 kB / 1.171 GB, free: 14.52 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 3.463e-05/0.7842, allocations: 84.14 kB / 1.171 GB, free: 14.43 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 4.151e-05/0.7843, allocations: 31.59 kB / 1.171 GB, free: 14.4 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.527e-05/0.7843, allocations: 25.7 kB / 1.171 GB, free: 14.37 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 9.729e-05/0.7844, allocations: 318.8 kB / 1.171 GB, free: 14.05 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004404/0.7849, allocations: 95.89 kB / 1.172 GB, free: 13.96 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004302/0.7853, allocations: 95.89 kB / 1.172 GB, free: 13.86 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008312/0.7862, allocations: 196.6 kB / 1.172 GB, free: 13.67 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.7862, allocations: 3.938 kB / 1.172 GB, free: 13.66 MB / 0.9044 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0009421/0.7871, allocations: 237.4 kB / 1.172 GB, free: 13.43 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.682e-05/0.7872, allocations: 8 kB / 1.172 GB, free: 13.42 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.366e-06/0.7872, allocations: 0 / 1.172 GB, free: 13.42 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.489e-05/0.7872, allocations: 7.938 kB / 1.172 GB, free: 13.41 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003296/0.7875, allocations: 51.94 kB / 1.172 GB, free: 13.36 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/0.7875, allocations: 0 / 1.172 GB, free: 13.36 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002372/0.7878, allocations: 39.95 kB / 1.172 GB, free: 13.32 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.704e-05/0.7878, allocations: 4 kB / 1.172 GB, free: 13.32 MB / 0.9044 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 8.823e-05/0.7879, allocations: 121.7 kB / 1.172 GB, free: 13.19 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.738e-05/0.7879, allocations: 15.84 kB / 1.172 GB, free: 13.17 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.532e-05/0.788, allocations: 8.375 kB / 1.172 GB, free: 13.16 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/0.788, allocations: 4 kB / 1.172 GB, free: 13.16 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.788, allocations: 288 / 1.172 GB, free: 13.16 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.788, allocations: 0 / 1.172 GB, free: 13.16 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00169/0.7897, allocations: 0.5938 MB / 1.173 GB, free: 12.5 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.307e-06/0.7897, allocations: 3.938 kB / 1.173 GB, free: 12.5 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002724/0.79, allocations: 60 kB / 1.173 GB, free: 12.44 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.228e-06/0.79, allocations: 0 / 1.173 GB, free: 12.44 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.71e-05/0.79, allocations: 7.984 kB / 1.173 GB, free: 12.43 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/0.7901, allocations: 0 / 1.173 GB, free: 12.43 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.989e-06/0.7901, allocations: 7.938 kB / 1.173 GB, free: 12.42 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009488/0.791, allocations: 345 kB / 1.173 GB, free: 12.06 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 5.725e-05/0.7911, allocations: 85.02 kB / 1.173 GB, free: 11.96 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.036e-05/0.7911, allocations: 0 / 1.173 GB, free: 11.96 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002638/0.7914, allocations: 39.95 kB / 1.173 GB, free: 11.92 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.443e-05/0.7914, allocations: 19.86 kB / 1.173 GB, free: 11.9 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.3e-05/0.7915, allocations: 4.375 kB / 1.173 GB, free: 11.9 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 5.159e-05/0.7915, allocations: 91.27 kB / 1.174 GB, free: 11.81 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7915, allocations: 0 / 1.174 GB, free: 11.81 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0003068/0.7918, allocations: 32 kB / 1.174 GB, free: 11.78 MB / 0.9044 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.001323/0.7932, allocations: 0.9014 MB / 1.174 GB, free: 10.84 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0009389/0.7941, allocations: 207.7 kB / 1.175 GB, free: 10.64 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.806e-06/0.7941, allocations: 0 / 1.175 GB, free: 10.64 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0004437/0.7946, allocations: 108 kB / 1.175 GB, free: 10.54 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002564/0.7948, allocations: 11.94 kB / 1.175 GB, free: 10.52 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004702/0.7996, allocations: 2.14 MB / 1.177 GB, free: 8.293 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002446/0.7998, allocations: 0.6884 MB / 1.178 GB, free: 7.578 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0001059/0.7999, allocations: 20.66 kB / 1.178 GB, free: 7.559 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.243e-05/0.8, allocations: 23.42 kB / 1.178 GB, free: 7.535 MB / 0.9044 GB Notification: Performance of SimCode: time 3.51e-07/0.8, allocations: 0 / 1.178 GB, free: 7.535 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0248/0.8248, allocations: 2.746 MB / 1.18 GB, free: 4.902 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.831/8.656, allocations: 10.08 kB / 1.18 GB, free: 4.895 MB / 0.9044 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized_res.mat --tempDir=temp_Buildings_10_Buildings_Utilities_Math_Functions_Examples_InverseXRegularized_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Utilities_Math_Functions_Examples_InverseXRegularized.fmu > Buildings_10_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe 2>&1) 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" 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