Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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: translateModel(Buildings.Utilities.Math.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|inverseXRegularized.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.InverseXRegularized") translateModel(Buildings.Utilities.Math.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|inverseXRegularized.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.InverseXRegularized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001293/0.001293, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.001125/0.001125, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.474/1.474, allocations: 223.3 MB / 240 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.866/2.866, allocations: 462.6 MB / 0.736 GB, free: 15.72 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0005119/0.0005121, allocations: 8.531 kB / 0.9021 GB, free: 36.59 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4225/0.423, allocations: 159.6 MB / 1.058 GB, free: 5.309 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.InverseXRegularized): time 0.002402/0.4255, allocations: 1.152 MB / 1.059 GB, free: 4.145 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001645/0.4272, allocations: 0.7483 MB / 1.06 GB, free: 3.391 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.118e-05/0.4272, allocations: 0 / 1.06 GB, free: 3.391 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.104e-05/0.4273, allocations: 0 / 1.06 GB, free: 3.391 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 8.695e-05/0.4274, allocations: 3.938 kB / 1.06 GB, free: 3.387 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.000747/0.4281, allocations: 99.75 kB / 1.06 GB, free: 3.289 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001031/0.4282, allocations: 31.91 kB / 1.06 GB, free: 3.258 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001163/0.4284, allocations: 0 / 1.06 GB, free: 3.258 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 7.35e-05/0.4285, allocations: 15.92 kB / 1.06 GB, free: 3.242 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 8.536e-05/0.4285, allocations: 11.98 kB / 1.06 GB, free: 3.23 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.618e-05/0.4286, allocations: 4 kB / 1.06 GB, free: 3.227 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000624/0.4292, allocations: 307.3 kB / 1.06 GB, free: 2.926 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.826e-05/0.4292, allocations: 7.984 kB / 1.06 GB, free: 2.918 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.541e-05/0.4293, allocations: 25.7 kB / 1.06 GB, free: 2.887 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0003546/0.4297, allocations: 143.8 kB / 1.06 GB, free: 2.746 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 7.935e-06/0.4297, allocations: 0 / 1.06 GB, free: 2.746 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.873e-06/0.4297, allocations: 0 / 1.06 GB, free: 2.746 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.841e-06/0.4297, allocations: 0 / 1.06 GB, free: 2.746 MB / 0.8106 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.0006454/0.4303, allocations: 375.5 kB / 1.061 GB, free: 2.332 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.617e-05/0.4304, allocations: 8.031 kB / 1.061 GB, free: 2.324 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004756/0.4309, allocations: 87.81 kB / 1.061 GB, free: 2.238 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001519/0.431, allocations: 167.1 kB / 1.061 GB, free: 2.035 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.474e-05/0.4311, allocations: 4 kB / 1.061 GB, free: 2.031 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.959e-05/0.4311, allocations: 7.953 kB / 1.061 GB, free: 2.023 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00031/0.4314, allocations: 97.55 kB / 1.061 GB, free: 1.922 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.768e-06/0.4314, allocations: 0 / 1.061 GB, free: 1.922 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.426e-05/0.4315, allocations: 0 / 1.061 GB, free: 1.922 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.241e-06/0.4315, allocations: 4 kB / 1.061 GB, free: 1.918 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003854/0.4319, allocations: 115.9 kB / 1.061 GB, free: 1.805 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005783/0.4325, allocations: 308.8 kB / 1.062 GB, free: 1.453 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003654/0.4328, allocations: 114.4 kB / 1.062 GB, free: 1.332 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002068/0.433, allocations: 60.88 kB / 1.062 GB, free: 1.27 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.163e-05/0.4331, allocations: 0 / 1.062 GB, free: 1.27 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.968e-05/0.4331, allocations: 38.56 kB / 1.062 GB, free: 1.223 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 1.283e-06/0.4331, allocations: 0 / 1.062 GB, free: 1.223 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0007621/0.4339, allocations: 205.6 kB / 1.062 GB, free: 1.016 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.715e-05/0.434, allocations: 51.41 kB / 1.062 GB, free: 0.9531 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.678e-05/0.4341, allocations: 105.9 kB / 1.062 GB, free: 0.8398 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.111e-05/0.4341, allocations: 29.7 kB / 1.062 GB, free: 0.8047 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.942e-05/0.4342, allocations: 87.98 kB / 1.062 GB, free: 0.7148 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.27e-05/0.4342, allocations: 4 kB / 1.062 GB, free: 0.7109 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.673e-06/0.4342, allocations: 0 / 1.062 GB, free: 0.7109 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001556/0.4344, allocations: 314.8 kB / 1.063 GB, free: 404 kB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001969/0.4346, allocations: 63.94 kB / 1.063 GB, free: 340 kB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001797/0.4348, allocations: 59.95 kB / 1.063 GB, free: 280 kB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000191/0.435, allocations: 56.02 kB / 1.063 GB, free: 224 kB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.435, allocations: 0 / 1.063 GB, free: 224 kB / 0.8106 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0004251/0.4354, allocations: 145.5 kB / 1.063 GB, free: 72 kB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.527e-05/0.4355, allocations: 7.984 kB / 1.063 GB, free: 64 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.4355, allocations: 3.938 kB / 1.063 GB, free: 60 kB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.316e-05/0.4355, allocations: 0 / 1.063 GB, free: 60 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001633/0.4357, allocations: 28.02 kB / 1.063 GB, free: 32 kB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.131e-05/0.4357, allocations: 3.984 kB / 1.063 GB, free: 28 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001086/0.4358, allocations: 19.98 kB / 1.063 GB, free: 8 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.286e-06/0.4358, allocations: 0 / 1.063 GB, free: 8 kB / 0.8106 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001145/0.4359, allocations: 121.7 kB / 1.063 GB, free: 15.88 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.831e-05/0.436, allocations: 4 kB / 1.063 GB, free: 15.88 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.403e-05/0.436, allocations: 7.109 kB / 1.063 GB, free: 15.87 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.138e-06/0.436, allocations: 4 kB / 1.063 GB, free: 15.87 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.436, allocations: 0 / 1.063 GB, free: 15.87 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.436, allocations: 0 / 1.063 GB, free: 15.87 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002033/0.4362, allocations: 173.6 kB / 1.063 GB, free: 15.65 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.4362, allocations: 0 / 1.063 GB, free: 15.65 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001326/0.4364, allocations: 27.98 kB / 1.063 GB, free: 15.62 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.059e-06/0.4364, allocations: 0 / 1.063 GB, free: 15.62 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.217e-05/0.4364, allocations: 3.984 kB / 1.063 GB, free: 15.62 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.4364, allocations: 0 / 1.063 GB, free: 15.62 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.4364, allocations: 256 / 1.063 GB, free: 15.62 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004939/0.4369, allocations: 247.4 kB / 1.064 GB, free: 15.36 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.723e-05/0.437, allocations: 81.02 kB / 1.064 GB, free: 15.26 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.88e-05/0.437, allocations: 4 kB / 1.064 GB, free: 15.26 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000143/0.4372, allocations: 24.02 kB / 1.064 GB, free: 15.23 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.898e-05/0.4372, allocations: 7.922 kB / 1.064 GB, free: 15.23 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.785e-06/0.4372, allocations: 4 kB / 1.064 GB, free: 15.22 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.282e-05/0.4373, allocations: 83.28 kB / 1.064 GB, free: 15.14 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.8e-07/0.4373, allocations: 0 / 1.064 GB, free: 15.14 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002621/0.4375, allocations: 11.98 kB / 1.064 GB, free: 15.13 MB / 0.8262 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002162/0.4378, allocations: 115.2 kB / 1.064 GB, free: 15 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004573/0.4382, allocations: 123.9 kB / 1.064 GB, free: 14.88 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 4.568e-06/0.4383, allocations: 0 / 1.064 GB, free: 14.88 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002043/0.4385, allocations: 56.02 kB / 1.064 GB, free: 14.83 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003278/0.4388, allocations: 14.12 kB / 1.064 GB, free: 14.82 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005945/0.4394, allocations: 184.5 kB / 1.064 GB, free: 14.61 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002622/0.4397, allocations: 0.677 MB / 1.065 GB, free: 13.91 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 8.323e-05/0.4398, allocations: 8 kB / 1.065 GB, free: 13.9 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.642e-05/0.4398, allocations: 7.438 kB / 1.065 GB, free: 13.89 MB / 0.8262 GB Notification: Performance of SimCode: time 3.31e-07/0.4398, allocations: 4 kB / 1.065 GB, free: 13.89 MB / 0.8262 GB Notification: Performance of Templates: time 0.003288/0.4431, allocations: 0.7094 MB / 1.066 GB, free: 13.18 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.InverseXRegularized.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.InverseXRegularized.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.InverseXRegularized -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.InverseXRegularized_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_InverseXRegularized.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Examples.InverseXRegularized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches