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: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized,fileNamePrefix="Buildings_10_Buildings_Utilities_Math_Functions_Examples_InverseXRegularized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized,fileNamePrefix="Buildings_10_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.004179/0.004179, allocations: 96.39 kB / 15.73 MB, free: 6 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.001214/0.001215, allocations: 189.4 kB / 16.67 MB, free: 5.93 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.297/1.297, allocations: 222.9 MB / 240.4 MB, free: 4.316 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.382/2.382, allocations: 437.1 MB / 0.7106 GB, free: 5.062 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001776/0.001777, allocations: 67.89 kB / 1.018 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2541/0.2559, allocations: 151.6 MB / 1.166 GB, free: 7.336 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.001532/0.2575, allocations: 0.6333 MB / 1.167 GB, free: 6.699 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001612/0.2591, allocations: 1.447 MB / 1.168 GB, free: 5.234 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.088e-05/0.2591, allocations: 0 / 1.168 GB, free: 5.234 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 1.348e-05/0.2591, allocations: 3.938 kB / 1.168 GB, free: 5.23 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 5.837e-05/0.2592, allocations: 7.875 kB / 1.168 GB, free: 5.223 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.000351/0.2596, allocations: 119.5 kB / 1.168 GB, free: 5.105 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 5.766e-05/0.2596, allocations: 39.83 kB / 1.168 GB, free: 5.066 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 3.203e-05/0.2597, allocations: 0 / 1.168 GB, free: 5.066 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 3.318e-05/0.2597, allocations: 19.92 kB / 1.168 GB, free: 5.047 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 5.331e-05/0.2598, allocations: 11.92 kB / 1.168 GB, free: 5.035 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.227e-05/0.2598, allocations: 4 kB / 1.168 GB, free: 5.031 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004339/0.2602, allocations: 323.3 kB / 1.169 GB, free: 4.715 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.152e-05/0.2602, allocations: 4 kB / 1.169 GB, free: 4.711 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 2.296e-05/0.2603, allocations: 19.86 kB / 1.169 GB, free: 4.691 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002657/0.2605, allocations: 187.8 kB / 1.169 GB, free: 4.508 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 2.655e-06/0.2605, allocations: 0 / 1.169 GB, free: 4.508 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.313e-06/0.2605, allocations: 0 / 1.169 GB, free: 4.508 MB / 0.92 GB Notification: Performance of Transformations before backend: time 3.747e-06/0.2605, allocations: 0 / 1.169 GB, free: 4.508 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.0004505/0.261, allocations: 378.9 kB / 1.169 GB, free: 4.09 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.051e-05/0.261, allocations: 8.031 kB / 1.169 GB, free: 4.082 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.781e-05/0.2611, allocations: 46.73 kB / 1.169 GB, free: 4.027 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00034/0.2614, allocations: 56.81 kB / 1.169 GB, free: 3.973 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001391/0.2616, allocations: 168.4 kB / 1.17 GB, free: 3.77 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.447e-05/0.2616, allocations: 12.31 kB / 1.17 GB, free: 3.758 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.562e-05/0.2616, allocations: 4.375 kB / 1.17 GB, free: 3.754 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002415/0.2619, allocations: 73.77 kB / 1.17 GB, free: 3.676 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.107e-06/0.2619, allocations: 0 / 1.17 GB, free: 3.676 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.227e-06/0.2619, allocations: 0 / 1.17 GB, free: 3.676 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.707e-06/0.2619, allocations: 7.938 kB / 1.17 GB, free: 3.668 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003385/0.2622, allocations: 71.91 kB / 1.17 GB, free: 3.598 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001731/0.2624, allocations: 181.6 kB / 1.17 GB, free: 3.371 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005112/0.263, allocations: 126.4 kB / 1.17 GB, free: 3.238 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001726/0.2631, allocations: 44.95 kB / 1.17 GB, free: 3.191 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.002e-05/0.2631, allocations: 0 / 1.17 GB, free: 3.191 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.577e-05/0.2632, allocations: 38.48 kB / 1.17 GB, free: 3.145 MB / 0.92 GB Notification: Performance of pre-optimization done (n=5): time 7.71e-07/0.2632, allocations: 0 / 1.17 GB, free: 3.145 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.003763/0.267, allocations: 0.7822 MB / 1.171 GB, free: 2.355 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.492e-05/0.267, allocations: 51.41 kB / 1.171 GB, free: 2.293 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.576e-05/0.2671, allocations: 117.8 kB / 1.171 GB, free: 2.168 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.769e-05/0.2671, allocations: 25.8 kB / 1.171 GB, free: 2.137 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 4.419e-05/0.2672, allocations: 92.08 kB / 1.171 GB, free: 2.043 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 3.49e-05/0.2672, allocations: 31.73 kB / 1.171 GB, free: 2.012 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.525e-05/0.2673, allocations: 25.7 kB / 1.171 GB, free: 1.98 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001176/0.2674, allocations: 318.8 kB / 1.172 GB, free: 1.66 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004214/0.2678, allocations: 95.91 kB / 1.172 GB, free: 1.566 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004054/0.2682, allocations: 95.89 kB / 1.172 GB, free: 1.473 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007927/0.269, allocations: 196.6 kB / 1.172 GB, free: 1.277 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.269, allocations: 3.938 kB / 1.172 GB, free: 1.273 MB / 0.92 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0008852/0.2699, allocations: 237.5 kB / 1.172 GB, free: 1.035 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.19e-05/0.2699, allocations: 11.94 kB / 1.172 GB, free: 1.023 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.577e-06/0.27, allocations: 0 / 1.172 GB, free: 1.023 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.277e-06/0.27, allocations: 0 / 1.172 GB, free: 1.023 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000285/0.2703, allocations: 55.94 kB / 1.172 GB, free: 0.9688 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.687e-06/0.2703, allocations: 0 / 1.172 GB, free: 0.9688 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002133/0.2705, allocations: 31.95 kB / 1.172 GB, free: 0.9375 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.526e-05/0.2705, allocations: 11.98 kB / 1.172 GB, free: 0.9258 MB / 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.32e-05/0.2706, allocations: 117.8 kB / 1.172 GB, free: 0.8008 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.828e-05/0.2706, allocations: 3.953 kB / 1.172 GB, free: 0.7969 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.863e-05/0.2707, allocations: 16.38 kB / 1.172 GB, free: 0.7773 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.2707, allocations: 0 / 1.172 GB, free: 0.7773 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.655e-06/0.2707, allocations: 0 / 1.172 GB, free: 0.7773 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.913e-06/0.2707, allocations: 288 / 1.172 GB, free: 0.7773 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00155/0.2722, allocations: 0.6052 MB / 1.173 GB, free: 112 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.2723, allocations: 0 / 1.173 GB, free: 112 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002461/0.2725, allocations: 55.94 kB / 1.173 GB, free: 56 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.829e-06/0.2725, allocations: 4 kB / 1.173 GB, free: 52 kB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.091e-05/0.2725, allocations: 0 / 1.173 GB, free: 52 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/0.2725, allocations: 4 kB / 1.173 GB, free: 48 kB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.2725, allocations: 3.938 kB / 1.173 GB, free: 44 kB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009321/0.2735, allocations: 345 kB / 1.173 GB, free: 15.68 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.477e-05/0.2735, allocations: 85.05 kB / 1.173 GB, free: 15.58 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.948e-05/0.2736, allocations: 4 kB / 1.173 GB, free: 15.58 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002562/0.2738, allocations: 39.95 kB / 1.174 GB, free: 15.54 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.46e-05/0.2739, allocations: 15.86 kB / 1.174 GB, free: 15.52 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.496e-05/0.2739, allocations: 8.359 kB / 1.174 GB, free: 15.52 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 5.026e-05/0.2739, allocations: 87.28 kB / 1.174 GB, free: 15.43 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2739, allocations: 0 / 1.174 GB, free: 15.43 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002565/0.2742, allocations: 47.86 kB / 1.174 GB, free: 15.38 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.00127/0.2755, allocations: 0.9012 MB / 1.175 GB, free: 14.45 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0008726/0.2764, allocations: 207.7 kB / 1.175 GB, free: 14.25 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.2764, allocations: 0 / 1.175 GB, free: 14.25 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0004325/0.2768, allocations: 112 kB / 1.175 GB, free: 14.14 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002095/0.277, allocations: 11.94 kB / 1.175 GB, free: 14.12 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004339/0.2814, allocations: 2.132 MB / 1.177 GB, free: 11.9 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002799/0.2817, allocations: 0.6885 MB / 1.178 GB, free: 11.19 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 8.738e-05/0.2818, allocations: 21.45 kB / 1.178 GB, free: 11.17 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.652e-05/0.2818, allocations: 27.42 kB / 1.178 GB, free: 11.14 MB / 0.9356 GB Notification: Performance of SimCode: time 2.31e-07/0.2818, allocations: 0 / 1.178 GB, free: 11.14 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2836/0.5654, allocations: 2.743 MB / 1.18 GB, free: 8.504 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.44/17.01, allocations: 13.67 kB / 1.18 GB, free: 8.492 MB / 0.9356 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized_res.mat --tempDir=temp_Buildings_10_Buildings_Utilities_Math_Functions_Examples_InverseXRegularized_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Utilities_Math_Functions_Examples_InverseXRegularized.fmu > 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/jenkins1/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