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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001283/0.001283, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001318/0.001318, allocations: 195.7 kB / 16.14 MB, free: 6.691 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.28/1.28, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.421/2.421, allocations: 437 MB / 0.71 GB, free: 5.379 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001253/0.001253, allocations: 67.89 kB / 0.8687 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.488/0.4893, allocations: 151.6 MB / 1.017 GB, free: 2.797 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.InverseXRegularized): time 0.002495/0.4918, allocations: 1.507 MB / 1.018 GB, free: 1.281 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001253/0.4931, allocations: 0.8148 MB / 1.019 GB, free: 468 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.27e-05/0.4931, allocations: 0 / 1.019 GB, free: 468 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.856e-05/0.4931, allocations: 3.938 kB / 1.019 GB, free: 464 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 4.848e-05/0.4932, allocations: 11.92 kB / 1.019 GB, free: 452 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003598/0.4936, allocations: 95.75 kB / 1.019 GB, free: 356 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 6.847e-05/0.4936, allocations: 31.92 kB / 1.019 GB, free: 324 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 9.02e-05/0.4937, allocations: 4 kB / 1.019 GB, free: 320 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 4.785e-05/0.4938, allocations: 11.98 kB / 1.019 GB, free: 308 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 6.538e-05/0.4939, allocations: 23.91 kB / 1.019 GB, free: 284 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.445e-05/0.4939, allocations: 0 / 1.019 GB, free: 284 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004588/0.4943, allocations: 319.3 kB / 1.019 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.895e-05/0.4944, allocations: 11.98 kB / 1.019 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 2.765e-05/0.4944, allocations: 7.922 kB / 1.019 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003097/0.4947, allocations: 193.9 kB / 1.02 GB, free: 15.76 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.4947, allocations: 0 / 1.02 GB, free: 15.76 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.313e-06/0.4947, allocations: 0 / 1.02 GB, free: 15.76 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.829e-06/0.4947, allocations: 4 kB / 1.02 GB, free: 15.75 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.0005386/0.4953, allocations: 375.4 kB / 1.02 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.938e-05/0.4953, allocations: 8.031 kB / 1.02 GB, free: 15.33 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.555e-05/0.4954, allocations: 34.75 kB / 1.02 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000472/0.4959, allocations: 68.84 kB / 1.02 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001297/0.496, allocations: 164.3 kB / 1.02 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.716e-05/0.496, allocations: 8.375 kB / 1.02 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.389e-05/0.4961, allocations: 384 / 1.02 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003289/0.4964, allocations: 89.75 kB / 1.02 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.12e-05/0.4964, allocations: 7.922 kB / 1.02 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.233e-05/0.4964, allocations: 0 / 1.02 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.242e-06/0.4964, allocations: 3.984 kB / 1.02 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004188/0.4969, allocations: 87.91 kB / 1.02 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005201/0.4974, allocations: 304.8 kB / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003768/0.4978, allocations: 98.48 kB / 1.021 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002011/0.498, allocations: 44.88 kB / 1.021 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.608e-05/0.498, allocations: 0 / 1.021 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.528e-05/0.498, allocations: 46.5 kB / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 9.22e-07/0.498, allocations: 0 / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0007047/0.4988, allocations: 157.5 kB / 1.021 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.767e-05/0.4988, allocations: 55.41 kB / 1.021 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.669e-05/0.4989, allocations: 101.8 kB / 1.021 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.454e-05/0.4989, allocations: 29.83 kB / 1.021 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.878e-05/0.499, allocations: 88.14 kB / 1.021 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.807e-05/0.499, allocations: 3.906 kB / 1.021 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.035e-05/0.499, allocations: 13.72 kB / 1.021 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001006/0.4991, allocations: 322.8 kB / 1.022 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002221/0.4994, allocations: 43.95 kB / 1.022 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001997/0.4996, allocations: 51.83 kB / 1.022 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003858/0.5, allocations: 88.83 kB / 1.022 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.664e-06/0.5, allocations: 0 / 1.022 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0004713/0.5004, allocations: 125.6 kB / 1.022 GB, free: 13.15 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.451e-05/0.5005, allocations: 8.031 kB / 1.022 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.5005, allocations: 0 / 1.022 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.134e-05/0.5005, allocations: 0 / 1.022 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001726/0.5007, allocations: 23.97 kB / 1.022 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.909e-06/0.5007, allocations: 0 / 1.022 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001211/0.5008, allocations: 15.98 kB / 1.022 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.849e-06/0.5008, allocations: 7.938 kB / 1.022 GB, free: 13.09 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 8.468e-05/0.5009, allocations: 114.3 kB / 1.022 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.835e-05/0.501, allocations: 3.938 kB / 1.022 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.419e-05/0.501, allocations: 11.12 kB / 1.022 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.501, allocations: 0 / 1.022 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.501, allocations: 0 / 1.022 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.501, allocations: 0 / 1.022 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00018/0.5012, allocations: 185.4 kB / 1.022 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.5012, allocations: 0 / 1.022 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001467/0.5014, allocations: 27.97 kB / 1.022 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.5014, allocations: 0 / 1.022 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.032e-05/0.5014, allocations: 256 / 1.022 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.5014, allocations: 4 kB / 1.022 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.5014, allocations: 0 / 1.022 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004915/0.5019, allocations: 219.4 kB / 1.023 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.284e-05/0.5019, allocations: 81.14 kB / 1.023 GB, free: 12.37 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.869e-05/0.502, allocations: 4 kB / 1.023 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001474/0.5021, allocations: 15.97 kB / 1.023 GB, free: 12.35 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.461e-05/0.5022, allocations: 4 kB / 1.023 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.955e-06/0.5022, allocations: 0 / 1.023 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.382e-05/0.5022, allocations: 91.2 kB / 1.023 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5022, allocations: 0 / 1.023 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002442/0.5025, allocations: 16 kB / 1.023 GB, free: 12.24 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.0007785/0.5033, allocations: 0.7514 MB / 1.024 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004447/0.5037, allocations: 99.92 kB / 1.024 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.5037, allocations: 0 / 1.024 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002247/0.504, allocations: 51.95 kB / 1.024 GB, free: 11.31 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003155/0.5043, allocations: 6.031 kB / 1.024 GB, free: 11.31 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006903/0.505, allocations: 204.8 kB / 1.024 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002293/0.5052, allocations: 0.677 MB / 1.025 GB, free: 10.37 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 9.227e-05/0.5053, allocations: 15.98 kB / 1.025 GB, free: 10.35 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.613e-05/0.5054, allocations: 11.44 kB / 1.025 GB, free: 10.34 MB / 0.7794 GB Notification: Performance of SimCode: time 3e-07/0.5054, allocations: 0 / 1.025 GB, free: 10.34 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08241/0.5878, allocations: 1.47 MB / 1.026 GB, free: 8.969 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002404/0.5881, allocations: 204.5 kB / 1.026 GB, free: 8.711 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.656/2.244, allocations: 0 / 1.026 GB, free: 8.711 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Utilities.Math.Examples.InverseXRegularized_res.mat --tempDir=temp_Buildings_10_Buildings_Utilities_Math_Examples_InverseXRegularized_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 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.mat","/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