Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.007121/0.007121, allocations: 103.2 kB / 15.73 MB, free: 6.055 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.001477/0.001477, allocations: 198.1 kB / 16.68 MB, free: 5.965 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.344/1.344, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.225/2.225, allocations: 390.2 MB / 0.6648 GB, free: 0.6094 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001196/0.001196, allocations: 67.89 kB / 0.9509 GB, free: 7.57 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8804/0.8816, allocations: 140.4 MB / 1.088 GB, free: 5.504 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.001715/0.8833, allocations: 0.6216 MB / 1.089 GB, free: 5.117 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001934/0.8853, allocations: 1.457 MB / 1.09 GB, free: 4.059 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.056e-05/0.8854, allocations: 1.062 kB / 1.09 GB, free: 4.059 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 1.715e-05/0.8854, allocations: 3.938 kB / 1.09 GB, free: 4.055 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 9.307e-05/0.8855, allocations: 6.953 kB / 1.09 GB, free: 4.051 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004658/0.886, allocations: 130.2 kB / 1.09 GB, free: 3.988 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 7.317e-05/0.8861, allocations: 24.97 kB / 1.09 GB, free: 3.98 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.694e-05/0.8861, allocations: 4.078 kB / 1.09 GB, free: 3.98 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 4.575e-05/0.8862, allocations: 19.14 kB / 1.09 GB, free: 3.969 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 7.549e-05/0.8862, allocations: 24.56 kB / 1.09 GB, free: 3.957 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.266e-05/0.8863, allocations: 1.188 kB / 1.09 GB, free: 3.957 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005608/0.8868, allocations: 319.2 kB / 1.091 GB, free: 3.867 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.682e-05/0.8868, allocations: 3.062 kB / 1.091 GB, free: 3.867 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.159e-05/0.8869, allocations: 20.95 kB / 1.091 GB, free: 3.852 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003341/0.8872, allocations: 183.4 kB / 1.091 GB, free: 3.805 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5e-06/0.8872, allocations: 0 / 1.091 GB, free: 3.805 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.044e-06/0.8872, allocations: 1.062 kB / 1.091 GB, free: 3.805 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.059e-05/0.8873, allocations: 0 / 1.091 GB, free: 3.805 MB / 0.8575 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.0004727/0.8877, allocations: 375.7 kB / 1.091 GB, free: 3.426 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.069e-05/0.8878, allocations: 9.844 kB / 1.091 GB, free: 3.426 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003715/0.8882, allocations: 61.97 kB / 1.091 GB, free: 3.418 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001082/0.8883, allocations: 175.3 kB / 1.091 GB, free: 3.215 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.915e-05/0.8883, allocations: 13.84 kB / 1.091 GB, free: 3.203 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.525e-05/0.8883, allocations: 1.969 kB / 1.091 GB, free: 3.203 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002602/0.8886, allocations: 74.61 kB / 1.091 GB, free: 3.164 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.182e-05/0.8886, allocations: 3.906 kB / 1.091 GB, free: 3.16 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.899e-06/0.8886, allocations: 0 / 1.091 GB, free: 3.16 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.008e-06/0.8886, allocations: 0.8438 kB / 1.091 GB, free: 3.16 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003684/0.889, allocations: 71.94 kB / 1.091 GB, free: 3.152 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001706/0.8892, allocations: 169.5 kB / 1.092 GB, free: 2.953 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005349/0.8897, allocations: 129.3 kB / 1.092 GB, free: 2.91 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001816/0.8899, allocations: 44.42 kB / 1.092 GB, free: 2.895 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.183e-05/0.89, allocations: 0.9375 kB / 1.092 GB, free: 2.895 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.498e-05/0.89, allocations: 40.17 kB / 1.092 GB, free: 2.848 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=5): time 1.202e-06/0.89, allocations: 0 / 1.092 GB, free: 2.848 MB / 0.8575 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.004046/0.8941, allocations: 0.7898 MB / 1.093 GB, free: 2.707 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.018e-05/0.8941, allocations: 53.58 kB / 1.093 GB, free: 2.645 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.794e-05/0.8942, allocations: 117.5 kB / 1.093 GB, free: 2.535 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.515e-05/0.8942, allocations: 26.36 kB / 1.093 GB, free: 2.504 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 2.394e-05/0.8942, allocations: 86.5 kB / 1.093 GB, free: 2.418 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 4.081e-05/0.8943, allocations: 26.22 kB / 1.093 GB, free: 2.398 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.422e-05/0.8943, allocations: 25.33 kB / 1.093 GB, free: 2.379 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 6.472e-05/0.8944, allocations: 319.2 kB / 1.093 GB, free: 2.062 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004085/0.8948, allocations: 95.31 kB / 1.093 GB, free: 2.051 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003995/0.8952, allocations: 99 kB / 1.093 GB, free: 2.035 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007578/0.896, allocations: 193.9 kB / 1.094 GB, free: 1.996 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.41e-07/0.896, allocations: 0 / 1.094 GB, free: 1.996 MB / 0.8575 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0008436/0.8969, allocations: 249.2 kB / 1.094 GB, free: 1.922 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.887e-05/0.8969, allocations: 5.438 kB / 1.094 GB, free: 1.922 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.421e-06/0.8969, allocations: 0 / 1.094 GB, free: 1.922 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.531e-05/0.8969, allocations: 1.844 kB / 1.094 GB, free: 1.922 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000306/0.8972, allocations: 54.05 kB / 1.094 GB, free: 1.918 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.867e-06/0.8972, allocations: 2.516 kB / 1.094 GB, free: 1.918 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002076/0.8975, allocations: 32.28 kB / 1.094 GB, free: 1.918 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.837e-05/0.8975, allocations: 8.141 kB / 1.094 GB, free: 1.914 MB / 0.8575 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 6.424e-05/0.8976, allocations: 121.2 kB / 1.094 GB, free: 1.789 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.182e-05/0.8976, allocations: 3.188 kB / 1.094 GB, free: 1.789 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.609e-05/0.8976, allocations: 15.09 kB / 1.094 GB, free: 1.777 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.599e-06/0.8976, allocations: 1.297 kB / 1.094 GB, free: 1.777 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.199e-06/0.8977, allocations: 4.719 kB / 1.094 GB, free: 1.773 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.519e-06/0.8977, allocations: 5.359 kB / 1.094 GB, free: 1.77 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001575/0.8992, allocations: 0.5987 MB / 1.095 GB, free: 1.395 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.005e-06/0.8993, allocations: 1.156 kB / 1.095 GB, free: 1.395 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002557/0.8995, allocations: 54.33 kB / 1.095 GB, free: 1.391 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.007e-06/0.8995, allocations: 2.312 kB / 1.095 GB, free: 1.391 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.857e-05/0.8996, allocations: 3.562 kB / 1.095 GB, free: 1.391 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.8996, allocations: 5.344 kB / 1.095 GB, free: 1.387 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.8996, allocations: 0.9375 kB / 1.095 GB, free: 1.387 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008684/0.9004, allocations: 347.5 kB / 1.095 GB, free: 1.199 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.5e-05/0.9005, allocations: 79.83 kB / 1.095 GB, free: 1.105 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.113e-05/0.9005, allocations: 6.938 kB / 1.095 GB, free: 1.102 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002371/0.9007, allocations: 37.12 kB / 1.095 GB, free: 1.098 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.997e-05/0.9008, allocations: 19.92 kB / 1.095 GB, free: 1.086 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.602e-05/0.9008, allocations: 6.281 kB / 1.095 GB, free: 1.086 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.482e-05/0.9009, allocations: 89.34 kB / 1.095 GB, free: 1.008 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.01e-07/0.9009, allocations: 0.5625 kB / 1.095 GB, free: 1.008 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003411/0.9012, allocations: 40.81 kB / 1.095 GB, free: 0.9961 MB / 0.8575 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.0002096/0.9014, allocations: 128.5 kB / 1.095 GB, free: 0.8984 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0009153/0.9024, allocations: 211.2 kB / 1.096 GB, free: 0.8672 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.9024, allocations: 0 / 1.096 GB, free: 0.8672 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0004266/0.9028, allocations: 113.3 kB / 1.096 GB, free: 0.8477 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002366/0.9031, allocations: 3 kB / 1.096 GB, free: 0.8477 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001439/0.9045, allocations: 405.5 kB / 1.096 GB, free: 0.6836 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001572/0.9047, allocations: 0.6857 MB / 1.097 GB, free: 15.99 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0001013/0.9048, allocations: 28.47 kB / 1.097 GB, free: 15.98 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.15e-05/0.9049, allocations: 17.92 kB / 1.097 GB, free: 15.97 MB / 0.8731 GB Notification: Performance of SimCode: time 3.41e-07/0.9049, allocations: 0.6875 kB / 1.097 GB, free: 15.97 MB / 0.8731 GB Notification: Performance of Templates: time 0.005016/0.9099, allocations: 1.659 MB / 1.098 GB, free: 15.83 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.makefile (rm -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.sim & ./Buildings_9_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Functions_Examples_InverseXRegularized.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches