Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Math.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.Examples.InverseXRegularized,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_Examples_InverseXRegularized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.InverseXRegularized,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_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.001028/0.001028, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001188/0.001188, allocations: 192.8 kB / 16.25 MB, free: 6.621 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.223/1.223, allocations: 222.9 MB / 239.9 MB, free: 4.523 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.104/2.104, allocations: 390.2 MB / 0.6644 GB, free: 0.5898 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001297/0.001297, allocations: 71.88 kB / 0.8122 GB, free: 14.68 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5357/0.537, allocations: 140.4 MB / 0.9492 GB, free: 9.207 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.InverseXRegularized): time 0.002104/0.5391, allocations: 1.506 MB / 0.9507 GB, free: 8.023 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0008995/0.54, allocations: 0.7811 MB / 0.9515 GB, free: 7.402 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.715e-05/0.5401, allocations: 1.125 kB / 0.9515 GB, free: 7.402 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.818e-05/0.5401, allocations: 7.938 kB / 0.9515 GB, free: 7.395 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.298e-05/0.5401, allocations: 9.016 kB / 0.9515 GB, free: 7.387 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003668/0.5405, allocations: 105.1 kB / 0.9516 GB, free: 7.32 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.923e-05/0.5406, allocations: 31.33 kB / 0.9516 GB, free: 7.305 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.012e-05/0.5407, allocations: 7.031 kB / 0.9516 GB, free: 7.301 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.173e-05/0.5407, allocations: 14.08 kB / 0.9516 GB, free: 7.293 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.712e-05/0.5408, allocations: 22.75 kB / 0.9517 GB, free: 7.277 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.32e-05/0.5408, allocations: 2.812 kB / 0.9517 GB, free: 7.277 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003462/0.5411, allocations: 313.6 kB / 0.952 GB, free: 7.098 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.242e-05/0.5412, allocations: 9.297 kB / 0.952 GB, free: 7.09 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.245e-05/0.5412, allocations: 14.42 kB / 0.952 GB, free: 7.078 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002444/0.5414, allocations: 198.3 kB / 0.9522 GB, free: 6.973 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.825e-06/0.5414, allocations: 0 / 0.9522 GB, free: 6.973 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.092e-06/0.5415, allocations: 1.156 kB / 0.9522 GB, free: 6.973 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.739e-06/0.5415, allocations: 4 kB / 0.9522 GB, free: 6.969 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004015/0.5419, allocations: 373.3 kB / 0.9525 GB, free: 6.578 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.673e-05/0.5419, allocations: 9.812 kB / 0.9525 GB, free: 6.578 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.489e-05/0.5419, allocations: 32.25 kB / 0.9526 GB, free: 6.539 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004221/0.5424, allocations: 74.59 kB / 0.9526 GB, free: 6.504 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.418e-05/0.5424, allocations: 165.9 kB / 0.9528 GB, free: 6.305 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.284e-05/0.5425, allocations: 1.906 kB / 0.9528 GB, free: 6.305 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.357e-05/0.5425, allocations: 2.062 kB / 0.9528 GB, free: 6.305 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002755/0.5428, allocations: 89.41 kB / 0.9529 GB, free: 6.238 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.645e-06/0.5428, allocations: 3.938 kB / 0.9529 GB, free: 6.234 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.229e-05/0.5428, allocations: 3.984 kB / 0.9529 GB, free: 6.23 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.137e-06/0.5428, allocations: 1.531 kB / 0.9529 GB, free: 6.23 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003612/0.5432, allocations: 86.84 kB / 0.953 GB, free: 6.195 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004315/0.5436, allocations: 300.9 kB / 0.9533 GB, free: 5.879 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003295/0.544, allocations: 96.8 kB / 0.9534 GB, free: 5.82 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001811/0.5442, allocations: 50.12 kB / 0.9534 GB, free: 5.793 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.538e-05/0.5442, allocations: 1.062 kB / 0.9534 GB, free: 5.793 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.521e-05/0.5442, allocations: 36.03 kB / 0.9534 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.5442, allocations: 0 / 0.9534 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.00065/0.5449, allocations: 172.6 kB / 0.9536 GB, free: 5.652 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.389e-05/0.5449, allocations: 52.81 kB / 0.9537 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.745e-05/0.5449, allocations: 103.3 kB / 0.9538 GB, free: 5.484 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.184e-05/0.545, allocations: 27.05 kB / 0.9538 GB, free: 5.453 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.636e-05/0.545, allocations: 84.14 kB / 0.9539 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.797e-05/0.545, allocations: 9.391 kB / 0.9539 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.479e-05/0.5451, allocations: 12.41 kB / 0.9539 GB, free: 5.344 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.264e-05/0.5451, allocations: 328 kB / 0.9542 GB, free: 5.016 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000185/0.5453, allocations: 45.92 kB / 0.9542 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001729/0.5455, allocations: 46.42 kB / 0.9543 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003312/0.5458, allocations: 89.27 kB / 0.9544 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.5458, allocations: 0 / 0.9544 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000375/0.5462, allocations: 128 kB / 0.9545 GB, free: 4.855 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.484e-05/0.5462, allocations: 4.844 kB / 0.9545 GB, free: 4.855 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.5462, allocations: 1.438 kB / 0.9545 GB, free: 4.855 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.262e-05/0.5463, allocations: 0 / 0.9545 GB, free: 4.855 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000153/0.5464, allocations: 21.38 kB / 0.9545 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.56e-06/0.5464, allocations: 4.031 kB / 0.9545 GB, free: 4.844 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001059/0.5465, allocations: 15.27 kB / 0.9545 GB, free: 4.84 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.456e-06/0.5466, allocations: 1.75 kB / 0.9545 GB, free: 4.84 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 (2): * Single equations (assignments): 2 * 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 5.245e-05/0.5466, allocations: 115 kB / 0.9546 GB, free: 4.719 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.581e-05/0.5466, allocations: 5.391 kB / 0.9546 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.053e-05/0.5467, allocations: 8.312 kB / 0.9547 GB, free: 4.707 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.353e-06/0.5467, allocations: 3.938 kB / 0.9547 GB, free: 4.703 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.63e-06/0.5467, allocations: 9.469 kB / 0.9547 GB, free: 4.695 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.5467, allocations: 0 / 0.9547 GB, free: 4.695 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001228/0.5468, allocations: 176.7 kB / 0.9548 GB, free: 4.48 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.5468, allocations: 1.469 kB / 0.9548 GB, free: 4.48 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001276/0.547, allocations: 21.41 kB / 0.9549 GB, free: 4.473 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.547, allocations: 0 / 0.9549 GB, free: 4.473 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.111e-05/0.547, allocations: 1.25 kB / 0.9549 GB, free: 4.473 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.547, allocations: 0 / 0.9549 GB, free: 4.473 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.547, allocations: 4 kB / 0.9549 GB, free: 4.469 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004112/0.5474, allocations: 227.4 kB / 0.9551 GB, free: 4.285 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.645e-05/0.5474, allocations: 78.3 kB / 0.9552 GB, free: 4.191 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.729e-05/0.5475, allocations: 1.25 kB / 0.9552 GB, free: 4.191 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001334/0.5476, allocations: 18.47 kB / 0.9552 GB, free: 4.184 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.995e-05/0.5477, allocations: 1.469 kB / 0.9552 GB, free: 4.184 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.432e-06/0.5477, allocations: 5.156 kB / 0.9552 GB, free: 4.18 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.317e-05/0.5477, allocations: 87.17 kB / 0.9553 GB, free: 4.098 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.01e-07/0.5477, allocations: 0 / 0.9553 GB, free: 4.098 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002254/0.5479, allocations: 11.41 kB / 0.9553 GB, free: 4.098 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (2): * Single equations (assignments): 2 * 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.0006107/0.5485, allocations: 0.7579 MB / 0.956 GB, free: 3.391 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003978/0.5489, allocations: 101.7 kB / 0.9561 GB, free: 3.344 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.549, allocations: 0 / 0.9561 GB, free: 3.344 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.000189/0.5492, allocations: 43.67 kB / 0.9562 GB, free: 3.328 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000281/0.5494, allocations: 7.406 kB / 0.9562 GB, free: 3.324 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006204/0.5501, allocations: 207.8 kB / 0.9564 GB, free: 3.129 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001088/0.5502, allocations: 0.6812 MB / 0.957 GB, free: 2.426 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 8.199e-05/0.5503, allocations: 15.5 kB / 0.957 GB, free: 2.414 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.186e-05/0.5503, allocations: 9.938 kB / 0.957 GB, free: 2.406 MB / 0.7169 GB Notification: Performance of SimCode: time 2.3e-07/0.5503, allocations: 0 / 0.957 GB, free: 2.406 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01692/0.5673, allocations: 1.518 MB / 0.9585 GB, free: 1.629 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001416/0.5674, allocations: 203.3 kB / 0.9587 GB, free: 1.375 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.595/2.162, allocations: 3.875 kB / 0.9587 GB, free: 1.375 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Examples.InverseXRegularized.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Math.Examples.InverseXRegularized_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Math_Examples_InverseXRegularized_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Math_Examples_InverseXRegularized.fmu > Buildings_9_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Examples.InverseXRegularized_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Examples_InverseXRegularized.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Examples.InverseXRegularized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches