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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.008384/0.008385, allocations: 102 kB / 15.73 MB, free: 6.438 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.002042/0.002042, allocations: 194.3 kB / 16.67 MB, free: 6.355 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.406/1.406, allocations: 222.9 MB / 240.4 MB, free: 4.289 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.789/2.789, allocations: 461.9 MB / 0.7347 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001375/0.001375, allocations: 68.12 kB / 1.054 GB, free: 7.094 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3744/0.3758, allocations: 157.4 MB / 1.208 GB, free: 9.594 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.002122/0.378, allocations: 0.642 MB / 1.208 GB, free: 8.949 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.002291/0.3803, allocations: 1.45 MB / 1.21 GB, free: 7.48 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.221e-05/0.3804, allocations: 0 / 1.21 GB, free: 7.48 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.635e-05/0.3804, allocations: 3.938 kB / 1.21 GB, free: 7.477 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 9.218e-05/0.3805, allocations: 8 kB / 1.21 GB, free: 7.469 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006184/0.3812, allocations: 126.2 kB / 1.21 GB, free: 7.348 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 7.381e-05/0.3813, allocations: 23.92 kB / 1.21 GB, free: 7.324 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 5.794e-05/0.3813, allocations: 7.984 kB / 1.21 GB, free: 7.316 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 4.068e-05/0.3814, allocations: 7.938 kB / 1.21 GB, free: 7.309 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 8.151e-05/0.3815, allocations: 31.89 kB / 1.21 GB, free: 7.277 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.557e-05/0.3815, allocations: 0 / 1.21 GB, free: 7.277 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005233/0.382, allocations: 315.4 kB / 1.21 GB, free: 6.969 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.151e-05/0.382, allocations: 11.92 kB / 1.21 GB, free: 6.957 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.837e-05/0.3821, allocations: 15.86 kB / 1.21 GB, free: 6.941 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0003268/0.3824, allocations: 183.7 kB / 1.211 GB, free: 6.762 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.583e-06/0.3824, allocations: 4 kB / 1.211 GB, free: 6.758 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.863e-06/0.3824, allocations: 0 / 1.211 GB, free: 6.758 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.602e-06/0.3824, allocations: 0 / 1.211 GB, free: 6.758 MB / 0.9669 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.0005828/0.383, allocations: 387.2 kB / 1.211 GB, free: 6.332 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.014e-05/0.3831, allocations: 8.031 kB / 1.211 GB, free: 6.324 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004065/0.3835, allocations: 64.86 kB / 1.211 GB, free: 6.262 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000167/0.3837, allocations: 172.3 kB / 1.211 GB, free: 6.055 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.52e-05/0.3837, allocations: 384 / 1.211 GB, free: 6.055 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.779e-05/0.3837, allocations: 4.375 kB / 1.211 GB, free: 6.051 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003084/0.384, allocations: 77.95 kB / 1.211 GB, free: 5.969 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.334e-05/0.3841, allocations: 0 / 1.211 GB, free: 5.969 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.288e-05/0.3841, allocations: 4 kB / 1.211 GB, free: 5.965 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.612e-06/0.3841, allocations: 0 / 1.211 GB, free: 5.965 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000355/0.3844, allocations: 71.86 kB / 1.211 GB, free: 5.895 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002154/0.3847, allocations: 173.7 kB / 1.211 GB, free: 5.676 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005247/0.3852, allocations: 118.5 kB / 1.212 GB, free: 5.551 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000188/0.3854, allocations: 44.94 kB / 1.212 GB, free: 5.504 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.181e-05/0.3854, allocations: 0 / 1.212 GB, free: 5.504 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.57e-05/0.3855, allocations: 42.5 kB / 1.212 GB, free: 5.453 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=5): time 3.517e-06/0.3855, allocations: 0 / 1.212 GB, free: 5.453 MB / 0.9669 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.004088/0.3896, allocations: 0.7924 MB / 1.212 GB, free: 4.656 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.287e-05/0.3896, allocations: 55.41 kB / 1.212 GB, free: 4.59 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.867e-05/0.3897, allocations: 109.8 kB / 1.213 GB, free: 4.473 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.046e-05/0.3898, allocations: 25.7 kB / 1.213 GB, free: 4.441 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 4.673e-05/0.3898, allocations: 84.14 kB / 1.213 GB, free: 4.355 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 4.907e-05/0.3899, allocations: 35.62 kB / 1.213 GB, free: 4.32 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.813e-05/0.3899, allocations: 29.64 kB / 1.213 GB, free: 4.285 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001091/0.39, allocations: 318.8 kB / 1.213 GB, free: 3.965 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000428/0.3905, allocations: 103.8 kB / 1.213 GB, free: 3.863 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004049/0.3909, allocations: 91.91 kB / 1.213 GB, free: 3.773 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008163/0.3917, allocations: 192.7 kB / 1.213 GB, free: 3.582 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.3917, allocations: 4.188 kB / 1.213 GB, free: 3.578 MB / 0.9669 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0008983/0.3926, allocations: 249.3 kB / 1.214 GB, free: 3.328 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.786e-05/0.3927, allocations: 4 kB / 1.214 GB, free: 3.324 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.093e-06/0.3927, allocations: 3.938 kB / 1.214 GB, free: 3.32 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.551e-05/0.3927, allocations: 0 / 1.214 GB, free: 3.32 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003136/0.393, allocations: 59.94 kB / 1.214 GB, free: 3.262 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.913e-06/0.393, allocations: 0 / 1.214 GB, free: 3.262 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002218/0.3933, allocations: 39.95 kB / 1.214 GB, free: 3.223 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.614e-05/0.3933, allocations: 0 / 1.214 GB, free: 3.223 MB / 0.9669 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.716e-05/0.3934, allocations: 121.7 kB / 1.214 GB, free: 3.094 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.477e-05/0.3934, allocations: 7.906 kB / 1.214 GB, free: 3.086 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.823e-05/0.3935, allocations: 16.34 kB / 1.214 GB, free: 3.066 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.887e-06/0.3935, allocations: 0 / 1.214 GB, free: 3.066 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.3935, allocations: 0 / 1.214 GB, free: 3.066 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.265e-06/0.3935, allocations: 8 kB / 1.214 GB, free: 3.059 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001692/0.3952, allocations: 0.5861 MB / 1.214 GB, free: 2.41 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.3952, allocations: 288 / 1.214 GB, free: 2.41 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002576/0.3955, allocations: 63.94 kB / 1.215 GB, free: 2.348 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.965e-06/0.3955, allocations: 0 / 1.215 GB, free: 2.348 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.457e-05/0.3955, allocations: 7.938 kB / 1.215 GB, free: 2.34 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.128e-06/0.3955, allocations: 4.062 kB / 1.215 GB, free: 2.336 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.028e-06/0.3955, allocations: 3.984 kB / 1.215 GB, free: 2.332 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009592/0.3965, allocations: 344.9 kB / 1.215 GB, free: 1.973 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.119e-05/0.3965, allocations: 89 kB / 1.215 GB, free: 1.867 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.273e-05/0.3966, allocations: 4 kB / 1.215 GB, free: 1.863 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002484/0.3968, allocations: 31.95 kB / 1.215 GB, free: 1.832 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.989e-05/0.3969, allocations: 19.92 kB / 1.215 GB, free: 1.812 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.118e-05/0.3969, allocations: 4 kB / 1.215 GB, free: 1.809 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 6.197e-05/0.397, allocations: 95.27 kB / 1.215 GB, free: 1.715 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.01e-07/0.397, allocations: 0 / 1.215 GB, free: 1.715 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003024/0.3973, allocations: 36 kB / 1.215 GB, free: 1.68 MB / 0.9669 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.0002667/0.3976, allocations: 131.2 kB / 1.215 GB, free: 1.543 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0009367/0.3985, allocations: 207.8 kB / 1.215 GB, free: 1.34 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 4.649e-06/0.3985, allocations: 3.938 kB / 1.215 GB, free: 1.336 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0004302/0.399, allocations: 108 kB / 1.216 GB, free: 1.23 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002565/0.3992, allocations: 11.44 kB / 1.216 GB, free: 1.223 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001489/0.4007, allocations: 398.2 kB / 1.216 GB, free: 0.8008 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002466/0.401, allocations: 0.6846 MB / 1.217 GB, free: 92 kB / 0.9669 GB Notification: Performance of simCode: alias equations: time 9.913e-05/0.4011, allocations: 20.94 kB / 1.217 GB, free: 72 kB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.628e-05/0.4012, allocations: 23.38 kB / 1.217 GB, free: 48 kB / 0.9669 GB Notification: Performance of SimCode: time 3.81e-07/0.4012, allocations: 0 / 1.217 GB, free: 48 kB / 0.9669 GB Notification: Performance of Templates: time 0.004531/0.4057, allocations: 1.67 MB / 1.218 GB, free: 14.38 MB / 0.9825 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