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.001089/0.001089, 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.001215/0.001215, allocations: 193.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.286/1.286, allocations: 222.9 MB / 240.2 MB, free: 4.391 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.483/2.483, allocations: 437.1 MB / 0.7104 GB, free: 5.031 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001456/0.001457, allocations: 59.91 kB / 0.8693 GB, free: 4.547 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5894/0.5908, allocations: 151.6 MB / 1.017 GB, free: 2.457 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.InverseXRegularized): time 0.003141/0.594, allocations: 1.444 MB / 1.019 GB, free: 1.004 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001289/0.5953, allocations: 0.7952 MB / 1.02 GB, free: 204 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.731e-05/0.5954, allocations: 0 / 1.02 GB, free: 204 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.863e-05/0.5955, allocations: 3.938 kB / 1.02 GB, free: 200 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 4.985e-05/0.5955, allocations: 0 / 1.02 GB, free: 200 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005569/0.5961, allocations: 127.5 kB / 1.02 GB, free: 72 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 8.141e-05/0.5962, allocations: 31.91 kB / 1.02 GB, free: 40 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000105/0.5963, allocations: 11.98 kB / 1.02 GB, free: 28 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 5.756e-05/0.5963, allocations: 8 kB / 1.02 GB, free: 20 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 9.106e-05/0.5964, allocations: 27.95 kB / 1.02 GB, free: 15.99 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.659e-05/0.5965, allocations: 7.938 kB / 1.02 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005422/0.597, allocations: 319.3 kB / 1.02 GB, free: 15.67 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.934e-05/0.5971, allocations: 4 kB / 1.02 GB, free: 15.67 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.392e-05/0.5971, allocations: 15.92 kB / 1.02 GB, free: 15.65 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003612/0.5975, allocations: 193.9 kB / 1.02 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.5975, allocations: 0 / 1.02 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.244e-06/0.5975, allocations: 0 / 1.02 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.621e-06/0.5975, allocations: 0 / 1.02 GB, free: 15.46 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.0005533/0.598, allocations: 371.4 kB / 1.021 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.25e-05/0.5981, allocations: 16.03 kB / 1.021 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.05e-05/0.5981, allocations: 38.73 kB / 1.021 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004861/0.5986, allocations: 76.64 kB / 1.021 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001212/0.5988, allocations: 164.4 kB / 1.021 GB, free: 14.72 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.321e-05/0.5988, allocations: 384 / 1.021 GB, free: 14.72 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.53e-05/0.5988, allocations: 384 / 1.021 GB, free: 14.72 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003153/0.5991, allocations: 93.75 kB / 1.021 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.314e-06/0.5992, allocations: 0 / 1.021 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.289e-05/0.5992, allocations: 0 / 1.021 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.119e-06/0.5992, allocations: 0 / 1.021 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004222/0.5996, allocations: 87.91 kB / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005514/0.6002, allocations: 308.8 kB / 1.021 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003662/0.6006, allocations: 90.5 kB / 1.021 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002084/0.6008, allocations: 48.88 kB / 1.022 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.542e-05/0.6008, allocations: 3.984 kB / 1.022 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.711e-05/0.6008, allocations: 38.56 kB / 1.022 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 1.373e-06/0.6008, allocations: 0 / 1.022 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0007295/0.6016, allocations: 169.4 kB / 1.022 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.605e-05/0.6016, allocations: 51.41 kB / 1.022 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.35e-05/0.6017, allocations: 109.8 kB / 1.022 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.447e-05/0.6017, allocations: 25.83 kB / 1.022 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.411e-05/0.6018, allocations: 88.14 kB / 1.022 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.157e-05/0.6018, allocations: 7.906 kB / 1.022 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.018e-05/0.6018, allocations: 13.7 kB / 1.022 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.8e-05/0.6019, allocations: 322.8 kB / 1.022 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002154/0.6022, allocations: 43.95 kB / 1.022 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001981/0.6024, allocations: 39.95 kB / 1.022 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004058/0.6028, allocations: 92.83 kB / 1.023 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.6028, allocations: 0 / 1.023 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0004525/0.6033, allocations: 125.5 kB / 1.023 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.913e-05/0.6033, allocations: 12.03 kB / 1.023 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.6033, allocations: 0 / 1.023 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.816e-05/0.6033, allocations: 0 / 1.023 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001673/0.6035, allocations: 23.91 kB / 1.023 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.808e-06/0.6035, allocations: 0 / 1.023 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001176/0.6036, allocations: 23.91 kB / 1.023 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.336e-06/0.6037, allocations: 4 kB / 1.023 GB, free: 12.79 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.424e-05/0.6037, allocations: 113.8 kB / 1.023 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.806e-05/0.6038, allocations: 0 / 1.023 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.087e-05/0.6038, allocations: 7.125 kB / 1.023 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-06/0.6038, allocations: 0 / 1.023 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.688e-06/0.6038, allocations: 4 kB / 1.023 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.003e-06/0.6038, allocations: 0 / 1.023 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001657/0.604, allocations: 177.5 kB / 1.023 GB, free: 12.44 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.604, allocations: 0 / 1.023 GB, free: 12.44 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001358/0.6041, allocations: 23.97 kB / 1.023 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.6042, allocations: 0 / 1.023 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.135e-05/0.6042, allocations: 4 kB / 1.023 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.6042, allocations: 0 / 1.023 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.6042, allocations: 0 / 1.023 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004952/0.6047, allocations: 227.2 kB / 1.023 GB, free: 12.17 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.686e-05/0.6047, allocations: 77.11 kB / 1.023 GB, free: 12.08 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.605e-05/0.6048, allocations: 4.031 kB / 1.023 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001447/0.6049, allocations: 19.97 kB / 1.023 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.666e-05/0.6049, allocations: 0 / 1.023 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.821e-06/0.605, allocations: 0 / 1.023 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.022e-05/0.605, allocations: 91.52 kB / 1.023 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.11e-07/0.605, allocations: 4 kB / 1.023 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002363/0.6053, allocations: 8 kB / 1.023 GB, free: 11.95 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.0007945/0.6061, allocations: 0.767 MB / 1.024 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004718/0.6065, allocations: 95.92 kB / 1.024 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/0.6066, allocations: 8 kB / 1.024 GB, free: 11.06 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002186/0.6068, allocations: 48.02 kB / 1.024 GB, free: 11.01 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000298/0.6071, allocations: 13.95 kB / 1.024 GB, free: 11 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000714/0.6078, allocations: 192.4 kB / 1.025 GB, free: 10.77 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000216/0.608, allocations: 0.6768 MB / 1.025 GB, free: 10.07 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 7.612e-05/0.6081, allocations: 8 kB / 1.025 GB, free: 10.06 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.479e-05/0.6082, allocations: 19.38 kB / 1.025 GB, free: 10.04 MB / 0.7794 GB Notification: Performance of SimCode: time 3.31e-07/0.6082, allocations: 0 / 1.025 GB, free: 10.04 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02349/0.6317, allocations: 1.647 MB / 1.027 GB, free: 8.469 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.398/8.029, allocations: 12.66 kB / 1.027 GB, free: 8.457 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