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.001347/0.001347, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001298/0.001298, allocations: 192.4 kB / 16.25 MB, free: 6.637 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.346/1.346, allocations: 222.9 MB / 239.9 MB, free: 4.531 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.517/2.517, allocations: 437 MB / 0.7101 GB, free: 5.312 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001457/0.001457, allocations: 63.91 kB / 0.8689 GB, free: 4.945 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6689/0.6704, allocations: 151.6 MB / 1.017 GB, free: 2.688 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.InverseXRegularized): time 0.002139/0.6726, allocations: 1.511 MB / 1.018 GB, free: 1.168 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0009458/0.6735, allocations: 0.7875 MB / 1.019 GB, free: 380 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.539e-05/0.6736, allocations: 3.938 kB / 1.019 GB, free: 376 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.445e-05/0.6736, allocations: 0 / 1.019 GB, free: 376 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 3.928e-05/0.6736, allocations: 4 kB / 1.019 GB, free: 372 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003485/0.674, allocations: 103.7 kB / 1.019 GB, free: 268 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 5.407e-05/0.6741, allocations: 35.91 kB / 1.019 GB, free: 232 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 6.889e-05/0.6741, allocations: 4 kB / 1.019 GB, free: 228 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 3.586e-05/0.6742, allocations: 19.98 kB / 1.019 GB, free: 208 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 4.435e-05/0.6742, allocations: 19.91 kB / 1.019 GB, free: 188 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.221e-05/0.6742, allocations: 4 kB / 1.019 GB, free: 184 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003701/0.6746, allocations: 319.4 kB / 1.02 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.236e-05/0.6746, allocations: 7.984 kB / 1.02 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 2.018e-05/0.6747, allocations: 11.92 kB / 1.02 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.000244/0.6749, allocations: 197.9 kB / 1.02 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.845e-06/0.6749, allocations: 0 / 1.02 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.202e-06/0.6749, allocations: 0 / 1.02 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.917e-06/0.6749, allocations: 0 / 1.02 GB, free: 15.66 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.0004146/0.6754, allocations: 375.4 kB / 1.02 GB, free: 15.24 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.196e-05/0.6754, allocations: 8.031 kB / 1.02 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.316e-05/0.6754, allocations: 42.62 kB / 1.02 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004267/0.6759, allocations: 72.75 kB / 1.02 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.552e-05/0.676, allocations: 164.4 kB / 1.02 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.805e-05/0.676, allocations: 384 / 1.02 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.598e-06/0.676, allocations: 384 / 1.02 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002705/0.6763, allocations: 89.75 kB / 1.021 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.36e-06/0.6763, allocations: 0 / 1.021 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.308e-06/0.6763, allocations: 0 / 1.021 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.082e-06/0.6763, allocations: 7.984 kB / 1.021 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003719/0.6767, allocations: 87.89 kB / 1.021 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004358/0.6771, allocations: 304.8 kB / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003324/0.6775, allocations: 94.5 kB / 1.021 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000189/0.6777, allocations: 48.86 kB / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.07e-05/0.6777, allocations: 4 kB / 1.021 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.941e-05/0.6777, allocations: 42.5 kB / 1.021 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.6777, allocations: 0 / 1.021 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0006348/0.6784, allocations: 165.4 kB / 1.021 GB, free: 14 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.681e-05/0.6784, allocations: 55.39 kB / 1.021 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.737e-05/0.6785, allocations: 106 kB / 1.021 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.479e-05/0.6785, allocations: 25.7 kB / 1.021 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.461e-05/0.6785, allocations: 84.14 kB / 1.022 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.695e-05/0.6785, allocations: 7.891 kB / 1.022 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.529e-05/0.6786, allocations: 13.72 kB / 1.022 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.024e-05/0.6787, allocations: 318.8 kB / 1.022 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001965/0.6789, allocations: 47.95 kB / 1.022 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001788/0.6791, allocations: 43.94 kB / 1.022 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003419/0.6794, allocations: 88.83 kB / 1.022 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.6794, allocations: 4 kB / 1.022 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003954/0.6798, allocations: 125.5 kB / 1.022 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.056e-05/0.6798, allocations: 4 kB / 1.022 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.506e-06/0.6798, allocations: 0 / 1.022 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.107e-05/0.6799, allocations: 4 kB / 1.022 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001462/0.68, allocations: 19.97 kB / 1.022 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.178e-06/0.68, allocations: 3.938 kB / 1.022 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001077/0.6801, allocations: 24.25 kB / 1.022 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.404e-06/0.6801, allocations: 0 / 1.022 GB, free: 12.99 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 6.243e-05/0.6802, allocations: 110.3 kB / 1.022 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.767e-05/0.6802, allocations: 8 kB / 1.022 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.822e-05/0.6803, allocations: 11.11 kB / 1.022 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.182e-06/0.6803, allocations: 0 / 1.022 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.6803, allocations: 0 / 1.022 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.793e-06/0.6803, allocations: 0 / 1.022 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001462/0.6804, allocations: 177.5 kB / 1.023 GB, free: 12.63 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.6804, allocations: 0 / 1.023 GB, free: 12.63 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000131/0.6806, allocations: 23.97 kB / 1.023 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.492e-06/0.6806, allocations: 0 / 1.023 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.656e-06/0.6806, allocations: 0 / 1.023 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/0.6806, allocations: 3.984 kB / 1.023 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.6806, allocations: 0 / 1.023 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004347/0.6811, allocations: 227.2 kB / 1.023 GB, free: 12.37 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 2.855e-05/0.6811, allocations: 85.09 kB / 1.023 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.468e-05/0.6811, allocations: 0 / 1.023 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001354/0.6813, allocations: 11.98 kB / 1.023 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.267e-05/0.6813, allocations: 7.984 kB / 1.023 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.62e-06/0.6813, allocations: 0 / 1.023 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.528e-05/0.6813, allocations: 83.28 kB / 1.023 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.51e-07/0.6814, allocations: 7.969 kB / 1.023 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002206/0.6816, allocations: 16 kB / 1.023 GB, free: 12.14 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.0006797/0.6823, allocations: 0.7553 MB / 1.024 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004094/0.6827, allocations: 95.94 kB / 1.024 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.542e-06/0.6827, allocations: 0 / 1.024 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001993/0.6829, allocations: 52 kB / 1.024 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002501/0.6832, allocations: 4 kB / 1.024 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006217/0.6838, allocations: 199.1 kB / 1.024 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001754/0.684, allocations: 0.6768 MB / 1.025 GB, free: 10.27 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 8.244e-05/0.6841, allocations: 19.92 kB / 1.025 GB, free: 10.25 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.524e-05/0.6841, allocations: 19.42 kB / 1.025 GB, free: 10.23 MB / 0.7794 GB Notification: Performance of SimCode: time 3.21e-07/0.6841, allocations: 0 / 1.025 GB, free: 10.23 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9791/1.663, allocations: 1.526 MB / 1.026 GB, free: 8.824 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002674/1.663, allocations: 200 kB / 1.026 GB, free: 8.574 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.788/3.451, allocations: 0 / 1.026 GB, free: 8.574 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