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.0007607/0.0007608, allocations: 91.22 kB / 15.36 MB, free: 0.7383 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.00549/0.00549, allocations: 170.9 kB / 16.26 MB, free: 6.613 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.302/1.302, allocations: 223.3 MB / 240.3 MB, free: 5.309 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.495/2.495, allocations: 437.8 MB / 0.7121 GB, free: 6.965 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003555/0.0003555, allocations: 12 kB / 0.8729 GB, free: 3.18 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6073/0.6077, allocations: 153.8 MB / 1.023 GB, free: 15.81 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.InverseXRegularized): time 0.001722/0.6094, allocations: 1.161 MB / 1.024 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001347/0.6108, allocations: 0.8033 MB / 1.025 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.824e-05/0.6109, allocations: 4 kB / 1.025 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.702e-05/0.6109, allocations: 3.984 kB / 1.025 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 5.219e-05/0.611, allocations: 0 / 1.025 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004503/0.6114, allocations: 95.69 kB / 1.025 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 6.999e-05/0.6115, allocations: 31.92 kB / 1.025 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 7.572e-05/0.6116, allocations: 4 kB / 1.025 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 4.356e-05/0.6116, allocations: 15.92 kB / 1.025 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 6.155e-05/0.6117, allocations: 15.98 kB / 1.025 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.176e-05/0.6117, allocations: 0 / 1.025 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004551/0.6122, allocations: 315.3 kB / 1.026 GB, free: 13.35 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.935e-05/0.6122, allocations: 15.92 kB / 1.026 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.803e-05/0.6123, allocations: 29.7 kB / 1.026 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003088/0.6126, allocations: 197.9 kB / 1.026 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.6126, allocations: 0 / 1.026 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.433e-06/0.6126, allocations: 0 / 1.026 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.697e-06/0.6126, allocations: 4 kB / 1.026 GB, free: 13.11 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.0004951/0.6131, allocations: 371.4 kB / 1.026 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.99e-05/0.6131, allocations: 12.03 kB / 1.026 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.446e-05/0.6132, allocations: 42.69 kB / 1.026 GB, free: 12.63 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004973/0.6137, allocations: 80.75 kB / 1.026 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001186/0.6138, allocations: 164.4 kB / 1.026 GB, free: 12.35 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.354e-05/0.6139, allocations: 384 / 1.026 GB, free: 12.35 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.636e-05/0.6139, allocations: 4.312 kB / 1.026 GB, free: 12.35 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003317/0.6142, allocations: 105.7 kB / 1.026 GB, free: 12.24 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.023e-06/0.6142, allocations: 0 / 1.026 GB, free: 12.24 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.261e-05/0.6142, allocations: 3.984 kB / 1.026 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.419e-06/0.6143, allocations: 0 / 1.026 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004719/0.6147, allocations: 115.9 kB / 1.027 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005349/0.6153, allocations: 304.8 kB / 1.027 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004122/0.6157, allocations: 118.5 kB / 1.027 GB, free: 11.65 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002314/0.6159, allocations: 64.88 kB / 1.027 GB, free: 11.58 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.444e-05/0.616, allocations: 0 / 1.027 GB, free: 11.58 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.374e-05/0.616, allocations: 34.56 kB / 1.027 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 1.002e-06/0.616, allocations: 0 / 1.027 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0007857/0.6168, allocations: 205.6 kB / 1.027 GB, free: 11.33 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.604e-05/0.6168, allocations: 55.41 kB / 1.027 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.859e-05/0.6169, allocations: 105.8 kB / 1.027 GB, free: 11.15 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.473e-05/0.617, allocations: 25.7 kB / 1.027 GB, free: 11.12 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.133e-05/0.617, allocations: 88.05 kB / 1.028 GB, free: 11.03 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.814e-05/0.617, allocations: 3.984 kB / 1.028 GB, free: 11.03 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.555e-05/0.6171, allocations: 9.719 kB / 1.028 GB, free: 11.01 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001105/0.6172, allocations: 322.8 kB / 1.028 GB, free: 10.69 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002255/0.6174, allocations: 55.98 kB / 1.028 GB, free: 10.63 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002231/0.6176, allocations: 59.94 kB / 1.028 GB, free: 10.57 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004351/0.6181, allocations: 112.8 kB / 1.028 GB, free: 10.46 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.6181, allocations: 4 kB / 1.028 GB, free: 10.46 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0004915/0.6186, allocations: 153.5 kB / 1.028 GB, free: 10.3 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.332e-05/0.6186, allocations: 4 kB / 1.028 GB, free: 10.3 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.63e-06/0.6186, allocations: 0 / 1.028 GB, free: 10.3 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.203e-05/0.6186, allocations: 7.922 kB / 1.028 GB, free: 10.29 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001758/0.6188, allocations: 28.02 kB / 1.028 GB, free: 10.26 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.709e-06/0.6188, allocations: 0 / 1.028 GB, free: 10.26 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001256/0.619, allocations: 23.97 kB / 1.028 GB, free: 10.24 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.534e-06/0.619, allocations: 0 / 1.028 GB, free: 10.24 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.779e-05/0.6191, allocations: 118.3 kB / 1.028 GB, free: 10.11 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.711e-05/0.6191, allocations: 0 / 1.028 GB, free: 10.11 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.969e-05/0.6191, allocations: 11.11 kB / 1.028 GB, free: 10.1 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/0.6191, allocations: 4 kB / 1.028 GB, free: 10.1 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.407e-06/0.6191, allocations: 0 / 1.028 GB, free: 10.1 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.134e-06/0.6192, allocations: 0 / 1.028 GB, free: 10.1 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001767/0.6193, allocations: 177.5 kB / 1.029 GB, free: 9.875 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.6193, allocations: 0 / 1.029 GB, free: 9.875 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001517/0.6195, allocations: 31.97 kB / 1.029 GB, free: 9.844 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.6195, allocations: 0 / 1.029 GB, free: 9.844 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.03e-05/0.6195, allocations: 7.922 kB / 1.029 GB, free: 9.836 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.367e-06/0.6195, allocations: 0 / 1.029 GB, free: 9.836 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.6195, allocations: 3.938 kB / 1.029 GB, free: 9.832 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005383/0.6201, allocations: 247.3 kB / 1.029 GB, free: 9.574 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.586e-05/0.6201, allocations: 81.09 kB / 1.029 GB, free: 9.477 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.426e-05/0.6201, allocations: 0 / 1.029 GB, free: 9.477 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001549/0.6203, allocations: 24.02 kB / 1.029 GB, free: 9.453 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.67e-05/0.6204, allocations: 3.984 kB / 1.029 GB, free: 9.449 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.625e-06/0.6204, allocations: 4 kB / 1.029 GB, free: 9.445 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.748e-05/0.6204, allocations: 83.53 kB / 1.029 GB, free: 9.363 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.41e-07/0.6204, allocations: 0 / 1.029 GB, free: 9.363 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002413/0.6207, allocations: 8 kB / 1.029 GB, free: 9.355 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.0008322/0.6215, allocations: 0.7865 MB / 1.03 GB, free: 8.543 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004959/0.622, allocations: 119.9 kB / 1.03 GB, free: 8.426 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.622, allocations: 4 kB / 1.03 GB, free: 8.422 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002416/0.6223, allocations: 60 kB / 1.03 GB, free: 8.363 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002656/0.6225, allocations: 5.547 kB / 1.03 GB, free: 8.359 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000699/0.6232, allocations: 214.2 kB / 1.03 GB, free: 8.109 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002291/0.6235, allocations: 0.6808 MB / 1.031 GB, free: 7.402 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 7.636e-05/0.6236, allocations: 8 kB / 1.031 GB, free: 7.395 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.858e-05/0.6236, allocations: 15.44 kB / 1.031 GB, free: 7.379 MB / 0.7794 GB Notification: Performance of SimCode: time 3.71e-07/0.6236, allocations: 4 kB / 1.031 GB, free: 7.375 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02193/0.6456, allocations: 1.411 MB / 1.032 GB, free: 6.086 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001843/0.6458, allocations: 209 kB / 1.033 GB, free: 5.824 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.701/2.347, allocations: 0 / 1.033 GB, free: 5.824 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