Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Utilities_Math_Functions_Examples_InverseXRegularized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized,fileNamePrefix="Buildings_11_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.001493/0.001493, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001445/0.001445, allocations: 196 kB / 16.53 MB, free: 6.664 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.31/1.31, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.652/2.652, allocations: 469.8 MB / 0.7424 GB, free: 7.477 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001885/0.001886, allocations: 72.19 kB / 0.9087 GB, free: 34.23 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3053/0.3073, allocations: 159.2 MB / 1.064 GB, free: 14.22 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.001808/0.3091, allocations: 0.6323 MB / 1.065 GB, free: 13.59 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001856/0.311, allocations: 1.46 MB / 1.066 GB, free: 12.11 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.79e-05/0.311, allocations: 0 / 1.066 GB, free: 12.11 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.748e-05/0.311, allocations: 3.938 kB / 1.066 GB, free: 12.11 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 6.066e-05/0.3111, allocations: 0 / 1.066 GB, free: 12.11 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004129/0.3115, allocations: 128.5 kB / 1.066 GB, free: 11.98 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 6.087e-05/0.3116, allocations: 27.91 kB / 1.066 GB, free: 11.95 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.29e-05/0.3116, allocations: 3.984 kB / 1.066 GB, free: 11.95 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 3.617e-05/0.3117, allocations: 15.94 kB / 1.066 GB, free: 11.93 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 6.048e-05/0.3117, allocations: 15.91 kB / 1.066 GB, free: 11.92 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.473e-05/0.3118, allocations: 4 kB / 1.066 GB, free: 11.91 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004736/0.3122, allocations: 315.4 kB / 1.067 GB, free: 11.61 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.029e-05/0.3123, allocations: 15.86 kB / 1.067 GB, free: 11.59 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.478e-05/0.3123, allocations: 11.92 kB / 1.067 GB, free: 11.58 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002942/0.3126, allocations: 191.9 kB / 1.067 GB, free: 11.39 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.3126, allocations: 0 / 1.067 GB, free: 11.39 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.362e-06/0.3126, allocations: 3.938 kB / 1.067 GB, free: 11.39 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.498e-06/0.3126, allocations: 0 / 1.067 GB, free: 11.39 MB / 0.8262 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.0005123/0.3131, allocations: 371.4 kB / 1.067 GB, free: 10.98 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.549e-05/0.3132, allocations: 8.031 kB / 1.067 GB, free: 10.97 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.01e-05/0.3132, allocations: 38.75 kB / 1.067 GB, free: 10.92 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003777/0.3136, allocations: 60.77 kB / 1.067 GB, free: 10.86 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001548/0.3138, allocations: 168.4 kB / 1.067 GB, free: 10.66 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.519e-05/0.3138, allocations: 4.375 kB / 1.067 GB, free: 10.66 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.948e-05/0.3138, allocations: 12.28 kB / 1.067 GB, free: 10.64 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002638/0.3141, allocations: 77.7 kB / 1.068 GB, free: 10.56 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.948e-06/0.3141, allocations: 0 / 1.068 GB, free: 10.56 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.425e-06/0.3141, allocations: 0 / 1.068 GB, free: 10.56 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.706e-06/0.3141, allocations: 0 / 1.068 GB, free: 10.56 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003537/0.3145, allocations: 75.91 kB / 1.068 GB, free: 10.49 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001999/0.3147, allocations: 161.7 kB / 1.068 GB, free: 10.28 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005432/0.3153, allocations: 134.5 kB / 1.068 GB, free: 10.14 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001842/0.3155, allocations: 44.89 kB / 1.068 GB, free: 10.09 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.492e-05/0.3155, allocations: 7.984 kB / 1.068 GB, free: 10.09 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.568e-05/0.3155, allocations: 34.5 kB / 1.068 GB, free: 10.04 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=5): time 1.113e-06/0.3155, allocations: 0 / 1.068 GB, free: 10.04 MB / 0.8262 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.004077/0.3196, allocations: 0.7875 MB / 1.069 GB, free: 9.25 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.442e-05/0.3197, allocations: 55.34 kB / 1.069 GB, free: 9.184 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.798e-05/0.3198, allocations: 117.8 kB / 1.069 GB, free: 9.059 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.018e-05/0.3198, allocations: 29.7 kB / 1.069 GB, free: 9.023 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.583e-05/0.3198, allocations: 88.14 kB / 1.069 GB, free: 8.934 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.297e-05/0.3199, allocations: 31.55 kB / 1.069 GB, free: 8.902 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.927e-05/0.32, allocations: 25.7 kB / 1.069 GB, free: 8.871 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001294/0.3201, allocations: 314.8 kB / 1.069 GB, free: 8.555 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004322/0.3205, allocations: 95.89 kB / 1.069 GB, free: 8.461 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004225/0.321, allocations: 99.89 kB / 1.07 GB, free: 8.363 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008389/0.3218, allocations: 196.6 kB / 1.07 GB, free: 8.168 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.769e-06/0.3218, allocations: 4.125 kB / 1.07 GB, free: 8.164 MB / 0.8262 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0009134/0.3227, allocations: 241.4 kB / 1.07 GB, free: 7.922 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.585e-05/0.3228, allocations: 9.562 kB / 1.07 GB, free: 7.914 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.683e-06/0.3228, allocations: 4 kB / 1.07 GB, free: 7.91 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.325e-05/0.3228, allocations: 0 / 1.07 GB, free: 7.91 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003117/0.3231, allocations: 59.88 kB / 1.07 GB, free: 7.852 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.032e-06/0.3231, allocations: 384 / 1.07 GB, free: 7.852 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002301/0.3234, allocations: 31.95 kB / 1.07 GB, free: 7.82 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.44e-05/0.3234, allocations: 4 kB / 1.07 GB, free: 7.816 MB / 0.8262 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 0.0001002/0.3235, allocations: 125.8 kB / 1.07 GB, free: 7.684 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.954e-05/0.3235, allocations: 3.938 kB / 1.07 GB, free: 7.68 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.631e-05/0.3236, allocations: 16.38 kB / 1.07 GB, free: 7.664 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/0.3236, allocations: 3.984 kB / 1.07 GB, free: 7.66 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.3236, allocations: 0 / 1.07 GB, free: 7.66 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.3236, allocations: 0 / 1.07 GB, free: 7.66 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00173/0.3253, allocations: 0.6012 MB / 1.071 GB, free: 6.996 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.235e-06/0.3253, allocations: 0 / 1.071 GB, free: 6.996 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002789/0.3256, allocations: 52 kB / 1.071 GB, free: 6.945 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.406e-06/0.3256, allocations: 4 kB / 1.071 GB, free: 6.941 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.419e-05/0.3257, allocations: 3.984 kB / 1.071 GB, free: 6.938 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.3257, allocations: 4 kB / 1.071 GB, free: 6.934 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.666e-06/0.3257, allocations: 3.938 kB / 1.071 GB, free: 6.93 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009825/0.3267, allocations: 344.9 kB / 1.071 GB, free: 6.57 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.16e-05/0.3267, allocations: 77.11 kB / 1.071 GB, free: 6.477 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.666e-05/0.3268, allocations: 8 kB / 1.071 GB, free: 6.469 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002527/0.327, allocations: 35.95 kB / 1.071 GB, free: 6.434 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.015e-05/0.3271, allocations: 11.92 kB / 1.071 GB, free: 6.422 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.304e-05/0.3271, allocations: 4 kB / 1.071 GB, free: 6.418 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 6.486e-05/0.3272, allocations: 91.27 kB / 1.071 GB, free: 6.328 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3272, allocations: 0 / 1.071 GB, free: 6.328 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003095/0.3275, allocations: 43.98 kB / 1.071 GB, free: 6.285 MB / 0.8262 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.001392/0.3289, allocations: 0.9051 MB / 1.072 GB, free: 5.348 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0009612/0.3299, allocations: 207.7 kB / 1.073 GB, free: 5.145 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/0.3299, allocations: 384 / 1.073 GB, free: 5.145 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0004529/0.3303, allocations: 111.9 kB / 1.073 GB, free: 5.035 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000247/0.3306, allocations: 14.17 kB / 1.073 GB, free: 5.023 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00491/0.3355, allocations: 2.135 MB / 1.075 GB, free: 2.797 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003144/0.3359, allocations: 0.6846 MB / 1.075 GB, free: 2.086 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001127/0.336, allocations: 24.66 kB / 1.075 GB, free: 2.062 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.273e-05/0.3361, allocations: 23.42 kB / 1.075 GB, free: 2.039 MB / 0.8262 GB Notification: Performance of SimCode: time 7.81e-07/0.3361, allocations: 0 / 1.075 GB, free: 2.039 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.626/1.963, allocations: 2.715 MB / 1.078 GB, free: 15.41 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.84/15.81, allocations: 7.109 kB / 1.078 GB, free: 15.41 MB / 0.8419 GB (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Math_Functions_Examples_InverseXRegularized_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_Math_Functions_Examples_InverseXRegularized.fmu > Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Functions_Examples_InverseXRegularized.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches