Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.Electrical.Transmission.Functions.Validation.SelectCable_med,fileNamePrefix="Buildings_latest_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med,fileNamePrefix="Buildings_latest_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.001307/0.001307, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001449/0.001449, allocations: 191 kB / 16.25 MB, free: 6.629 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.317/1.317, allocations: 222.9 MB / 239.9 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.391/2.391, allocations: 461.9 MB / 0.7344 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002595/0.002596, allocations: 68.84 kB / 0.8987 GB, free: 37.22 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.429/0.4317, allocations: 157.4 MB / 1.052 GB, free: 8.695 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med): time 0.004177/0.4359, allocations: 1.488 MB / 1.054 GB, free: 7.191 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.005896/0.4418, allocations: 2.632 MB / 1.056 GB, free: 4.551 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.776e-05/0.4419, allocations: 0 / 1.056 GB, free: 4.551 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.002598/0.4445, allocations: 0.5707 MB / 1.057 GB, free: 3.98 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 8.787e-05/0.4446, allocations: 19.84 kB / 1.057 GB, free: 3.961 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 6.032e-06/0.4447, allocations: 0 / 1.057 GB, free: 3.961 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0003547/0.445, allocations: 155 kB / 1.057 GB, free: 3.809 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 9.113e-05/0.4451, allocations: 32.41 kB / 1.057 GB, free: 3.777 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001197/0.4453, allocations: 59.72 kB / 1.057 GB, free: 3.719 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001973/0.4455, allocations: 79.58 kB / 1.057 GB, free: 3.641 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.267e-05/0.4455, allocations: 4 kB / 1.057 GB, free: 3.637 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001647/0.4472, allocations: 495.2 kB / 1.058 GB, free: 3.152 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 7.228e-05/0.4473, allocations: 39.78 kB / 1.058 GB, free: 3.113 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001407/0.4474, allocations: 91.42 kB / 1.058 GB, free: 3.023 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0008532/0.4483, allocations: 398.3 kB / 1.058 GB, free: 2.633 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.4483, allocations: 8 kB / 1.058 GB, free: 2.625 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.973e-06/0.4483, allocations: 0 / 1.058 GB, free: 2.625 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.02e-05/0.4483, allocations: 0 / 1.058 GB, free: 2.625 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.001177/0.4495, allocations: 0.5451 MB / 1.059 GB, free: 2.027 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.902e-05/0.4496, allocations: 8.625 kB / 1.059 GB, free: 2.02 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.613e-05/0.4497, allocations: 106 kB / 1.059 GB, free: 1.906 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002833/0.45, allocations: 107.9 kB / 1.059 GB, free: 1.801 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003531/0.4503, allocations: 302.4 kB / 1.059 GB, free: 1.469 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.898e-05/0.4504, allocations: 150.9 kB / 1.059 GB, free: 1.32 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.734e-05/0.4505, allocations: 154.9 kB / 1.06 GB, free: 1.168 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.503e-05/0.4507, allocations: 109.5 kB / 1.06 GB, free: 1.055 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.114e-05/0.4507, allocations: 79.22 kB / 1.06 GB, free: 0.9766 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.401e-05/0.4508, allocations: 158.5 kB / 1.06 GB, free: 0.8203 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.285e-05/0.4509, allocations: 154.6 kB / 1.06 GB, free: 0.668 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.037e-05/0.451, allocations: 154.6 kB / 1.06 GB, free: 0.5156 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006005/0.4516, allocations: 0.5288 MB / 1.061 GB, free: 15.94 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001171/0.4517, allocations: 177 kB / 1.061 GB, free: 15.75 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.778e-05/0.4518, allocations: 88.14 kB / 1.061 GB, free: 15.66 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 4.706e-05/0.4519, allocations: 75.28 kB / 1.061 GB, free: 15.59 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.401e-05/0.4519, allocations: 105.8 kB / 1.061 GB, free: 15.48 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=0): time 1.683e-06/0.452, allocations: 0 / 1.061 GB, free: 15.48 MB / 0.8262 GB Notification: Performance of matching and sorting (n=0): time 0.0002838/0.4523, allocations: 53.36 kB / 1.061 GB, free: 15.42 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.604e-05/0.4524, allocations: 134.6 kB / 1.061 GB, free: 15.27 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006983/0.4531, allocations: 437.2 kB / 1.062 GB, free: 14.84 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.341e-05/0.4531, allocations: 29.7 kB / 1.062 GB, free: 14.8 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001264/0.4533, allocations: 128.5 kB / 1.062 GB, free: 14.68 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.098e-06/0.4533, allocations: 3.938 kB / 1.062 GB, free: 14.67 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001432/0.4534, allocations: 89.67 kB / 1.062 GB, free: 14.58 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.000173/0.4536, allocations: 338.8 kB / 1.062 GB, free: 14.24 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002022/0.4538, allocations: 104.5 kB / 1.062 GB, free: 14.14 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002541/0.4541, allocations: 165.3 kB / 1.063 GB, free: 13.96 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005274/0.4546, allocations: 305.6 kB / 1.063 GB, free: 13.64 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.4547, allocations: 0 / 1.063 GB, free: 13.64 MB / 0.8262 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0008553/0.4555, allocations: 325 kB / 1.063 GB, free: 13.31 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.206e-05/0.4556, allocations: 12.16 kB / 1.063 GB, free: 13.3 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.416e-06/0.4556, allocations: 4 kB / 1.063 GB, free: 13.3 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.767e-05/0.4556, allocations: 4 kB / 1.063 GB, free: 13.29 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.709e-06/0.4556, allocations: 7.875 kB / 1.063 GB, free: 13.29 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.307e-05/0.4556, allocations: 4 kB / 1.063 GB, free: 13.28 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002473/0.4559, allocations: 43.28 kB / 1.063 GB, free: 13.24 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.56e-05/0.4559, allocations: 4 kB / 1.063 GB, free: 13.23 MB / 0.8262 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.0003257/0.4563, allocations: 247.4 kB / 1.064 GB, free: 12.98 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00013/0.4564, allocations: 132.6 kB / 1.064 GB, free: 12.85 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.26e-05/0.4565, allocations: 115 kB / 1.064 GB, free: 12.73 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.855e-05/0.4566, allocations: 180.3 kB / 1.064 GB, free: 12.54 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.969e-05/0.4567, allocations: 184.2 kB / 1.064 GB, free: 12.36 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.541e-05/0.4568, allocations: 180.2 kB / 1.064 GB, free: 12.17 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003745/0.4572, allocations: 481.1 kB / 1.065 GB, free: 11.64 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.538e-05/0.4572, allocations: 101 kB / 1.065 GB, free: 11.54 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.79e-05/0.4573, allocations: 101 kB / 1.065 GB, free: 11.43 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.011e-05/0.4574, allocations: 192.2 kB / 1.065 GB, free: 11.24 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.016e-05/0.4575, allocations: 176.3 kB / 1.065 GB, free: 11.06 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.44e-05/0.4575, allocations: 184.2 kB / 1.065 GB, free: 10.87 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.254e-05/0.4576, allocations: 184.3 kB / 1.066 GB, free: 10.68 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001732/0.4578, allocations: 323.4 kB / 1.066 GB, free: 10.34 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001223/0.4579, allocations: 205.8 kB / 1.066 GB, free: 10.12 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001136/0.458, allocations: 188.1 kB / 1.066 GB, free: 9.926 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001748/0.4582, allocations: 101 kB / 1.066 GB, free: 9.82 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.465e-05/0.4583, allocations: 180.3 kB / 1.067 GB, free: 9.637 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.18e-05/0.4584, allocations: 112.9 kB / 1.067 GB, free: 9.52 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0003588/0.4587, allocations: 275.1 kB / 1.067 GB, free: 9.25 MB / 0.8262 GB Notification: Performance of sort global known variables: time 3.076e-06/0.4587, allocations: 0 / 1.067 GB, free: 9.25 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0005214/0.4593, allocations: 83.92 kB / 1.067 GB, free: 9.168 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 (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.0007404/0.46, allocations: 0.9489 MB / 1.068 GB, free: 8.191 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002794/0.4603, allocations: 167.8 kB / 1.068 GB, free: 8.027 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.192e-05/0.4603, allocations: 0 / 1.068 GB, free: 8.027 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 2.605e-06/0.4603, allocations: 0 / 1.068 GB, free: 8.027 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005189/0.4609, allocations: 469.6 kB / 1.069 GB, free: 7.566 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004725/0.4656, allocations: 2.944 MB / 1.071 GB, free: 4.504 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004536/0.4661, allocations: 0.7704 MB / 1.072 GB, free: 3.707 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.017e-05/0.4661, allocations: 7.984 kB / 1.072 GB, free: 3.699 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000102/0.4662, allocations: 55.42 kB / 1.072 GB, free: 3.645 MB / 0.8262 GB Notification: Performance of SimCode: time 1.042e-06/0.4662, allocations: 192 / 1.072 GB, free: 3.645 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.496/1.962, allocations: 6.13 MB / 1.078 GB, free: 13.69 MB / 0.8419 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003449/1.963, allocations: 228.1 kB / 1.078 GB, free: 13.44 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.481/5.444, allocations: 0 / 1.078 GB, free: 13.44 MB / 0.8419 GB (rm -f Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe ; mkfifo Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe >> ../files/Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med.fmu > Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches