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.001597/0.001597, allocations: 115.6 kB / 16.37 MB, free: 6.004 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.001595/0.001595, allocations: 192.1 kB / 17.31 MB, free: 5.613 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.337/1.337, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.43/2.43, allocations: 442.6 MB / 0.7165 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001872/0.001872, allocations: 64.38 kB / 0.8773 GB, free: 10.95 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3082/0.3101, allocations: 153 MB / 1.027 GB, free: 2.035 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.002749/0.3129, allocations: 0.6405 MB / 1.027 GB, free: 1.391 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.002131/0.3151, allocations: 1.452 MB / 1.029 GB, free: 15.92 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.301e-05/0.3151, allocations: 0 / 1.029 GB, free: 15.92 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.026e-05/0.3152, allocations: 0 / 1.029 GB, free: 15.92 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001134/0.3153, allocations: 11.94 kB / 1.029 GB, free: 15.91 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004734/0.3158, allocations: 126.8 kB / 1.029 GB, free: 15.79 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001098/0.3159, allocations: 23.92 kB / 1.029 GB, free: 15.77 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 8.48e-05/0.316, allocations: 7.984 kB / 1.029 GB, free: 15.76 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 5.711e-05/0.3161, allocations: 15.88 kB / 1.029 GB, free: 15.74 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001041/0.3162, allocations: 23.91 kB / 1.029 GB, free: 15.72 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.057e-05/0.3162, allocations: 0 / 1.029 GB, free: 15.72 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005329/0.3168, allocations: 311.4 kB / 1.029 GB, free: 15.41 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.329e-05/0.3168, allocations: 15.98 kB / 1.029 GB, free: 15.4 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.031e-05/0.3168, allocations: 15.88 kB / 1.029 GB, free: 15.38 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0003374/0.3172, allocations: 175.7 kB / 1.029 GB, free: 15.21 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 7.985e-06/0.3172, allocations: 0 / 1.029 GB, free: 15.21 MB / 0.8106 GB Notification: Performance of FrontEnd: time 8.997e-06/0.3172, allocations: 4 kB / 1.029 GB, free: 15.21 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 7.935e-06/0.3172, allocations: 3.938 kB / 1.029 GB, free: 15.2 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.0006656/0.3179, allocations: 387.3 kB / 1.03 GB, free: 14.78 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.241e-05/0.3179, allocations: 8.031 kB / 1.03 GB, free: 14.77 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004035/0.3184, allocations: 64.77 kB / 1.03 GB, free: 14.71 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001715/0.3185, allocations: 172.4 kB / 1.03 GB, free: 14.5 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.265e-05/0.3186, allocations: 4.375 kB / 1.03 GB, free: 14.5 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.111e-05/0.3186, allocations: 384 / 1.03 GB, free: 14.5 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00025/0.3188, allocations: 77.95 kB / 1.03 GB, free: 14.41 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.276e-05/0.3189, allocations: 0 / 1.03 GB, free: 14.41 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.314e-05/0.3189, allocations: 4 kB / 1.03 GB, free: 14.41 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/0.3189, allocations: 0 / 1.03 GB, free: 14.41 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003336/0.3192, allocations: 67.92 kB / 1.03 GB, free: 14.34 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000188/0.3194, allocations: 177.6 kB / 1.03 GB, free: 14.12 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005109/0.32, allocations: 126.5 kB / 1.031 GB, free: 13.99 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000175/0.3201, allocations: 40.94 kB / 1.031 GB, free: 13.95 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.97e-05/0.3202, allocations: 7.938 kB / 1.031 GB, free: 13.94 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.44e-05/0.3202, allocations: 42.44 kB / 1.031 GB, free: 13.89 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=5): time 1.222e-06/0.3202, allocations: 4 kB / 1.031 GB, free: 13.88 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.003931/0.3241, allocations: 0.7817 MB / 1.031 GB, free: 13.09 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.165e-05/0.3242, allocations: 51.41 kB / 1.031 GB, free: 13.03 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.749e-05/0.3243, allocations: 117.8 kB / 1.032 GB, free: 12.91 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.104e-05/0.3243, allocations: 33.7 kB / 1.032 GB, free: 12.87 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.658e-05/0.3244, allocations: 80.14 kB / 1.032 GB, free: 12.79 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 4.472e-05/0.3244, allocations: 31.55 kB / 1.032 GB, free: 12.75 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.587e-05/0.3245, allocations: 29.7 kB / 1.032 GB, free: 12.72 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.857e-05/0.3246, allocations: 310.8 kB / 1.032 GB, free: 12.41 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004081/0.325, allocations: 95.89 kB / 1.032 GB, free: 12.31 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003974/0.3254, allocations: 103.8 kB / 1.032 GB, free: 12.21 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000756/0.3262, allocations: 192.7 kB / 1.032 GB, free: 12.02 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.3262, allocations: 0 / 1.032 GB, free: 12.02 MB / 0.8106 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0008547/0.327, allocations: 253.5 kB / 1.033 GB, free: 11.77 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.369e-05/0.3271, allocations: 4 kB / 1.033 GB, free: 11.76 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.058e-06/0.3271, allocations: 0 / 1.033 GB, free: 11.76 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.146e-05/0.3271, allocations: 96 / 1.033 GB, free: 11.76 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003046/0.3274, allocations: 59.88 kB / 1.033 GB, free: 11.7 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.549e-06/0.3274, allocations: 0 / 1.033 GB, free: 11.7 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002182/0.3276, allocations: 31.95 kB / 1.033 GB, free: 11.67 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.362e-05/0.3277, allocations: 8 kB / 1.033 GB, free: 11.66 MB / 0.8106 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.771e-05/0.3277, allocations: 125.7 kB / 1.033 GB, free: 11.53 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.991e-05/0.3278, allocations: 4 kB / 1.033 GB, free: 11.53 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.889e-05/0.3278, allocations: 12.36 kB / 1.033 GB, free: 11.52 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.933e-06/0.3278, allocations: 0 / 1.033 GB, free: 11.52 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.3278, allocations: 0 / 1.033 GB, free: 11.52 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.3279, allocations: 3.984 kB / 1.033 GB, free: 11.51 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00157/0.3294, allocations: 0.6013 MB / 1.033 GB, free: 10.85 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.3294, allocations: 0 / 1.033 GB, free: 10.85 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002616/0.3297, allocations: 56 kB / 1.033 GB, free: 10.79 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/0.3297, allocations: 0 / 1.033 GB, free: 10.79 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.452e-05/0.3297, allocations: 8.688 kB / 1.034 GB, free: 10.79 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.02e-06/0.3298, allocations: 7.922 kB / 1.034 GB, free: 10.78 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.3298, allocations: 0 / 1.034 GB, free: 10.78 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008757/0.3306, allocations: 344.9 kB / 1.034 GB, free: 10.42 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.87e-05/0.3307, allocations: 85.09 kB / 1.034 GB, free: 10.32 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.107e-05/0.3307, allocations: 0 / 1.034 GB, free: 10.32 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002465/0.331, allocations: 43.95 kB / 1.034 GB, free: 10.27 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.978e-05/0.331, allocations: 11.92 kB / 1.034 GB, free: 10.26 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.099e-05/0.331, allocations: 4 kB / 1.034 GB, free: 10.26 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.615e-05/0.3311, allocations: 91.27 kB / 1.034 GB, free: 10.17 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3311, allocations: 4 kB / 1.034 GB, free: 10.16 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002918/0.3314, allocations: 36 kB / 1.034 GB, free: 10.13 MB / 0.8106 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.0001877/0.3316, allocations: 127.2 kB / 1.034 GB, free: 9.996 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0008736/0.3325, allocations: 211.7 kB / 1.034 GB, free: 9.789 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.3325, allocations: 0 / 1.034 GB, free: 9.789 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0004196/0.3329, allocations: 112 kB / 1.035 GB, free: 9.68 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000232/0.3331, allocations: 8.281 kB / 1.035 GB, free: 9.672 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001409/0.3346, allocations: 402.3 kB / 1.035 GB, free: 9.246 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002072/0.3348, allocations: 0.6923 MB / 1.036 GB, free: 8.527 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 9.263e-05/0.3349, allocations: 24.66 kB / 1.036 GB, free: 8.504 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.652e-05/0.335, allocations: 15.44 kB / 1.036 GB, free: 8.488 MB / 0.8106 GB Notification: Performance of SimCode: time 2.7e-07/0.335, allocations: 0 / 1.036 GB, free: 8.488 MB / 0.8106 GB Notification: Performance of Templates: time 0.003871/0.3388, allocations: 1.656 MB / 1.037 GB, free: 6.836 MB / 0.8106 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 -s gbode -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/jenkins1/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