Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Utilities_Math_Examples_InverseXRegularized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.InverseXRegularized,fileNamePrefix="Buildings_11_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.006952/0.006952, allocations: 100.9 kB / 15.73 MB, free: 6.062 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.001989/0.001989, allocations: 195.3 kB / 16.67 MB, free: 5.973 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.437/1.437, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.687/2.687, allocations: 469.8 MB / 0.7425 GB, free: 3.336 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001905/0.001905, allocations: 71.88 kB / 1.065 GB, free: 14.07 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.633/0.635, allocations: 159.1 MB / 1.22 GB, free: 2.008 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.InverseXRegularized): time 0.002577/0.6376, allocations: 1.44 MB / 1.222 GB, free: 0.5625 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001277/0.6389, allocations: 0.7905 MB / 1.222 GB, free: 15.77 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.926e-05/0.6389, allocations: 0 / 1.222 GB, free: 15.77 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 2.135e-05/0.639, allocations: 0 / 1.222 GB, free: 15.77 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 3.884e-05/0.639, allocations: 7.938 kB / 1.222 GB, free: 15.76 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004351/0.6394, allocations: 127.5 kB / 1.222 GB, free: 15.63 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 6.924e-05/0.6395, allocations: 31.92 kB / 1.223 GB, free: 15.6 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 7.981e-05/0.6396, allocations: 7.969 kB / 1.223 GB, free: 15.59 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 3.859e-05/0.6397, allocations: 16 kB / 1.223 GB, free: 15.58 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 5.836e-05/0.6397, allocations: 23.91 kB / 1.223 GB, free: 15.55 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.24e-05/0.6397, allocations: 0 / 1.223 GB, free: 15.55 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005035/0.6402, allocations: 315.4 kB / 1.223 GB, free: 15.25 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 1.594e-05/0.6403, allocations: 7.984 kB / 1.223 GB, free: 15.24 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 2.673e-05/0.6403, allocations: 15.92 kB / 1.223 GB, free: 15.22 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0003273/0.6406, allocations: 199.2 kB / 1.223 GB, free: 15.03 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.6406, allocations: 0 / 1.223 GB, free: 15.03 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.273e-06/0.6407, allocations: 0 / 1.223 GB, free: 15.03 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 3.787e-06/0.6407, allocations: 0 / 1.223 GB, free: 15.03 MB / 0.9512 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.0005592/0.6412, allocations: 379 kB / 1.223 GB, free: 14.61 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.902e-05/0.6413, allocations: 12.03 kB / 1.223 GB, free: 14.6 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.482e-05/0.6413, allocations: 38.62 kB / 1.223 GB, free: 14.55 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004773/0.6418, allocations: 72.81 kB / 1.224 GB, free: 14.48 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001339/0.6419, allocations: 176.2 kB / 1.224 GB, free: 14.27 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.917e-05/0.642, allocations: 384 / 1.224 GB, free: 14.27 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.162e-05/0.642, allocations: 4.375 kB / 1.224 GB, free: 14.27 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003224/0.6423, allocations: 93.73 kB / 1.224 GB, free: 14.17 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.802e-06/0.6423, allocations: 0 / 1.224 GB, free: 14.17 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.548e-06/0.6423, allocations: 0 / 1.224 GB, free: 14.17 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.797e-06/0.6423, allocations: 0 / 1.224 GB, free: 14.17 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004408/0.6428, allocations: 87.91 kB / 1.224 GB, free: 14.09 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005292/0.6433, allocations: 300.8 kB / 1.224 GB, free: 13.74 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004024/0.6437, allocations: 98.44 kB / 1.224 GB, free: 13.64 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002266/0.644, allocations: 48.88 kB / 1.224 GB, free: 13.59 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.153e-05/0.644, allocations: 0 / 1.224 GB, free: 13.59 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.08e-05/0.644, allocations: 34.56 kB / 1.224 GB, free: 13.54 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=2): time 9.32e-07/0.644, allocations: 0 / 1.224 GB, free: 13.54 MB / 0.9512 GB Notification: Performance of matching and sorting (n=2): time 0.0007742/0.6448, allocations: 165.5 kB / 1.225 GB, free: 13.38 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.186e-05/0.6449, allocations: 55.34 kB / 1.225 GB, free: 13.31 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.598e-05/0.645, allocations: 110 kB / 1.225 GB, free: 13.19 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.669e-05/0.645, allocations: 25.7 kB / 1.225 GB, free: 13.16 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 6.186e-05/0.6451, allocations: 84.14 kB / 1.225 GB, free: 13.07 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 1.905e-05/0.6451, allocations: 7.953 kB / 1.225 GB, free: 13.07 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.133e-05/0.6451, allocations: 13.7 kB / 1.225 GB, free: 13.05 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001477/0.6453, allocations: 322.8 kB / 1.225 GB, free: 12.72 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002289/0.6455, allocations: 43.95 kB / 1.225 GB, free: 12.68 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000217/0.6457, allocations: 43.95 kB / 1.225 GB, free: 12.64 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004229/0.6462, allocations: 88.83 kB / 1.225 GB, free: 12.55 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.6462, allocations: 4 kB / 1.225 GB, free: 12.54 MB / 0.9512 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0004814/0.6467, allocations: 125.5 kB / 1.225 GB, free: 12.41 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.187e-05/0.6467, allocations: 8 kB / 1.225 GB, free: 12.41 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.767e-06/0.6467, allocations: 0 / 1.225 GB, free: 12.41 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.072e-05/0.6467, allocations: 0 / 1.225 GB, free: 12.41 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001722/0.6469, allocations: 19.97 kB / 1.225 GB, free: 12.39 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.071e-06/0.6469, allocations: 7.938 kB / 1.225 GB, free: 12.38 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001249/0.647, allocations: 20 kB / 1.225 GB, free: 12.36 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.695e-06/0.6471, allocations: 0 / 1.225 GB, free: 12.36 MB / 0.9512 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.11e-05/0.6471, allocations: 116.8 kB / 1.226 GB, free: 12.24 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.839e-05/0.6472, allocations: 3.953 kB / 1.226 GB, free: 12.23 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.631e-05/0.6472, allocations: 7.125 kB / 1.226 GB, free: 12.23 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.283e-06/0.6472, allocations: 4 kB / 1.226 GB, free: 12.22 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.875e-06/0.6472, allocations: 0 / 1.226 GB, free: 12.22 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.704e-06/0.6472, allocations: 0 / 1.226 GB, free: 12.22 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001966/0.6474, allocations: 181.5 kB / 1.226 GB, free: 12 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.6474, allocations: 0 / 1.226 GB, free: 12 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001471/0.6476, allocations: 19.97 kB / 1.226 GB, free: 11.98 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.724e-06/0.6476, allocations: 256 / 1.226 GB, free: 11.98 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.138e-05/0.6476, allocations: 4 kB / 1.226 GB, free: 11.97 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.015e-06/0.6476, allocations: 4 kB / 1.226 GB, free: 11.97 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.72e-07/0.6476, allocations: 0 / 1.226 GB, free: 11.97 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000535/0.6482, allocations: 231.3 kB / 1.226 GB, free: 11.73 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 5.265e-05/0.6482, allocations: 77.11 kB / 1.226 GB, free: 11.63 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.425e-05/0.6483, allocations: 0 / 1.226 GB, free: 11.63 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001549/0.6484, allocations: 19.97 kB / 1.226 GB, free: 11.61 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.215e-05/0.6485, allocations: 0 / 1.226 GB, free: 11.61 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.048e-05/0.6485, allocations: 7.984 kB / 1.226 GB, free: 11.61 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 4.713e-05/0.6485, allocations: 83.28 kB / 1.226 GB, free: 11.52 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6485, allocations: 4.031 kB / 1.226 GB, free: 11.52 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002361/0.6488, allocations: 11.94 kB / 1.226 GB, free: 11.51 MB / 0.9512 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.0008966/0.6497, allocations: 0.7674 MB / 1.227 GB, free: 10.71 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0004854/0.6502, allocations: 95.94 kB / 1.227 GB, free: 10.62 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.6502, allocations: 0 / 1.227 GB, free: 10.62 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0002277/0.6504, allocations: 48.02 kB / 1.227 GB, free: 10.57 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002566/0.6507, allocations: 6.016 kB / 1.227 GB, free: 10.57 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006783/0.6514, allocations: 194.9 kB / 1.227 GB, free: 10.34 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003033/0.6517, allocations: 0.6768 MB / 1.228 GB, free: 9.633 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 7.143e-05/0.6518, allocations: 15.94 kB / 1.228 GB, free: 9.617 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.356e-05/0.6518, allocations: 11.44 kB / 1.228 GB, free: 9.605 MB / 0.9512 GB Notification: Performance of SimCode: time 2.044e-06/0.6518, allocations: 0 / 1.228 GB, free: 9.605 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02115/0.673, allocations: 1.693 MB / 1.23 GB, free: 8.004 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.347/8.02, allocations: 16.06 kB / 1.23 GB, free: 7.992 MB / 0.9512 GB (rm -f Buildings_11_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.InverseXRegularized.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Utilities.Math.Examples.InverseXRegularized_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_11_Buildings_Utilities_Math_Examples_InverseXRegularized.fmu > Buildings_11_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.InverseXRegularized_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_InverseXRegularized.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Examples.InverseXRegularized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches