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.0009824/0.0009824, allocations: 108 kB / 15.6 MB, free: 128 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.0009924/0.0009924, allocations: 197.2 kB / 16.53 MB, free: 6.672 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.201/1.201, allocations: 222.9 MB / 240.2 MB, free: 4.402 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.09/2.09, allocations: 390.3 MB / 0.6647 GB, free: 444 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001236/0.001236, allocations: 68.14 kB / 0.8127 GB, free: 14.33 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5272/0.5285, allocations: 140.4 MB / 0.9497 GB, free: 9.172 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.001623/0.5301, allocations: 0.6306 MB / 0.9503 GB, free: 8.684 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001288/0.5314, allocations: 1.449 MB / 0.9518 GB, free: 7.512 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.279e-05/0.5315, allocations: 0 / 0.9518 GB, free: 7.512 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.205e-05/0.5315, allocations: 3.938 kB / 0.9518 GB, free: 7.508 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.607e-05/0.5316, allocations: 5.156 kB / 0.9518 GB, free: 7.504 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003374/0.5319, allocations: 126.3 kB / 0.9519 GB, free: 7.418 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.796e-05/0.532, allocations: 27.7 kB / 0.9519 GB, free: 7.402 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.648e-05/0.532, allocations: 6.766 kB / 0.9519 GB, free: 7.398 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.818e-05/0.5321, allocations: 14.34 kB / 0.9519 GB, free: 7.391 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.113e-05/0.5321, allocations: 17.47 kB / 0.9519 GB, free: 7.379 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.342e-05/0.5321, allocations: 2.375 kB / 0.9519 GB, free: 7.379 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003576/0.5325, allocations: 319.9 kB / 0.9523 GB, free: 7.191 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.175e-05/0.5325, allocations: 9.234 kB / 0.9523 GB, free: 7.184 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 1.93e-05/0.5325, allocations: 14.47 kB / 0.9523 GB, free: 7.172 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002236/0.5328, allocations: 185.7 kB / 0.9525 GB, free: 7.078 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.5328, allocations: 0 / 0.9525 GB, free: 7.078 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.012e-06/0.5328, allocations: 0 / 0.9525 GB, free: 7.078 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.488e-06/0.5328, allocations: 0 / 0.9525 GB, free: 7.078 MB / 0.7169 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.000354/0.5331, allocations: 383.3 kB / 0.9528 GB, free: 6.676 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.186e-05/0.5332, allocations: 9.75 kB / 0.9528 GB, free: 6.676 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.114e-05/0.5332, allocations: 35.78 kB / 0.9529 GB, free: 6.633 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003277/0.5335, allocations: 55.36 kB / 0.9529 GB, free: 6.613 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.214e-05/0.5336, allocations: 185.1 kB / 0.9531 GB, free: 6.398 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.37e-05/0.5336, allocations: 9.406 kB / 0.9531 GB, free: 6.391 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.729e-05/0.5337, allocations: 2.719 kB / 0.9531 GB, free: 6.391 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000234/0.5339, allocations: 71.89 kB / 0.9532 GB, free: 6.336 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.558e-06/0.5339, allocations: 5.344 kB / 0.9532 GB, free: 6.332 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.208e-06/0.5339, allocations: 0 / 0.9532 GB, free: 6.332 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.419e-06/0.5339, allocations: 5.344 kB / 0.9532 GB, free: 6.328 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000322/0.5343, allocations: 65.11 kB / 0.9532 GB, free: 6.305 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000119/0.5344, allocations: 170.7 kB / 0.9534 GB, free: 6.098 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005015/0.5349, allocations: 135.2 kB / 0.9535 GB, free: 6.02 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001665/0.5351, allocations: 42.95 kB / 0.9536 GB, free: 5.996 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.363e-05/0.5351, allocations: 0 / 0.9536 GB, free: 5.996 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.309e-05/0.5351, allocations: 35.91 kB / 0.9536 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=5): time 7.92e-07/0.5351, allocations: 0 / 0.9536 GB, free: 5.953 MB / 0.7169 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.003665/0.5388, allocations: 0.7879 MB / 0.9544 GB, free: 5.598 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.727e-05/0.5388, allocations: 52.84 kB / 0.9544 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.891e-05/0.5389, allocations: 122.2 kB / 0.9545 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.211e-05/0.5389, allocations: 25.7 kB / 0.9546 GB, free: 5.387 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.627e-05/0.5389, allocations: 85.48 kB / 0.9547 GB, free: 5.301 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.067e-05/0.539, allocations: 31.61 kB / 0.9547 GB, free: 5.273 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.735e-05/0.539, allocations: 26.23 kB / 0.9547 GB, free: 5.25 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.529e-05/0.5391, allocations: 316.2 kB / 0.955 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003964/0.5395, allocations: 100.5 kB / 0.9551 GB, free: 4.891 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003802/0.5398, allocations: 97.33 kB / 0.9552 GB, free: 4.852 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007302/0.5406, allocations: 190.8 kB / 0.9554 GB, free: 4.77 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.412e-06/0.5406, allocations: 3.938 kB / 0.9554 GB, free: 4.766 MB / 0.7169 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0008186/0.5414, allocations: 242.9 kB / 0.9556 GB, free: 4.645 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.147e-05/0.5414, allocations: 5.688 kB / 0.9556 GB, free: 4.645 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.5414, allocations: 384 / 0.9556 GB, free: 4.645 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.161e-05/0.5415, allocations: 0 / 0.9556 GB, free: 4.645 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002767/0.5417, allocations: 54.88 kB / 0.9557 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.739e-06/0.5418, allocations: 1.375 kB / 0.9557 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001959/0.542, allocations: 36.52 kB / 0.9557 GB, free: 4.609 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.407e-05/0.542, allocations: 12.12 kB / 0.9557 GB, free: 4.602 MB / 0.7169 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 4.86e-05/0.542, allocations: 111.2 kB / 0.9558 GB, free: 4.484 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.004e-05/0.5421, allocations: 6.656 kB / 0.9558 GB, free: 4.48 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.31e-05/0.5421, allocations: 17.73 kB / 0.9559 GB, free: 4.465 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.5421, allocations: 1.375 kB / 0.9559 GB, free: 4.465 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.5421, allocations: 1.375 kB / 0.9559 GB, free: 4.465 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.375e-06/0.5421, allocations: 3.938 kB / 0.9559 GB, free: 4.461 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001409/0.5435, allocations: 0.599 MB / 0.9564 GB, free: 3.98 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-06/0.5435, allocations: 0 / 0.9564 GB, free: 3.98 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002381/0.5438, allocations: 55.56 kB / 0.9565 GB, free: 3.961 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.5438, allocations: 1.125 kB / 0.9565 GB, free: 3.961 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.284e-05/0.5438, allocations: 6.234 kB / 0.9565 GB, free: 3.957 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.5438, allocations: 1.125 kB / 0.9565 GB, free: 3.957 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.5438, allocations: 5.062 kB / 0.9565 GB, free: 3.953 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00082/0.5446, allocations: 340.1 kB / 0.9568 GB, free: 3.719 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.099e-05/0.5447, allocations: 82.8 kB / 0.9569 GB, free: 3.621 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.227e-05/0.5447, allocations: 6.344 kB / 0.9569 GB, free: 3.617 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002337/0.5449, allocations: 38.17 kB / 0.957 GB, free: 3.602 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.924e-05/0.545, allocations: 15.8 kB / 0.957 GB, free: 3.59 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.109e-05/0.545, allocations: 7.719 kB / 0.957 GB, free: 3.586 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.078e-05/0.545, allocations: 91.45 kB / 0.9571 GB, free: 3.504 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.545, allocations: 4.812 kB / 0.9571 GB, free: 3.5 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002696/0.5453, allocations: 43.69 kB / 0.9571 GB, free: 3.484 MB / 0.7169 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.001074/0.5464, allocations: 0.8942 MB / 0.958 GB, free: 2.707 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0008613/0.5473, allocations: 220.5 kB / 0.9582 GB, free: 2.613 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.5473, allocations: 0 / 0.9582 GB, free: 2.613 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0004115/0.5477, allocations: 112.9 kB / 0.9583 GB, free: 2.566 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002159/0.5479, allocations: 13.81 kB / 0.9583 GB, free: 2.559 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003898/0.5518, allocations: 2.126 MB / 0.9604 GB, free: 0.9102 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.558e-05/0.5519, allocations: 0.6909 MB / 0.9611 GB, free: 208 kB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0001023/0.552, allocations: 21.45 kB / 0.9611 GB, free: 200 kB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.31e-05/0.5521, allocations: 27.06 kB / 0.9611 GB, free: 180 kB / 0.7169 GB Notification: Performance of SimCode: time 2.1e-07/0.5521, allocations: 0 / 0.9611 GB, free: 180 kB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01741/0.5695, allocations: 2.696 MB / 0.9637 GB, free: 14.76 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.561/7.131, allocations: 7.672 kB / 0.9638 GB, free: 14.76 MB / 0.7325 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