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: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_Functions_Examples_InverseXRegularized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_Functions_Examples_InverseXRegularized",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005454/0.005454, allocations: 101.8 kB / 15.73 MB, free: 6.031 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.00129/0.00129, allocations: 186.6 kB / 16.67 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.311/1.311, allocations: 222.9 MB / 240.4 MB, free: 4.34 MB / 190.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.171/2.171, allocations: 390.3 MB / 0.6648 GB, free: 244 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001102/0.001103, allocations: 72.19 kB / 0.9504 GB, free: 5.84 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2148/0.2159, allocations: 140.4 MB / 1.088 GB, free: 1.988 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.00164/0.2176, allocations: 0.6301 MB / 1.088 GB, free: 1.363 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001695/0.2193, allocations: 1.464 MB / 1.09 GB, free: 15.88 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.467e-05/0.2193, allocations: 0 / 1.09 GB, free: 15.88 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 1.998e-05/0.2194, allocations: 3.938 kB / 1.09 GB, free: 15.88 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 6.796e-05/0.2194, allocations: 0 / 1.09 GB, free: 15.88 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003809/0.2198, allocations: 131.4 kB / 1.09 GB, free: 15.75 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 6.061e-05/0.2199, allocations: 27.91 kB / 1.09 GB, free: 15.72 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.769e-05/0.22, allocations: 4 kB / 1.09 GB, free: 15.72 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 3.131e-05/0.22, allocations: 7.938 kB / 1.09 GB, free: 15.71 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 6.217e-05/0.2201, allocations: 23.89 kB / 1.09 GB, free: 15.69 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.183e-05/0.2201, allocations: 4 kB / 1.09 GB, free: 15.68 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000397/0.2205, allocations: 311.4 kB / 1.09 GB, free: 15.38 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.799e-05/0.2205, allocations: 19.86 kB / 1.09 GB, free: 15.36 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.313e-05/0.2205, allocations: 11.91 kB / 1.09 GB, free: 15.35 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002526/0.2208, allocations: 186.5 kB / 1.09 GB, free: 15.17 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.2208, allocations: 3.938 kB / 1.09 GB, free: 15.16 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.192e-06/0.2208, allocations: 4 kB / 1.09 GB, free: 15.16 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.419e-06/0.2208, allocations: 0 / 1.09 GB, free: 15.16 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.0004331/0.2213, allocations: 372.2 kB / 1.091 GB, free: 14.75 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.489e-05/0.2213, allocations: 12.03 kB / 1.091 GB, free: 14.74 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.113e-05/0.2213, allocations: 34.75 kB / 1.091 GB, free: 14.7 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003407/0.2217, allocations: 60.77 kB / 1.091 GB, free: 14.64 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001238/0.2218, allocations: 172.4 kB / 1.091 GB, free: 14.43 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.298e-05/0.2218, allocations: 384 / 1.091 GB, free: 14.43 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.807e-05/0.2218, allocations: 8.281 kB / 1.091 GB, free: 14.42 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002621/0.2221, allocations: 81.7 kB / 1.091 GB, free: 14.34 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.798e-06/0.2221, allocations: 0 / 1.091 GB, free: 14.34 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.197e-05/0.2222, allocations: 4 kB / 1.091 GB, free: 14.33 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.2222, allocations: 0 / 1.091 GB, free: 14.33 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003391/0.2225, allocations: 67.92 kB / 1.091 GB, free: 14.27 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000167/0.2227, allocations: 169.7 kB / 1.091 GB, free: 14.05 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005193/0.2232, allocations: 134.5 kB / 1.091 GB, free: 13.91 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001745/0.2234, allocations: 40.89 kB / 1.091 GB, free: 13.87 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.219e-05/0.2234, allocations: 0 / 1.091 GB, free: 13.87 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.935e-05/0.2234, allocations: 42.44 kB / 1.091 GB, free: 13.82 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=5): time 8.22e-07/0.2234, allocations: 0 / 1.091 GB, free: 13.82 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.003837/0.2273, allocations: 0.7818 MB / 1.092 GB, free: 13.03 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.154e-05/0.2273, allocations: 55.34 kB / 1.092 GB, free: 12.96 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.645e-05/0.2274, allocations: 113.8 kB / 1.092 GB, free: 12.84 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.705e-05/0.2274, allocations: 29.7 kB / 1.092 GB, free: 12.8 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.422e-05/0.2275, allocations: 88.14 kB / 1.092 GB, free: 12.71 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.78e-05/0.2275, allocations: 35.53 kB / 1.092 GB, free: 12.68 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.083e-05/0.2276, allocations: 25.7 kB / 1.093 GB, free: 12.65 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 8.51e-05/0.2277, allocations: 310.8 kB / 1.093 GB, free: 12.34 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004201/0.2281, allocations: 99.89 kB / 1.093 GB, free: 12.24 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003967/0.2285, allocations: 103.8 kB / 1.093 GB, free: 12.14 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007787/0.2293, allocations: 192.6 kB / 1.093 GB, free: 11.95 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.2293, allocations: 3.938 kB / 1.093 GB, free: 11.94 MB / 0.8575 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0008762/0.2302, allocations: 241.7 kB / 1.093 GB, free: 11.7 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.48e-05/0.2302, allocations: 9.562 kB / 1.093 GB, free: 11.69 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.2302, allocations: 0 / 1.093 GB, free: 11.69 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.355e-05/0.2302, allocations: 96 / 1.093 GB, free: 11.69 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002964/0.2305, allocations: 59.81 kB / 1.093 GB, free: 11.63 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.9e-06/0.2305, allocations: 0 / 1.093 GB, free: 11.63 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000219/0.2308, allocations: 39.95 kB / 1.094 GB, free: 11.59 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.225e-05/0.2308, allocations: 0 / 1.094 GB, free: 11.59 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 7.994e-05/0.2309, allocations: 123.7 kB / 1.094 GB, free: 11.46 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.012e-05/0.2309, allocations: 8 kB / 1.094 GB, free: 11.46 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.782e-05/0.2309, allocations: 12.38 kB / 1.094 GB, free: 11.45 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.231, allocations: 3.984 kB / 1.094 GB, free: 11.44 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.231, allocations: 0 / 1.094 GB, free: 11.44 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.265e-06/0.231, allocations: 0 / 1.094 GB, free: 11.44 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001538/0.2325, allocations: 0.6012 MB / 1.094 GB, free: 10.78 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.2325, allocations: 0 / 1.094 GB, free: 10.78 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002524/0.2328, allocations: 56 kB / 1.094 GB, free: 10.72 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.2328, allocations: 0 / 1.094 GB, free: 10.72 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.444e-05/0.2328, allocations: 7.984 kB / 1.094 GB, free: 10.71 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.2328, allocations: 0.75 kB / 1.094 GB, free: 10.71 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.2328, allocations: 3.938 kB / 1.094 GB, free: 10.71 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008907/0.2337, allocations: 345.3 kB / 1.095 GB, free: 10.35 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.241e-05/0.2338, allocations: 81.11 kB / 1.095 GB, free: 10.25 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.83e-05/0.2338, allocations: 0 / 1.095 GB, free: 10.25 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002405/0.234, allocations: 39.95 kB / 1.095 GB, free: 10.21 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.712e-05/0.2341, allocations: 15.92 kB / 1.095 GB, free: 10.2 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.678e-06/0.2341, allocations: 4 kB / 1.095 GB, free: 10.2 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.853e-05/0.2342, allocations: 99.25 kB / 1.095 GB, free: 10.1 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2342, allocations: 3.938 kB / 1.095 GB, free: 10.09 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002723/0.2344, allocations: 35.98 kB / 1.095 GB, free: 10.06 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.001213/0.2357, allocations: 0.909 MB / 1.096 GB, free: 9.117 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0008717/0.2366, allocations: 211.9 kB / 1.096 GB, free: 8.91 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.2366, allocations: 0 / 1.096 GB, free: 8.91 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0004269/0.237, allocations: 112 kB / 1.096 GB, free: 8.801 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002241/0.2372, allocations: 11.92 kB / 1.096 GB, free: 8.789 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004265/0.2415, allocations: 2.123 MB / 1.098 GB, free: 6.574 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000202/0.2417, allocations: 0.6807 MB / 1.099 GB, free: 5.867 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 8.947e-05/0.2418, allocations: 20.66 kB / 1.099 GB, free: 5.848 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.746e-05/0.2419, allocations: 27.42 kB / 1.099 GB, free: 5.82 MB / 0.8575 GB Notification: Performance of SimCode: time 1.322e-06/0.2419, allocations: 4 kB / 1.099 GB, free: 5.816 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.564/1.806, allocations: 2.737 MB / 1.102 GB, free: 3.188 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.807/11.61, allocations: 21.44 kB / 1.102 GB, free: 3.168 MB / 0.8575 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Math_Functions_Examples_InverseXRegularized_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Math_Functions_Examples_InverseXRegularized.fmu > 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/jenkins1/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