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: translateModel(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y|xInv|dy_dt|d2y_dt2",fileNamePrefix="Buildings_10_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_10_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.005243/0.005243, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.001179/0.001179, allocations: 202.4 kB / 16.68 MB, free: 5.969 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.393/1.393, allocations: 222.9 MB / 240.4 MB, free: 4.352 MB / 190.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.618/2.618, allocations: 437 MB / 0.7105 GB, free: 4.969 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001329/0.001329, allocations: 67.91 kB / 1.019 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2981/0.2994, allocations: 151.6 MB / 1.167 GB, free: 6.684 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.001981/0.3015, allocations: 0.6402 MB / 1.167 GB, free: 6.043 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001857/0.3033, allocations: 1.451 MB / 1.169 GB, free: 4.574 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.909e-05/0.3034, allocations: 4 kB / 1.169 GB, free: 4.57 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 1.731e-05/0.3034, allocations: 0 / 1.169 GB, free: 4.57 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 7.063e-05/0.3035, allocations: 3.938 kB / 1.169 GB, free: 4.566 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004072/0.3039, allocations: 127.5 kB / 1.169 GB, free: 4.441 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 7.596e-05/0.304, allocations: 23.97 kB / 1.169 GB, free: 4.418 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 4.693e-05/0.3041, allocations: 0 / 1.169 GB, free: 4.418 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 3.732e-05/0.3041, allocations: 23.86 kB / 1.169 GB, free: 4.395 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 6.896e-05/0.3042, allocations: 19.91 kB / 1.169 GB, free: 4.375 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.553e-05/0.3042, allocations: 4 kB / 1.169 GB, free: 4.371 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004407/0.3046, allocations: 323.3 kB / 1.169 GB, free: 4.055 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.694e-05/0.3047, allocations: 3.938 kB / 1.169 GB, free: 4.051 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 3.046e-05/0.3047, allocations: 15.92 kB / 1.169 GB, free: 4.035 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002922/0.305, allocations: 187.5 kB / 1.169 GB, free: 3.852 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.305, allocations: 0 / 1.169 GB, free: 3.852 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.694e-06/0.305, allocations: 0 / 1.169 GB, free: 3.852 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.17e-06/0.305, allocations: 0 / 1.169 GB, free: 3.852 MB / 0.92 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.0005006/0.3055, allocations: 386.8 kB / 1.17 GB, free: 3.426 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.501e-05/0.3056, allocations: 11.97 kB / 1.17 GB, free: 3.414 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003687/0.3059, allocations: 60.81 kB / 1.17 GB, free: 3.355 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001381/0.3061, allocations: 172.4 kB / 1.17 GB, free: 3.148 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.606e-05/0.3061, allocations: 4.375 kB / 1.17 GB, free: 3.145 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.813e-05/0.3061, allocations: 4.375 kB / 1.17 GB, free: 3.141 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002567/0.3064, allocations: 73.95 kB / 1.17 GB, free: 3.062 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.201e-05/0.3064, allocations: 0 / 1.17 GB, free: 3.062 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.198e-05/0.3064, allocations: 4 kB / 1.17 GB, free: 3.059 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.46e-06/0.3065, allocations: 0 / 1.17 GB, free: 3.059 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003415/0.3068, allocations: 79.86 kB / 1.17 GB, free: 2.98 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001759/0.307, allocations: 169.5 kB / 1.17 GB, free: 2.766 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005161/0.3075, allocations: 134.4 kB / 1.17 GB, free: 2.625 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001698/0.3077, allocations: 40.95 kB / 1.17 GB, free: 2.582 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.399e-05/0.3077, allocations: 4 kB / 1.17 GB, free: 2.578 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.005e-05/0.3077, allocations: 38.5 kB / 1.171 GB, free: 2.531 MB / 0.92 GB Notification: Performance of pre-optimization done (n=5): time 1.042e-06/0.3077, allocations: 0 / 1.171 GB, free: 2.531 MB / 0.92 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.003869/0.3116, allocations: 0.7857 MB / 1.171 GB, free: 1.738 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.426e-05/0.3117, allocations: 55.41 kB / 1.171 GB, free: 1.672 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.156e-05/0.3118, allocations: 113.8 kB / 1.171 GB, free: 1.551 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.185e-05/0.3118, allocations: 25.7 kB / 1.171 GB, free: 1.52 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 3.393e-05/0.3118, allocations: 84.14 kB / 1.172 GB, free: 1.434 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 3.963e-05/0.3119, allocations: 31.73 kB / 1.172 GB, free: 1.402 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.869e-05/0.3119, allocations: 25.7 kB / 1.172 GB, free: 1.371 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001081/0.3121, allocations: 318.8 kB / 1.172 GB, free: 1.051 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004061/0.3125, allocations: 99.89 kB / 1.172 GB, free: 0.9531 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003938/0.3129, allocations: 95.89 kB / 1.172 GB, free: 0.8594 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007631/0.3136, allocations: 192.6 kB / 1.172 GB, free: 0.668 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.3137, allocations: 0 / 1.172 GB, free: 0.668 MB / 0.92 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0008774/0.3145, allocations: 253.5 kB / 1.173 GB, free: 424 kB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.817e-05/0.3146, allocations: 4 kB / 1.173 GB, free: 420 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.3146, allocations: 4 kB / 1.173 GB, free: 416 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.795e-05/0.3146, allocations: 0 / 1.173 GB, free: 416 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003031/0.3149, allocations: 55.88 kB / 1.173 GB, free: 360 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.191e-06/0.3149, allocations: 4 kB / 1.173 GB, free: 356 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002068/0.3151, allocations: 35.95 kB / 1.173 GB, free: 320 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.736e-05/0.3152, allocations: 8 kB / 1.173 GB, free: 312 kB / 0.92 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.63e-05/0.3153, allocations: 113.8 kB / 1.173 GB, free: 188 kB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.178e-05/0.3153, allocations: 11.95 kB / 1.173 GB, free: 176 kB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.569e-05/0.3153, allocations: 8.375 kB / 1.173 GB, free: 164 kB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.177e-06/0.3153, allocations: 7.938 kB / 1.173 GB, free: 156 kB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.3154, allocations: 0 / 1.173 GB, free: 156 kB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.3154, allocations: 0 / 1.173 GB, free: 156 kB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001628/0.317, allocations: 0.5897 MB / 1.173 GB, free: 15.5 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.317, allocations: 4 kB / 1.173 GB, free: 15.49 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002538/0.3173, allocations: 52 kB / 1.173 GB, free: 15.44 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.629e-06/0.3173, allocations: 4 kB / 1.173 GB, free: 15.44 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.722e-05/0.3173, allocations: 8.734 kB / 1.173 GB, free: 15.43 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.318e-06/0.3173, allocations: 4 kB / 1.173 GB, free: 15.43 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.3173, allocations: 3.938 kB / 1.173 GB, free: 15.42 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008802/0.3182, allocations: 340.9 kB / 1.174 GB, free: 15.07 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.048e-05/0.3183, allocations: 85.06 kB / 1.174 GB, free: 14.96 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.213e-05/0.3183, allocations: 8 kB / 1.174 GB, free: 14.96 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002352/0.3185, allocations: 39.95 kB / 1.174 GB, free: 14.92 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.09e-05/0.3186, allocations: 11.92 kB / 1.174 GB, free: 14.91 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.249e-05/0.3186, allocations: 4 kB / 1.174 GB, free: 14.9 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 4.817e-05/0.3186, allocations: 91.27 kB / 1.174 GB, free: 14.81 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2.01e-07/0.3187, allocations: 4 kB / 1.174 GB, free: 14.81 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.000288/0.3189, allocations: 39.88 kB / 1.174 GB, free: 14.77 MB / 0.9356 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.0002032/0.3192, allocations: 131.1 kB / 1.174 GB, free: 14.63 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0008842/0.32, allocations: 211.9 kB / 1.174 GB, free: 14.43 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.3201, allocations: 0 / 1.174 GB, free: 14.43 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.000424/0.3205, allocations: 112 kB / 1.174 GB, free: 14.32 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002459/0.3207, allocations: 20.53 kB / 1.174 GB, free: 14.3 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001454/0.3222, allocations: 398.5 kB / 1.175 GB, free: 13.88 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002213/0.3224, allocations: 0.6884 MB / 1.176 GB, free: 13.17 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 9.77e-05/0.3225, allocations: 24.66 kB / 1.176 GB, free: 13.14 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.517e-05/0.3226, allocations: 23.36 kB / 1.176 GB, free: 13.12 MB / 0.9356 GB Notification: Performance of SimCode: time 2.11e-07/0.3226, allocations: 0 / 1.176 GB, free: 13.12 MB / 0.9356 GB Notification: Performance of Templates: time 0.004034/0.3267, allocations: 1.658 MB / 1.177 GB, free: 11.47 MB / 0.9356 GB make -j1 -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.makefile (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 & ./Buildings_10_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches