Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.Examples.InverseXRegularized,fileNamePrefix="Buildings_10_Buildings_Utilities_Math_Examples_InverseXRegularized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.InverseXRegularized,fileNamePrefix="Buildings_10_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.001586/0.001586, allocations: 108 kB / 15.6 MB, free: 132 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.001788/0.001788, allocations: 194.7 kB / 16.53 MB, free: 6.391 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.315/1.315, allocations: 222.9 MB / 240.2 MB, free: 4.406 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.487/2.487, allocations: 437.1 MB / 0.7104 GB, free: 5.09 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001275/0.001275, allocations: 63.91 kB / 0.8693 GB, free: 4.574 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5576/0.5589, allocations: 151.6 MB / 1.017 GB, free: 2.473 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.InverseXRegularized): time 0.002328/0.5612, allocations: 1.435 MB / 1.019 GB, free: 1.027 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001052/0.5623, allocations: 0.7952 MB / 1.02 GB, free: 228 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.833e-05/0.5623, allocations: 0 / 1.02 GB, free: 228 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.438e-05/0.5624, allocations: 7.938 kB / 1.02 GB, free: 220 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 4.332e-05/0.5624, allocations: 3.938 kB / 1.02 GB, free: 216 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003803/0.5628, allocations: 115.5 kB / 1.02 GB, free: 100 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 6.056e-05/0.5629, allocations: 35.91 kB / 1.02 GB, free: 64 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 8.644e-05/0.563, allocations: 15.98 kB / 1.02 GB, free: 48 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 3.949e-05/0.563, allocations: 11.98 kB / 1.02 GB, free: 36 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 4.987e-05/0.5631, allocations: 19.91 kB / 1.02 GB, free: 16 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.376e-05/0.5631, allocations: 4 kB / 1.02 GB, free: 12 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004337/0.5635, allocations: 319.4 kB / 1.02 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.599e-05/0.5635, allocations: 7.984 kB / 1.02 GB, free: 15.69 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 2.412e-05/0.5636, allocations: 11.88 kB / 1.02 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002832/0.5639, allocations: 201.8 kB / 1.02 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.5639, allocations: 0 / 1.02 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.072e-06/0.5639, allocations: 0 / 1.02 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.438e-06/0.5639, allocations: 0 / 1.02 GB, free: 15.48 MB / 0.7794 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.000473/0.5644, allocations: 379.4 kB / 1.021 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.904e-05/0.5644, allocations: 8.031 kB / 1.021 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.359e-05/0.5645, allocations: 38.75 kB / 1.021 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004383/0.5649, allocations: 68.75 kB / 1.021 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001078/0.565, allocations: 164.4 kB / 1.021 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.901e-05/0.565, allocations: 4.312 kB / 1.021 GB, free: 14.74 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.719e-06/0.565, allocations: 384 / 1.021 GB, free: 14.74 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003002/0.5654, allocations: 89.75 kB / 1.021 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.412e-06/0.5654, allocations: 0 / 1.021 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.088e-05/0.5654, allocations: 0 / 1.021 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.5654, allocations: 4 kB / 1.021 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004105/0.5658, allocations: 95.83 kB / 1.021 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004665/0.5663, allocations: 308.8 kB / 1.021 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003709/0.5667, allocations: 90.5 kB / 1.022 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002011/0.5669, allocations: 44.88 kB / 1.022 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.047e-05/0.5669, allocations: 8 kB / 1.022 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.891e-05/0.5669, allocations: 38.55 kB / 1.022 GB, free: 14 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/0.5669, allocations: 0 / 1.022 GB, free: 14 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0007091/0.5676, allocations: 165.4 kB / 1.022 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.861e-05/0.5677, allocations: 55.53 kB / 1.022 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.23e-05/0.5678, allocations: 105.8 kB / 1.022 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.366e-05/0.5678, allocations: 25.7 kB / 1.022 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.266e-05/0.5678, allocations: 84.14 kB / 1.022 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.751e-05/0.5678, allocations: 3.906 kB / 1.022 GB, free: 13.53 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.806e-05/0.5679, allocations: 17.7 kB / 1.022 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.953e-05/0.568, allocations: 318.8 kB / 1.022 GB, free: 13.19 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002229/0.5682, allocations: 47.95 kB / 1.022 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001918/0.5684, allocations: 39.95 kB / 1.022 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003771/0.5688, allocations: 96.77 kB / 1.023 GB, free: 13 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.5688, allocations: 0 / 1.023 GB, free: 13 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000443/0.5693, allocations: 125.6 kB / 1.023 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.353e-05/0.5693, allocations: 6.031 kB / 1.023 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.5693, allocations: 0 / 1.023 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.176e-05/0.5693, allocations: 4 kB / 1.023 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001525/0.5695, allocations: 19.97 kB / 1.023 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.057e-06/0.5695, allocations: 0 / 1.023 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001132/0.5696, allocations: 24 kB / 1.023 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.237e-06/0.5696, allocations: 0 / 1.023 GB, free: 12.82 MB / 0.7794 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 7.268e-05/0.5697, allocations: 118.8 kB / 1.023 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.784e-05/0.5697, allocations: 4 kB / 1.023 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.621e-05/0.5698, allocations: 7.125 kB / 1.023 GB, free: 12.69 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.512e-06/0.5698, allocations: 0 / 1.023 GB, free: 12.69 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.5698, allocations: 0 / 1.023 GB, free: 12.69 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.5698, allocations: 7.984 kB / 1.023 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001626/0.57, allocations: 173.5 kB / 1.023 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.57, allocations: 0 / 1.023 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001348/0.5701, allocations: 27.91 kB / 1.023 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.5701, allocations: 0 / 1.023 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.516e-06/0.5701, allocations: 0 / 1.023 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.5701, allocations: 0 / 1.023 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.5701, allocations: 256 / 1.023 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004774/0.5706, allocations: 227.3 kB / 1.023 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.268e-05/0.5707, allocations: 81.11 kB / 1.023 GB, free: 12.1 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.06e-05/0.5707, allocations: 7.984 kB / 1.023 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001383/0.5708, allocations: 15.97 kB / 1.023 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.495e-05/0.5709, allocations: 7.984 kB / 1.023 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.209e-06/0.5709, allocations: 0 / 1.023 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.378e-05/0.5709, allocations: 87.31 kB / 1.023 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1e-07/0.5709, allocations: 0 / 1.023 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002287/0.5712, allocations: 12 kB / 1.023 GB, free: 11.97 MB / 0.7794 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.0007749/0.5719, allocations: 0.7592 MB / 1.024 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004601/0.5724, allocations: 95.94 kB / 1.024 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.616e-06/0.5724, allocations: 4 kB / 1.024 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002244/0.5727, allocations: 55.94 kB / 1.024 GB, free: 11.03 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002635/0.5729, allocations: 4 kB / 1.024 GB, free: 11.03 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006733/0.5736, allocations: 191.2 kB / 1.024 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002286/0.5739, allocations: 0.6768 MB / 1.025 GB, free: 10.1 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 7.474e-05/0.5739, allocations: 15.98 kB / 1.025 GB, free: 10.08 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.135e-05/0.574, allocations: 7.438 kB / 1.025 GB, free: 10.07 MB / 0.7794 GB Notification: Performance of SimCode: time 1.443e-06/0.574, allocations: 4 kB / 1.025 GB, free: 10.07 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01702/0.591, allocations: 1.657 MB / 1.027 GB, free: 8.488 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.239/7.83, allocations: 3.953 kB / 1.027 GB, free: 8.484 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Examples.InverseXRegularized.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Utilities.Math.Examples.InverseXRegularized_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_10_Buildings_Utilities_Math_Examples_InverseXRegularized.fmu > Buildings_10_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Examples.InverseXRegularized_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Examples_InverseXRegularized.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Examples.InverseXRegularized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches