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.001762/0.001762, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002141/0.002141, allocations: 192.5 kB / 16.25 MB, free: 6.633 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.592/1.592, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.976/2.976, allocations: 461.9 MB / 0.7343 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001649/0.00165, allocations: 61.86 kB / 0.8987 GB, free: 37.15 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2937/0.2953, allocations: 157.4 MB / 1.052 GB, free: 8.703 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.InverseXRegularized): time 0.00269/0.2981, allocations: 1.51 MB / 1.054 GB, free: 7.176 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001185/0.2993, allocations: 0.8061 MB / 1.055 GB, free: 6.363 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.059e-05/0.2993, allocations: 3.938 kB / 1.055 GB, free: 6.359 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.302e-05/0.2994, allocations: 0 / 1.055 GB, free: 6.359 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 4.813e-05/0.2994, allocations: 4 kB / 1.055 GB, free: 6.355 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004485/0.2999, allocations: 103.7 kB / 1.055 GB, free: 6.254 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 7.235e-05/0.3, allocations: 35.92 kB / 1.055 GB, free: 6.219 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 8.753e-05/0.3001, allocations: 4 kB / 1.055 GB, free: 6.215 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 4.765e-05/0.3001, allocations: 15.92 kB / 1.055 GB, free: 6.199 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 5.72e-05/0.3002, allocations: 23.95 kB / 1.055 GB, free: 6.176 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.449e-05/0.3002, allocations: 4 kB / 1.055 GB, free: 6.172 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004242/0.3006, allocations: 311.4 kB / 1.055 GB, free: 5.867 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.888e-05/0.3007, allocations: 7.922 kB / 1.055 GB, free: 5.859 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.962e-05/0.3007, allocations: 23.97 kB / 1.055 GB, free: 5.836 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002928/0.301, allocations: 187.9 kB / 1.055 GB, free: 5.652 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.301, allocations: 0 / 1.055 GB, free: 5.652 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.122e-06/0.301, allocations: 0 / 1.055 GB, free: 5.652 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.498e-06/0.301, allocations: 0 / 1.055 GB, free: 5.652 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.0005423/0.3016, allocations: 379.3 kB / 1.056 GB, free: 5.234 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.34e-05/0.3016, allocations: 8.625 kB / 1.056 GB, free: 5.227 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.198e-05/0.3017, allocations: 34.69 kB / 1.056 GB, free: 5.184 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005081/0.3022, allocations: 68.84 kB / 1.056 GB, free: 5.117 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001073/0.3023, allocations: 168.4 kB / 1.056 GB, free: 4.914 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.333e-05/0.3023, allocations: 384 / 1.056 GB, free: 4.914 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.234e-05/0.3024, allocations: 4.375 kB / 1.056 GB, free: 4.91 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003045/0.3027, allocations: 85.75 kB / 1.056 GB, free: 4.82 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.514e-06/0.3027, allocations: 0 / 1.056 GB, free: 4.82 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.17e-05/0.3027, allocations: 4 kB / 1.056 GB, free: 4.816 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.007e-06/0.3027, allocations: 0 / 1.056 GB, free: 4.816 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004163/0.3031, allocations: 91.91 kB / 1.056 GB, free: 4.727 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005062/0.3037, allocations: 312.6 kB / 1.056 GB, free: 4.371 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003698/0.304, allocations: 94.5 kB / 1.057 GB, free: 4.27 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002107/0.3043, allocations: 52.88 kB / 1.057 GB, free: 4.215 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.635e-05/0.3043, allocations: 0 / 1.057 GB, free: 4.215 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.165e-05/0.3043, allocations: 30.56 kB / 1.057 GB, free: 4.176 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 1.212e-06/0.3043, allocations: 4 kB / 1.057 GB, free: 4.172 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0007312/0.305, allocations: 169.6 kB / 1.057 GB, free: 4 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.405e-05/0.3051, allocations: 55.41 kB / 1.057 GB, free: 3.934 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.409e-05/0.3052, allocations: 101.8 kB / 1.057 GB, free: 3.824 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.551e-05/0.3052, allocations: 25.7 kB / 1.057 GB, free: 3.793 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.513e-05/0.3052, allocations: 84.14 kB / 1.057 GB, free: 3.707 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.878e-05/0.3053, allocations: 3.906 kB / 1.057 GB, free: 3.703 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.35e-05/0.3053, allocations: 21.75 kB / 1.057 GB, free: 3.676 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.148e-05/0.3054, allocations: 318.8 kB / 1.057 GB, free: 3.355 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002086/0.3056, allocations: 43.89 kB / 1.057 GB, free: 3.312 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002099/0.3058, allocations: 51.95 kB / 1.057 GB, free: 3.262 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003852/0.3062, allocations: 88.83 kB / 1.058 GB, free: 3.172 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.3062, allocations: 0 / 1.058 GB, free: 3.172 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0004485/0.3067, allocations: 125.5 kB / 1.058 GB, free: 3.043 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.396e-05/0.3067, allocations: 4 kB / 1.058 GB, free: 3.039 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.3067, allocations: 0 / 1.058 GB, free: 3.039 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.033e-05/0.3067, allocations: 3.938 kB / 1.058 GB, free: 3.035 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001669/0.3069, allocations: 28 kB / 1.058 GB, free: 3.008 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.959e-06/0.3069, allocations: 0 / 1.058 GB, free: 3.008 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001135/0.3071, allocations: 12.23 kB / 1.058 GB, free: 2.996 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.314e-05/0.3071, allocations: 11.98 kB / 1.058 GB, free: 2.984 MB / 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.505e-05/0.3072, allocations: 117.8 kB / 1.058 GB, free: 2.859 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.024e-05/0.3072, allocations: 3.906 kB / 1.058 GB, free: 2.855 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.822e-05/0.3072, allocations: 7.125 kB / 1.058 GB, free: 2.852 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-06/0.3072, allocations: 0 / 1.058 GB, free: 2.852 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.526e-06/0.3072, allocations: 0 / 1.058 GB, free: 2.852 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.994e-06/0.3072, allocations: 0 / 1.058 GB, free: 2.852 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001665/0.3074, allocations: 173.6 kB / 1.058 GB, free: 2.633 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.3074, allocations: 0 / 1.058 GB, free: 2.633 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001443/0.3076, allocations: 19.97 kB / 1.058 GB, free: 2.613 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.788e-06/0.3076, allocations: 11.98 kB / 1.058 GB, free: 2.602 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.728e-06/0.3076, allocations: 0 / 1.058 GB, free: 2.602 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.3076, allocations: 0 / 1.058 GB, free: 2.602 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/0.3076, allocations: 3.938 kB / 1.058 GB, free: 2.598 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000495/0.3081, allocations: 219.4 kB / 1.058 GB, free: 2.367 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.176e-05/0.3082, allocations: 77.11 kB / 1.058 GB, free: 2.273 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.736e-05/0.3082, allocations: 0 / 1.058 GB, free: 2.273 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001556/0.3083, allocations: 24 kB / 1.058 GB, free: 2.25 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.68e-05/0.3084, allocations: 4 kB / 1.058 GB, free: 2.246 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.492e-06/0.3084, allocations: 4 kB / 1.058 GB, free: 2.242 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.755e-05/0.3084, allocations: 83.27 kB / 1.058 GB, free: 2.16 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.7e-07/0.3084, allocations: 0 / 1.058 GB, free: 2.16 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002501/0.3087, allocations: 12 kB / 1.058 GB, free: 2.148 MB / 0.8106 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.0007743/0.3095, allocations: 0.763 MB / 1.059 GB, free: 1.355 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0004856/0.31, allocations: 99.92 kB / 1.059 GB, free: 1.258 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.31, allocations: 0 / 1.059 GB, free: 1.258 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0002139/0.3102, allocations: 48.02 kB / 1.059 GB, free: 1.211 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003088/0.3105, allocations: 11.11 kB / 1.059 GB, free: 1.203 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008117/0.3114, allocations: 203 kB / 1.06 GB, free: 0.9648 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003482/0.3117, allocations: 0.6806 MB / 1.06 GB, free: 264 kB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0001002/0.3118, allocations: 8 kB / 1.06 GB, free: 256 kB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.886e-05/0.3119, allocations: 7.438 kB / 1.06 GB, free: 248 kB / 0.8106 GB Notification: Performance of SimCode: time 2.5e-07/0.3119, allocations: 0 / 1.06 GB, free: 248 kB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.75/4.062, allocations: 1.527 MB / 1.062 GB, free: 14.84 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002137/4.062, allocations: 213.5 kB / 1.062 GB, free: 14.58 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.608/6.67, allocations: 4 kB / 1.062 GB, free: 14.57 MB / 0.8262 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