Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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.Electrical.Transmission.Functions.Validation.SelectCable_med,fileNamePrefix="Buildings_10_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med,fileNamePrefix="Buildings_10_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med",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.0009456/0.0009457, allocations: 90.83 kB / 15.36 MB, free: 0.7383 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.0076/0.0076, allocations: 172.6 kB / 16.26 MB, free: 6.613 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.262/1.262, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.348/2.348, allocations: 437.8 MB / 0.7121 GB, free: 7.02 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.000313/0.000313, allocations: 12 kB / 0.8729 GB, free: 3.23 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5367/0.537, allocations: 153.8 MB / 1.023 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med): time 0.001282/0.5383, allocations: 1.136 MB / 1.024 GB, free: 14.72 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.00257/0.5409, allocations: 2.605 MB / 1.027 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.498e-05/0.5409, allocations: 0 / 1.027 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0011/0.542, allocations: 0.5537 MB / 1.027 GB, free: 11.56 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 4.046e-05/0.5421, allocations: 23.91 kB / 1.027 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 2.886e-06/0.5421, allocations: 0 / 1.027 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002057/0.5423, allocations: 170.9 kB / 1.028 GB, free: 11.37 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 5.641e-05/0.5424, allocations: 40.39 kB / 1.028 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 6.248e-05/0.5424, allocations: 55.73 kB / 1.028 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001062/0.5425, allocations: 83.47 kB / 1.028 GB, free: 11.19 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.005e-05/0.5426, allocations: 0 / 1.028 GB, free: 11.19 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000812/0.5434, allocations: 499.2 kB / 1.028 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 4.088e-05/0.5434, allocations: 35.78 kB / 1.028 GB, free: 10.66 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 9.256e-05/0.5435, allocations: 121.1 kB / 1.028 GB, free: 10.54 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0004504/0.544, allocations: 390.3 kB / 1.029 GB, free: 10.16 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.575e-06/0.544, allocations: 0 / 1.029 GB, free: 10.16 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.383e-06/0.544, allocations: 4 kB / 1.029 GB, free: 10.15 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.891e-06/0.544, allocations: 0 / 1.029 GB, free: 10.15 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0005601/0.5446, allocations: 0.5256 MB / 1.029 GB, free: 9.574 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 2.925e-05/0.5446, allocations: 8.031 kB / 1.029 GB, free: 9.566 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.685e-05/0.5446, allocations: 106 kB / 1.029 GB, free: 9.453 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001455/0.5448, allocations: 111.9 kB / 1.029 GB, free: 9.344 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001866/0.545, allocations: 314.2 kB / 1.03 GB, free: 8.996 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.339e-05/0.545, allocations: 150.9 kB / 1.03 GB, free: 8.848 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.631e-05/0.5451, allocations: 154.9 kB / 1.03 GB, free: 8.695 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.738e-05/0.5451, allocations: 101.5 kB / 1.03 GB, free: 8.59 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.216e-05/0.5452, allocations: 79.22 kB / 1.03 GB, free: 8.512 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.85e-05/0.5452, allocations: 154.6 kB / 1.03 GB, free: 8.359 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.074e-05/0.5453, allocations: 158.6 kB / 1.03 GB, free: 8.203 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.779e-05/0.5453, allocations: 154.5 kB / 1.031 GB, free: 8.051 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002937/0.5456, allocations: 0.5249 MB / 1.031 GB, free: 7.477 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 5.979e-05/0.5457, allocations: 177.1 kB / 1.031 GB, free: 7.293 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.719e-05/0.5457, allocations: 84.14 kB / 1.031 GB, free: 7.207 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.99e-05/0.5457, allocations: 75.28 kB / 1.031 GB, free: 7.133 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.514e-05/0.5458, allocations: 105.8 kB / 1.032 GB, free: 7.02 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=0): time 8.81e-07/0.5458, allocations: 0 / 1.032 GB, free: 7.02 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0): time 0.00015/0.5459, allocations: 57.3 kB / 1.032 GB, free: 6.957 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.151e-05/0.546, allocations: 126.7 kB / 1.032 GB, free: 6.82 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000364/0.5464, allocations: 437.2 kB / 1.032 GB, free: 6.387 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.213e-05/0.5464, allocations: 29.7 kB / 1.032 GB, free: 6.352 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.865e-05/0.5464, allocations: 132.5 kB / 1.032 GB, free: 6.219 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.356e-06/0.5465, allocations: 4 kB / 1.032 GB, free: 6.215 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.784e-05/0.5465, allocations: 69.66 kB / 1.032 GB, free: 6.141 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.839e-05/0.5466, allocations: 338.8 kB / 1.033 GB, free: 5.801 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001007/0.5467, allocations: 100.5 kB / 1.033 GB, free: 5.703 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001342/0.5469, allocations: 173.2 kB / 1.033 GB, free: 5.516 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000262/0.5471, allocations: 301.6 kB / 1.033 GB, free: 5.199 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.5471, allocations: 0 / 1.033 GB, free: 5.199 MB / 0.7794 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0004337/0.5476, allocations: 332.9 kB / 1.034 GB, free: 4.867 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.134e-05/0.5476, allocations: 9.969 kB / 1.034 GB, free: 4.859 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.5476, allocations: 224 / 1.034 GB, free: 4.859 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.227e-06/0.5476, allocations: 8 kB / 1.034 GB, free: 4.852 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.182e-06/0.5476, allocations: 0 / 1.034 GB, free: 4.852 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.5476, allocations: 7.984 kB / 1.034 GB, free: 4.844 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001296/0.5478, allocations: 43.28 kB / 1.034 GB, free: 4.801 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.888e-06/0.5478, allocations: 8 kB / 1.034 GB, free: 4.793 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 7 (cab[1].material,cab[2].material,cab[3].material,cab[4].material,cab[5].material,cab[6].material,cab[7].material) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 7 * 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 0.0001645/0.548, allocations: 243.5 kB / 1.034 GB, free: 4.547 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.726e-05/0.548, allocations: 132.7 kB / 1.034 GB, free: 4.41 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.947e-05/0.5481, allocations: 119 kB / 1.034 GB, free: 4.285 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.663e-05/0.5481, allocations: 180.2 kB / 1.034 GB, free: 4.102 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.984e-05/0.5482, allocations: 176.3 kB / 1.034 GB, free: 3.922 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.768e-05/0.5482, allocations: 184.2 kB / 1.035 GB, free: 3.734 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002384/0.5485, allocations: 473.2 kB / 1.035 GB, free: 3.215 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.57e-05/0.5485, allocations: 109 kB / 1.035 GB, free: 3.102 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.03e-05/0.5485, allocations: 104.9 kB / 1.035 GB, free: 2.992 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.449e-05/0.5486, allocations: 188.2 kB / 1.035 GB, free: 2.801 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.803e-05/0.5486, allocations: 180.2 kB / 1.036 GB, free: 2.617 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.67e-05/0.5487, allocations: 180.3 kB / 1.036 GB, free: 2.434 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.548e-05/0.5487, allocations: 176.5 kB / 1.036 GB, free: 2.254 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001121/0.5489, allocations: 335.4 kB / 1.036 GB, free: 1.902 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 7.86e-05/0.5489, allocations: 201.8 kB / 1.036 GB, free: 1.68 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.063e-05/0.549, allocations: 180.2 kB / 1.037 GB, free: 1.496 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001187/0.5492, allocations: 116.9 kB / 1.037 GB, free: 1.375 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.478e-05/0.5492, allocations: 184.2 kB / 1.037 GB, free: 1.188 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.991e-05/0.5492, allocations: 105 kB / 1.037 GB, free: 1.078 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0002292/0.5495, allocations: 283.1 kB / 1.037 GB, free: 0.8008 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5495, allocations: 0 / 1.037 GB, free: 0.8008 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003056/0.5498, allocations: 76 kB / 1.037 GB, free: 0.7266 MB / 0.7794 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 (0): * Single equations (assignments): 0 * 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.0004787/0.5503, allocations: 0.9565 MB / 1.038 GB, free: 15.74 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0001802/0.5505, allocations: 163.9 kB / 1.038 GB, free: 15.58 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.5505, allocations: 0 / 1.038 GB, free: 15.58 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 1.272e-06/0.5505, allocations: 0 / 1.038 GB, free: 15.58 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003466/0.5508, allocations: 0.532 MB / 1.039 GB, free: 15.05 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002473/0.5533, allocations: 2.95 MB / 1.042 GB, free: 11.98 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002645/0.5536, allocations: 0.7746 MB / 1.043 GB, free: 11.18 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 1.073e-05/0.5536, allocations: 4 kB / 1.043 GB, free: 11.18 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.444e-05/0.5537, allocations: 55.42 kB / 1.043 GB, free: 11.12 MB / 0.795 GB Notification: Performance of SimCode: time 2.41e-07/0.5537, allocations: 0 / 1.043 GB, free: 11.12 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7888/1.343, allocations: 5.928 MB / 1.048 GB, free: 5.375 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002186/1.343, allocations: 233.8 kB / 1.049 GB, free: 5.113 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.615/2.957, allocations: 0 / 1.049 GB, free: 5.113 MB / 0.795 GB (rm -f Buildings_10_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe ; mkfifo Buildings_10_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe >> ../files/Buildings_10_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med_res.mat --tempDir=temp_Buildings_10_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med.fmu > Buildings_10_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches