Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_9_Buildings_Utilities_Math_Examples_InverseXRegularized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.InverseXRegularized,fileNamePrefix="Buildings_9_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.0008601/0.0008601, allocations: 89.89 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.005266/0.005266, allocations: 170.3 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.198/1.198, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.107/2.107, allocations: 390.9 MB / 0.6664 GB, free: 2.328 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0002915/0.0002915, allocations: 8 kB / 0.8161 GB, free: 13.16 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6023/0.6026, allocations: 142.4 MB / 0.9552 GB, free: 7.797 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.InverseXRegularized): time 0.001208/0.6039, allocations: 1.161 MB / 0.9563 GB, free: 6.875 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001167/0.6051, allocations: 0.7906 MB / 0.9571 GB, free: 6.258 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.977e-05/0.6051, allocations: 0 / 0.9571 GB, free: 6.258 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.966e-05/0.6051, allocations: 9.125 kB / 0.9571 GB, free: 6.25 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.015e-05/0.6052, allocations: 3.984 kB / 0.9571 GB, free: 6.246 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004277/0.6057, allocations: 102.6 kB / 0.9572 GB, free: 6.176 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8e-05/0.6057, allocations: 34.77 kB / 0.9572 GB, free: 6.156 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001014/0.6058, allocations: 6.828 kB / 0.9572 GB, free: 6.152 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.712e-05/0.6059, allocations: 9.344 kB / 0.9572 GB, free: 6.148 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.012e-05/0.606, allocations: 19.78 kB / 0.9572 GB, free: 6.137 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.318e-05/0.606, allocations: 1.5 kB / 0.9572 GB, free: 6.137 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004913/0.6065, allocations: 318 kB / 0.9576 GB, free: 5.949 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.63e-05/0.6065, allocations: 9.531 kB / 0.9576 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.761e-05/0.6066, allocations: 35.75 kB / 0.9576 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003269/0.6069, allocations: 195.4 kB / 0.9578 GB, free: 5.801 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.6069, allocations: 0 / 0.9578 GB, free: 5.801 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.863e-06/0.6069, allocations: 0 / 0.9578 GB, free: 5.801 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.829e-06/0.6069, allocations: 0 / 0.9578 GB, free: 5.801 MB / 0.7169 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.0005987/0.6075, allocations: 374.2 kB / 0.9581 GB, free: 5.41 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 6.205e-05/0.6076, allocations: 13.03 kB / 0.9581 GB, free: 5.406 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.717e-05/0.6077, allocations: 36.69 kB / 0.9582 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004677/0.6081, allocations: 74.55 kB / 0.9583 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001021/0.6082, allocations: 173.7 kB / 0.9584 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.031e-05/0.6083, allocations: 1.812 kB / 0.9584 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.13e-05/0.6083, allocations: 1.719 kB / 0.9584 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003104/0.6086, allocations: 100.2 kB / 0.9585 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.338e-06/0.6086, allocations: 1.375 kB / 0.9585 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.05e-05/0.6086, allocations: 0 / 0.9585 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/0.6087, allocations: 4 kB / 0.9585 GB, free: 5.062 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004194/0.6091, allocations: 108.8 kB / 0.9586 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004776/0.6096, allocations: 312.5 kB / 0.9589 GB, free: 4.707 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003664/0.6099, allocations: 112.4 kB / 0.959 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002238/0.6102, allocations: 65.88 kB / 0.9591 GB, free: 4.617 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.592e-05/0.6102, allocations: 0 / 0.9591 GB, free: 4.617 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.478e-05/0.6102, allocations: 35.94 kB / 0.9591 GB, free: 4.574 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 7.81e-07/0.6102, allocations: 0 / 0.9591 GB, free: 4.574 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0007355/0.611, allocations: 206.6 kB / 0.9593 GB, free: 4.477 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.066e-05/0.611, allocations: 51.41 kB / 0.9594 GB, free: 4.414 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.631e-05/0.6111, allocations: 104 kB / 0.9595 GB, free: 4.309 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.111e-05/0.6111, allocations: 25.7 kB / 0.9595 GB, free: 4.277 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.185e-05/0.6111, allocations: 85.86 kB / 0.9596 GB, free: 4.191 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.871e-05/0.6112, allocations: 4.969 kB / 0.9596 GB, free: 4.188 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.43e-05/0.6112, allocations: 11.06 kB / 0.9596 GB, free: 4.172 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.007e-05/0.6113, allocations: 322.8 kB / 0.9599 GB, free: 3.848 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002135/0.6115, allocations: 56.77 kB / 0.96 GB, free: 3.828 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001994/0.6117, allocations: 60.61 kB / 0.96 GB, free: 3.805 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003932/0.6121, allocations: 114.8 kB / 0.9601 GB, free: 3.758 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.6121, allocations: 1.062 kB / 0.9601 GB, free: 3.758 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000443/0.6125, allocations: 153.5 kB / 0.9603 GB, free: 3.676 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.548e-05/0.6126, allocations: 6.906 kB / 0.9603 GB, free: 3.676 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.6126, allocations: 1 kB / 0.9603 GB, free: 3.676 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.292e-05/0.6126, allocations: 0 / 0.9603 GB, free: 3.676 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001636/0.6128, allocations: 34.59 kB / 0.9603 GB, free: 3.66 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.318e-06/0.6128, allocations: 1 kB / 0.9603 GB, free: 3.66 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001157/0.6129, allocations: 19.55 kB / 0.9603 GB, free: 3.656 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.016e-06/0.6129, allocations: 4.953 kB / 0.9603 GB, free: 3.652 MB / 0.7169 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 5.352e-05/0.613, allocations: 115.9 kB / 0.9605 GB, free: 3.531 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.446e-05/0.613, allocations: 1.062 kB / 0.9605 GB, free: 3.531 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.742e-05/0.613, allocations: 8.094 kB / 0.9605 GB, free: 3.523 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.613, allocations: 1.406 kB / 0.9605 GB, free: 3.523 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.057e-06/0.613, allocations: 0 / 0.9605 GB, free: 3.523 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.155e-06/0.613, allocations: 4.906 kB / 0.9605 GB, free: 3.52 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001248/0.6132, allocations: 177.7 kB / 0.9606 GB, free: 3.305 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.6132, allocations: 0 / 0.9606 GB, free: 3.305 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001325/0.6133, allocations: 35.22 kB / 0.9607 GB, free: 3.289 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.524e-06/0.6133, allocations: 0 / 0.9607 GB, free: 3.289 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.027e-06/0.6133, allocations: 5.312 kB / 0.9607 GB, free: 3.285 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.6133, allocations: 0 / 0.9607 GB, free: 3.285 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.6133, allocations: 5.359 kB / 0.9607 GB, free: 3.281 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004498/0.6138, allocations: 248.6 kB / 0.9609 GB, free: 3.098 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.666e-05/0.6138, allocations: 82.05 kB / 0.961 GB, free: 3 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.546e-05/0.6139, allocations: 1.031 kB / 0.961 GB, free: 3 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001423/0.614, allocations: 27.09 kB / 0.961 GB, free: 2.988 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.222e-05/0.614, allocations: 2.188 kB / 0.961 GB, free: 2.988 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.65e-06/0.614, allocations: 1.062 kB / 0.961 GB, free: 2.988 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.966e-05/0.6141, allocations: 82.67 kB / 0.9611 GB, free: 2.91 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6141, allocations: 1.125 kB / 0.9611 GB, free: 2.91 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002253/0.6143, allocations: 18.47 kB / 0.9611 GB, free: 2.902 MB / 0.7169 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.0006592/0.615, allocations: 0.7816 MB / 0.9619 GB, free: 2.191 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004629/0.6154, allocations: 116.6 kB / 0.962 GB, free: 2.152 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.6154, allocations: 0 / 0.962 GB, free: 2.152 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.000215/0.6157, allocations: 64.05 kB / 0.9621 GB, free: 2.129 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002642/0.6159, allocations: 6.75 kB / 0.9621 GB, free: 2.125 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006334/0.6166, allocations: 214.3 kB / 0.9623 GB, free: 1.934 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.211e-05/0.6167, allocations: 0.6775 MB / 0.9629 GB, free: 1.234 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 6.989e-05/0.6168, allocations: 12.11 kB / 0.9629 GB, free: 1.227 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.295e-05/0.6168, allocations: 20.45 kB / 0.963 GB, free: 1.207 MB / 0.7169 GB Notification: Performance of SimCode: time 2.21e-07/0.6168, allocations: 0.9688 kB / 0.963 GB, free: 1.207 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009771/0.6266, allocations: 1.402 MB / 0.9643 GB, free: 0.5391 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000133/0.6267, allocations: 210.1 kB / 0.9645 GB, free: 284 kB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.557/2.183, allocations: 0 / 0.9645 GB, free: 284 kB / 0.7169 GB (rm -f Buildings_9_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Examples.InverseXRegularized.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Math.Examples.InverseXRegularized_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Math_Examples_InverseXRegularized_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Math_Examples_InverseXRegularized.fmu > Buildings_9_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Examples.InverseXRegularized_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Examples_InverseXRegularized.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Examples.InverseXRegularized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches