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.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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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=5000,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=5000,variableFilter="time|y|xInv|dy_dt|d2y_dt2",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00104/0.00104, allocations: 85.94 kB / 15.06 MB, free: 1.09 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.001486/0.001486, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.482/1.482, allocations: 223.3 MB / 240 MB, free: 5.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.931/2.931, allocations: 462.6 MB / 0.736 GB, free: 15.69 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003706/0.0003707, allocations: 11.44 kB / 0.9021 GB, free: 36.62 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3905/0.3909, allocations: 159.6 MB / 1.058 GB, free: 5.25 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.0008534/0.3918, allocations: 358.9 kB / 1.058 GB, free: 4.898 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001814/0.3937, allocations: 1.396 MB / 1.06 GB, free: 3.484 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.917e-05/0.3937, allocations: 4 kB / 1.06 GB, free: 3.48 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.536e-05/0.3937, allocations: 3.938 kB / 1.06 GB, free: 3.477 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 7.951e-05/0.3938, allocations: 3.984 kB / 1.06 GB, free: 3.473 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003547/0.3942, allocations: 91.7 kB / 1.06 GB, free: 3.383 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 6.862e-05/0.3943, allocations: 27.86 kB / 1.06 GB, free: 3.355 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 5.239e-05/0.3943, allocations: 11.98 kB / 1.06 GB, free: 3.344 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 4.547e-05/0.3944, allocations: 11.92 kB / 1.06 GB, free: 3.332 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 7.072e-05/0.3945, allocations: 19.92 kB / 1.06 GB, free: 3.312 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.398e-05/0.3945, allocations: 0 / 1.06 GB, free: 3.312 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004431/0.3949, allocations: 307.4 kB / 1.06 GB, free: 3.012 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.706e-05/0.395, allocations: 11.92 kB / 1.06 GB, free: 3 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.643e-05/0.395, allocations: 29.7 kB / 1.06 GB, free: 2.965 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002063/0.3952, allocations: 128.1 kB / 1.06 GB, free: 2.84 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.292e-06/0.3952, allocations: 0 / 1.06 GB, free: 2.84 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.424e-06/0.3952, allocations: 0 / 1.06 GB, free: 2.84 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.569e-06/0.3952, allocations: 0 / 1.06 GB, free: 2.84 MB / 0.8106 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.0005253/0.3958, allocations: 375.2 kB / 1.061 GB, free: 2.426 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.154e-05/0.3958, allocations: 12.02 kB / 1.061 GB, free: 2.414 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003571/0.3962, allocations: 67.94 kB / 1.061 GB, free: 2.348 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001732/0.3964, allocations: 171 kB / 1.061 GB, free: 2.141 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.233e-05/0.3964, allocations: 3.938 kB / 1.061 GB, free: 2.137 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.771e-05/0.3964, allocations: 15.95 kB / 1.061 GB, free: 2.121 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002835/0.3967, allocations: 73.64 kB / 1.061 GB, free: 2.043 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.337e-05/0.3967, allocations: 0 / 1.061 GB, free: 2.043 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.225e-05/0.3968, allocations: 0 / 1.061 GB, free: 2.043 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.676e-06/0.3968, allocations: 8 kB / 1.061 GB, free: 2.035 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003206/0.3971, allocations: 83.91 kB / 1.061 GB, free: 1.953 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002207/0.3973, allocations: 161.7 kB / 1.061 GB, free: 1.746 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005077/0.3979, allocations: 154.5 kB / 1.061 GB, free: 1.586 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000167/0.398, allocations: 56.84 kB / 1.061 GB, free: 1.527 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.943e-05/0.3981, allocations: 0 / 1.061 GB, free: 1.527 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.274e-05/0.3981, allocations: 34.55 kB / 1.062 GB, free: 1.484 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=5): time 1.012e-06/0.3981, allocations: 0 / 1.062 GB, free: 1.484 MB / 0.8106 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.003798/0.4019, allocations: 0.9617 MB / 1.062 GB, free: 0.5156 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.189e-05/0.402, allocations: 51.41 kB / 1.063 GB, free: 464 kB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.494e-05/0.4021, allocations: 117.8 kB / 1.063 GB, free: 336 kB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.861e-05/0.4021, allocations: 25.7 kB / 1.063 GB, free: 304 kB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.519e-05/0.4021, allocations: 92.14 kB / 1.063 GB, free: 208 kB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 4.537e-05/0.4022, allocations: 35.53 kB / 1.063 GB, free: 172 kB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.257e-06/0.4022, allocations: 0 / 1.063 GB, free: 172 kB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001311/0.4023, allocations: 314.8 kB / 1.063 GB, free: 15.85 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003794/0.4027, allocations: 119.9 kB / 1.063 GB, free: 15.73 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003579/0.4031, allocations: 119.9 kB / 1.063 GB, free: 15.62 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003585/0.4035, allocations: 107.9 kB / 1.063 GB, free: 15.51 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.4035, allocations: 3.953 kB / 1.063 GB, free: 15.51 MB / 0.8262 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0007862/0.4043, allocations: 285.3 kB / 1.064 GB, free: 15.22 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.933e-05/0.4043, allocations: 4 kB / 1.064 GB, free: 15.22 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.4043, allocations: 0 / 1.064 GB, free: 15.22 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.843e-05/0.4043, allocations: 7.984 kB / 1.064 GB, free: 15.21 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000313/0.4046, allocations: 67.88 kB / 1.064 GB, free: 15.14 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/0.4047, allocations: 0 / 1.064 GB, free: 15.14 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002057/0.4049, allocations: 47.95 kB / 1.064 GB, free: 15.1 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.728e-05/0.4049, allocations: 7.984 kB / 1.064 GB, free: 15.09 MB / 0.8262 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.517e-05/0.4051, allocations: 117.8 kB / 1.064 GB, free: 14.96 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.824e-05/0.4051, allocations: 7.953 kB / 1.064 GB, free: 14.96 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.248e-05/0.4051, allocations: 8.375 kB / 1.064 GB, free: 14.95 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.347e-06/0.4051, allocations: 384 / 1.064 GB, free: 14.95 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.334e-06/0.4051, allocations: 3.984 kB / 1.064 GB, free: 14.95 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/0.4051, allocations: 0 / 1.064 GB, free: 14.95 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001543/0.4067, allocations: 0.656 MB / 1.065 GB, free: 14.23 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.526e-06/0.4067, allocations: 7.938 kB / 1.065 GB, free: 14.22 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002508/0.407, allocations: 67.94 kB / 1.065 GB, free: 14.15 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.085e-06/0.407, allocations: 3.938 kB / 1.065 GB, free: 14.15 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.976e-05/0.407, allocations: 11.98 kB / 1.065 GB, free: 14.14 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.407, allocations: 0 / 1.065 GB, free: 14.14 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.407, allocations: 0 / 1.065 GB, free: 14.14 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008422/0.4079, allocations: 388.9 kB / 1.065 GB, free: 13.73 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.039e-05/0.4079, allocations: 81.02 kB / 1.065 GB, free: 13.64 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.648e-05/0.408, allocations: 7.984 kB / 1.065 GB, free: 13.63 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002209/0.4082, allocations: 39.97 kB / 1.065 GB, free: 13.59 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.064e-05/0.4082, allocations: 15.97 kB / 1.065 GB, free: 13.57 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.274e-05/0.4083, allocations: 12 kB / 1.065 GB, free: 13.56 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.365e-05/0.4083, allocations: 91.27 kB / 1.065 GB, free: 13.47 MB / 0.8262 GB Notification: Performance of sort global known variables: time 4.21e-07/0.4083, allocations: 0 / 1.065 GB, free: 13.47 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003186/0.4087, allocations: 31.95 kB / 1.065 GB, free: 13.44 MB / 0.8262 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002315/0.4089, allocations: 135.2 kB / 1.065 GB, free: 13.3 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0008372/0.4097, allocations: 247.8 kB / 1.066 GB, free: 13.06 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.536e-06/0.4098, allocations: 0 / 1.066 GB, free: 13.06 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0003945/0.4102, allocations: 132 kB / 1.066 GB, free: 12.93 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002383/0.4104, allocations: 11.98 kB / 1.066 GB, free: 12.92 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001402/0.4118, allocations: 471 kB / 1.066 GB, free: 12.43 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000276/0.4121, allocations: 0.6848 MB / 1.067 GB, free: 11.71 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001162/0.4122, allocations: 24.89 kB / 1.067 GB, free: 11.69 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.75e-05/0.4123, allocations: 19.42 kB / 1.067 GB, free: 11.67 MB / 0.8262 GB Notification: Performance of SimCode: time 4.21e-07/0.4123, allocations: 3.938 kB / 1.067 GB, free: 11.67 MB / 0.8262 GB Notification: Performance of Templates: time 0.004498/0.4168, allocations: 1.556 MB / 1.068 GB, free: 10.11 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_InverseXRegularized.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches