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.001397/0.001397, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001692/0.001692, allocations: 193.9 kB / 16.53 MB, free: 6.699 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.301/1.301, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.669/2.669, allocations: 461.9 MB / 0.7346 GB, free: 14.72 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001282/0.001282, allocations: 63.27 kB / 0.8992 GB, free: 37.05 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2775/0.2788, allocations: 157.4 MB / 1.053 GB, free: 8.25 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.InverseXRegularized): time 0.003002/0.2818, allocations: 1.436 MB / 1.054 GB, free: 6.801 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001205/0.283, allocations: 0.8098 MB / 1.055 GB, free: 5.984 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.233e-05/0.2831, allocations: 0 / 1.055 GB, free: 5.984 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.624e-05/0.2831, allocations: 3.938 kB / 1.055 GB, free: 5.98 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 4.117e-05/0.2832, allocations: 0 / 1.055 GB, free: 5.98 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004602/0.2837, allocations: 131.5 kB / 1.055 GB, free: 5.852 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 6.317e-05/0.2837, allocations: 27.92 kB / 1.055 GB, free: 5.824 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 7.395e-05/0.2838, allocations: 4 kB / 1.055 GB, free: 5.82 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 4.48e-05/0.2839, allocations: 19.92 kB / 1.055 GB, free: 5.801 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 5.173e-05/0.2839, allocations: 23.95 kB / 1.055 GB, free: 5.777 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.302e-05/0.2839, allocations: 0 / 1.055 GB, free: 5.777 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004536/0.2844, allocations: 315.4 kB / 1.056 GB, free: 5.469 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.72e-05/0.2844, allocations: 11.94 kB / 1.056 GB, free: 5.457 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.903e-05/0.2845, allocations: 15.97 kB / 1.056 GB, free: 5.441 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0003113/0.2848, allocations: 191.9 kB / 1.056 GB, free: 5.254 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.2848, allocations: 0 / 1.056 GB, free: 5.254 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.382e-06/0.2848, allocations: 0 / 1.056 GB, free: 5.254 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.318e-06/0.2848, allocations: 0 / 1.056 GB, free: 5.254 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.0005109/0.2853, allocations: 375.3 kB / 1.056 GB, free: 4.84 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.666e-05/0.2854, allocations: 12.62 kB / 1.056 GB, free: 4.828 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.059e-05/0.2854, allocations: 30.75 kB / 1.056 GB, free: 4.789 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004692/0.2859, allocations: 72.84 kB / 1.056 GB, free: 4.719 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001001/0.286, allocations: 172.3 kB / 1.056 GB, free: 4.512 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.043e-05/0.286, allocations: 384 / 1.056 GB, free: 4.512 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.462e-05/0.286, allocations: 4.375 kB / 1.056 GB, free: 4.508 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000301/0.2863, allocations: 85.75 kB / 1.057 GB, free: 4.418 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.613e-06/0.2864, allocations: 0 / 1.057 GB, free: 4.418 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.056e-05/0.2864, allocations: 4 kB / 1.057 GB, free: 4.414 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.998e-06/0.2864, allocations: 0 / 1.057 GB, free: 4.414 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004159/0.2868, allocations: 87.91 kB / 1.057 GB, free: 4.328 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005099/0.2873, allocations: 312.6 kB / 1.057 GB, free: 3.973 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003808/0.2877, allocations: 98.48 kB / 1.057 GB, free: 3.867 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002129/0.2879, allocations: 52.88 kB / 1.057 GB, free: 3.812 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.364e-05/0.288, allocations: 0 / 1.057 GB, free: 3.812 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.944e-05/0.288, allocations: 34.56 kB / 1.057 GB, free: 3.77 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 8.12e-07/0.288, allocations: 0 / 1.057 GB, free: 3.77 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0007469/0.2888, allocations: 169.6 kB / 1.057 GB, free: 3.598 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.731e-05/0.2888, allocations: 55.34 kB / 1.057 GB, free: 3.531 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.083e-05/0.2889, allocations: 105.8 kB / 1.057 GB, free: 3.418 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.442e-05/0.2889, allocations: 25.7 kB / 1.057 GB, free: 3.387 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.594e-05/0.289, allocations: 84.14 kB / 1.058 GB, free: 3.301 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.006e-05/0.289, allocations: 7.906 kB / 1.058 GB, free: 3.293 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.775e-05/0.289, allocations: 13.75 kB / 1.058 GB, free: 3.273 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001048/0.2891, allocations: 326.8 kB / 1.058 GB, free: 2.945 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002106/0.2893, allocations: 39.95 kB / 1.058 GB, free: 2.906 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001973/0.2896, allocations: 43.95 kB / 1.058 GB, free: 2.863 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003978/0.29, allocations: 92.83 kB / 1.058 GB, free: 2.77 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.29, allocations: 0 / 1.058 GB, free: 2.77 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0004523/0.2904, allocations: 125.5 kB / 1.058 GB, free: 2.641 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.387e-05/0.2904, allocations: 8 kB / 1.058 GB, free: 2.633 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.2905, allocations: 0 / 1.058 GB, free: 2.633 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.067e-05/0.2905, allocations: 3.938 kB / 1.058 GB, free: 2.629 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000158/0.2906, allocations: 24 kB / 1.058 GB, free: 2.605 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.037e-06/0.2906, allocations: 0 / 1.058 GB, free: 2.605 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001217/0.2908, allocations: 15.98 kB / 1.058 GB, free: 2.59 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.078e-05/0.2908, allocations: 3.984 kB / 1.058 GB, free: 2.586 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.251e-05/0.2909, allocations: 117.8 kB / 1.058 GB, free: 2.461 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.899e-05/0.2909, allocations: 3.906 kB / 1.058 GB, free: 2.457 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.555e-05/0.2909, allocations: 7.125 kB / 1.058 GB, free: 2.453 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.2909, allocations: 0 / 1.058 GB, free: 2.453 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.2909, allocations: 4 kB / 1.058 GB, free: 2.449 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.814e-06/0.291, allocations: 0 / 1.058 GB, free: 2.449 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001811/0.2911, allocations: 173.6 kB / 1.058 GB, free: 2.23 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.2912, allocations: 0 / 1.058 GB, free: 2.23 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001424/0.2913, allocations: 23.97 kB / 1.058 GB, free: 2.207 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.2913, allocations: 0 / 1.058 GB, free: 2.207 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.03e-05/0.2913, allocations: 4 kB / 1.058 GB, free: 2.203 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.133e-06/0.2913, allocations: 0 / 1.058 GB, free: 2.203 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.2913, allocations: 0 / 1.058 GB, free: 2.203 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004942/0.2918, allocations: 223.6 kB / 1.059 GB, free: 1.969 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.861e-05/0.2919, allocations: 77.11 kB / 1.059 GB, free: 1.875 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.706e-05/0.2919, allocations: 4 kB / 1.059 GB, free: 1.871 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001491/0.2921, allocations: 24 kB / 1.059 GB, free: 1.848 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.611e-05/0.2921, allocations: 0 / 1.059 GB, free: 1.848 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.4e-06/0.2921, allocations: 0 / 1.059 GB, free: 1.848 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.824e-05/0.2922, allocations: 87.27 kB / 1.059 GB, free: 1.762 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2922, allocations: 4 kB / 1.059 GB, free: 1.758 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002369/0.2924, allocations: 12 kB / 1.059 GB, free: 1.746 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.0007948/0.2932, allocations: 0.7668 MB / 1.06 GB, free: 0.9492 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0004618/0.2937, allocations: 95.92 kB / 1.06 GB, free: 0.8555 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.2937, allocations: 0 / 1.06 GB, free: 0.8555 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0002126/0.2939, allocations: 48.02 kB / 1.06 GB, free: 0.8086 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002761/0.2942, allocations: 7.938 kB / 1.06 GB, free: 0.8008 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006728/0.2949, allocations: 195.1 kB / 1.06 GB, free: 0.5703 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002599/0.2951, allocations: 0.6806 MB / 1.061 GB, free: 15.86 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 7.483e-05/0.2952, allocations: 8 kB / 1.061 GB, free: 15.86 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.442e-05/0.2953, allocations: 15.44 kB / 1.061 GB, free: 15.84 MB / 0.8262 GB Notification: Performance of SimCode: time 2.41e-07/0.2953, allocations: 0 / 1.061 GB, free: 15.84 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01756/0.3128, allocations: 1.656 MB / 1.062 GB, free: 14.27 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.67/7.983, allocations: 19.19 kB / 1.062 GB, free: 14.25 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