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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.InverseXRegularized,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Examples_InverseXRegularized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.InverseXRegularized,fileNamePrefix="Buildings_latest_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.008523/0.008523, allocations: 101.5 kB / 15.73 MB, free: 6.031 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.002091/0.002092, allocations: 188.6 kB / 16.67 MB, free: 5.969 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.429/1.429, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.855/2.855, allocations: 461.9 MB / 0.7348 GB, free: 14.57 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001475/0.001475, allocations: 68.11 kB / 1.054 GB, free: 7.602 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3391/0.3406, allocations: 157.4 MB / 1.207 GB, free: 10.11 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.InverseXRegularized): time 0.002609/0.3432, allocations: 1.449 MB / 1.209 GB, free: 8.648 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001271/0.3445, allocations: 0.787 MB / 1.209 GB, free: 7.855 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.305e-05/0.3446, allocations: 0 / 1.209 GB, free: 7.855 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.432e-05/0.3446, allocations: 7.938 kB / 1.209 GB, free: 7.848 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 4.983e-05/0.3447, allocations: 11.92 kB / 1.209 GB, free: 7.836 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004746/0.3452, allocations: 126.1 kB / 1.21 GB, free: 7.715 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 6.843e-05/0.3452, allocations: 31.92 kB / 1.21 GB, free: 7.684 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 8.391e-05/0.3453, allocations: 8 kB / 1.21 GB, free: 7.676 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 4.323e-05/0.3454, allocations: 11.98 kB / 1.21 GB, free: 7.664 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 6.132e-05/0.3455, allocations: 27.91 kB / 1.21 GB, free: 7.637 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.366e-05/0.3455, allocations: 4 kB / 1.21 GB, free: 7.633 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004585/0.3459, allocations: 311.4 kB / 1.21 GB, free: 7.328 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.435e-05/0.346, allocations: 7.984 kB / 1.21 GB, free: 7.32 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.927e-05/0.346, allocations: 11.94 kB / 1.21 GB, free: 7.309 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0003313/0.3463, allocations: 203.6 kB / 1.21 GB, free: 7.113 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.3464, allocations: 0 / 1.21 GB, free: 7.113 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.132e-06/0.3464, allocations: 0 / 1.21 GB, free: 7.113 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.559e-06/0.3464, allocations: 7.938 kB / 1.21 GB, free: 7.105 MB / 0.9669 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.000506/0.3469, allocations: 375.4 kB / 1.211 GB, free: 6.691 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.937e-05/0.3469, allocations: 8.625 kB / 1.211 GB, free: 6.684 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.268e-05/0.347, allocations: 34.75 kB / 1.211 GB, free: 6.641 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004802/0.3475, allocations: 68.84 kB / 1.211 GB, free: 6.574 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001122/0.3476, allocations: 168.2 kB / 1.211 GB, free: 6.371 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.349e-05/0.3476, allocations: 384 / 1.211 GB, free: 6.371 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.507e-05/0.3476, allocations: 4.375 kB / 1.211 GB, free: 6.367 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002939/0.3479, allocations: 89.75 kB / 1.211 GB, free: 6.273 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.494e-06/0.348, allocations: 0 / 1.211 GB, free: 6.273 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.034e-05/0.348, allocations: 0 / 1.211 GB, free: 6.273 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.677e-06/0.348, allocations: 0 / 1.211 GB, free: 6.273 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004322/0.3484, allocations: 95.83 kB / 1.211 GB, free: 6.18 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005178/0.3489, allocations: 300.8 kB / 1.211 GB, free: 5.836 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003794/0.3493, allocations: 94.48 kB / 1.211 GB, free: 5.734 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00021/0.3496, allocations: 48.88 kB / 1.211 GB, free: 5.684 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.734e-05/0.3496, allocations: 4 kB / 1.211 GB, free: 5.68 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.481e-05/0.3496, allocations: 34.56 kB / 1.211 GB, free: 5.637 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 3.356e-06/0.3496, allocations: 7.922 kB / 1.211 GB, free: 5.629 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.0007205/0.3504, allocations: 161.5 kB / 1.212 GB, free: 5.465 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.71e-05/0.3504, allocations: 59.53 kB / 1.212 GB, free: 5.395 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.731e-05/0.3505, allocations: 97.86 kB / 1.212 GB, free: 5.289 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.717e-05/0.3505, allocations: 25.7 kB / 1.212 GB, free: 5.258 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 4.985e-05/0.3506, allocations: 92.12 kB / 1.212 GB, free: 5.164 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.992e-05/0.3506, allocations: 3.906 kB / 1.212 GB, free: 5.16 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.132e-05/0.3506, allocations: 13.72 kB / 1.212 GB, free: 5.141 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 9.742e-05/0.3507, allocations: 318.8 kB / 1.212 GB, free: 4.82 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002134/0.3509, allocations: 47.94 kB / 1.212 GB, free: 4.773 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001948/0.3512, allocations: 43.95 kB / 1.212 GB, free: 4.73 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003811/0.3515, allocations: 96.77 kB / 1.212 GB, free: 4.633 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.3516, allocations: 0 / 1.212 GB, free: 4.633 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0004485/0.352, allocations: 125.5 kB / 1.212 GB, free: 4.504 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.52e-05/0.352, allocations: 7.984 kB / 1.213 GB, free: 4.496 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.531e-06/0.352, allocations: 0 / 1.213 GB, free: 4.496 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.233e-05/0.3521, allocations: 3.938 kB / 1.213 GB, free: 4.492 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000168/0.3522, allocations: 24.22 kB / 1.213 GB, free: 4.469 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.12e-06/0.3522, allocations: 0 / 1.213 GB, free: 4.469 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000142/0.3524, allocations: 20.02 kB / 1.213 GB, free: 4.449 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.067e-05/0.3524, allocations: 4 kB / 1.213 GB, free: 4.445 MB / 0.9669 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.397e-05/0.3525, allocations: 109.8 kB / 1.213 GB, free: 4.328 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.245e-05/0.3525, allocations: 3.984 kB / 1.213 GB, free: 4.324 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.896e-05/0.3526, allocations: 11.12 kB / 1.213 GB, free: 4.316 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.3526, allocations: 3.938 kB / 1.213 GB, free: 4.312 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.3526, allocations: 0 / 1.213 GB, free: 4.312 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.3526, allocations: 4 kB / 1.213 GB, free: 4.309 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001808/0.3528, allocations: 177.5 kB / 1.213 GB, free: 4.086 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.3528, allocations: 0 / 1.213 GB, free: 4.086 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001491/0.3529, allocations: 19.97 kB / 1.213 GB, free: 4.066 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.353, allocations: 4 kB / 1.213 GB, free: 4.062 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.217e-06/0.353, allocations: 0 / 1.213 GB, free: 4.062 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.353, allocations: 0 / 1.213 GB, free: 4.062 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.353, allocations: 0 / 1.213 GB, free: 4.062 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004909/0.3535, allocations: 223.4 kB / 1.213 GB, free: 3.828 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 3.561e-05/0.3535, allocations: 81.02 kB / 1.213 GB, free: 3.73 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.654e-05/0.3535, allocations: 0 / 1.213 GB, free: 3.73 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001523/0.3537, allocations: 19.97 kB / 1.213 GB, free: 3.711 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.279e-05/0.3537, allocations: 0 / 1.213 GB, free: 3.711 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.322e-06/0.3538, allocations: 4 kB / 1.213 GB, free: 3.707 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 3.836e-05/0.3538, allocations: 87.31 kB / 1.213 GB, free: 3.621 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.71e-07/0.3538, allocations: 0 / 1.213 GB, free: 3.621 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002608/0.3541, allocations: 19.98 kB / 1.213 GB, free: 3.602 MB / 0.9669 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.0007938/0.3549, allocations: 0.7553 MB / 1.214 GB, free: 2.816 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0004469/0.3553, allocations: 99.92 kB / 1.214 GB, free: 2.719 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.3554, allocations: 0 / 1.214 GB, free: 2.719 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0002101/0.3556, allocations: 51.95 kB / 1.214 GB, free: 2.668 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003106/0.3559, allocations: 5.547 kB / 1.214 GB, free: 2.664 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007252/0.3566, allocations: 203.1 kB / 1.214 GB, free: 2.422 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002197/0.3569, allocations: 0.6806 MB / 1.215 GB, free: 1.715 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 6.644e-05/0.3569, allocations: 8 kB / 1.215 GB, free: 1.707 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.695e-05/0.357, allocations: 15.42 kB / 1.215 GB, free: 1.691 MB / 0.9669 GB Notification: Performance of SimCode: time 2.81e-07/0.357, allocations: 0 / 1.215 GB, free: 1.691 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01801/0.375, allocations: 1.705 MB / 1.217 GB, free: 84 kB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.536/7.911, allocations: 10.45 kB / 1.217 GB, free: 76 kB / 0.9669 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Math.Examples.InverseXRegularized_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Math_Examples_InverseXRegularized_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Math_Examples_InverseXRegularized.fmu > 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Examples.InverseXRegularized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches