Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_9_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med,fileNamePrefix="Buildings_9_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.0009297/0.0009296, allocations: 91.45 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.00802/0.00802, allocations: 172.5 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.189/1.189, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.052/2.052, allocations: 390.9 MB / 0.6664 GB, free: 2.297 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0002839/0.0002839, allocations: 8 kB / 0.8161 GB, free: 13.12 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4923/0.4926, allocations: 142.4 MB / 0.9552 GB, free: 7.656 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med): time 0.001028/0.4937, allocations: 1.146 MB / 0.9563 GB, free: 6.742 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002007/0.4957, allocations: 2.59 MB / 0.9588 GB, free: 4.684 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.623e-05/0.4957, allocations: 4 kB / 0.9588 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0009812/0.4967, allocations: 0.5475 MB / 0.9594 GB, free: 4.293 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 3.476e-05/0.4967, allocations: 24.25 kB / 0.9594 GB, free: 4.273 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 2.615e-06/0.4967, allocations: 0 / 0.9594 GB, free: 4.273 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001824/0.4969, allocations: 170.9 kB / 0.9595 GB, free: 4.184 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 5.032e-05/0.497, allocations: 29.84 kB / 0.9596 GB, free: 4.172 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.205e-05/0.497, allocations: 66.05 kB / 0.9596 GB, free: 4.141 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 9.662e-05/0.4971, allocations: 76.84 kB / 0.9597 GB, free: 4.105 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.024e-05/0.4972, allocations: 5.312 kB / 0.9597 GB, free: 4.102 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007304/0.4979, allocations: 496.6 kB / 0.9602 GB, free: 3.938 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.855e-05/0.4979, allocations: 31.78 kB / 0.9602 GB, free: 3.918 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 7.882e-05/0.498, allocations: 124 kB / 0.9603 GB, free: 3.832 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0004182/0.4984, allocations: 388.4 kB / 0.9607 GB, free: 3.613 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.4985, allocations: 1 kB / 0.9607 GB, free: 3.613 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.124e-06/0.4985, allocations: 0 / 0.9607 GB, free: 3.613 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.327e-06/0.4985, allocations: 3.938 kB / 0.9607 GB, free: 3.609 MB / 0.7169 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.0004902/0.499, allocations: 0.5255 MB / 0.9612 GB, free: 3.113 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.255e-05/0.499, allocations: 8.469 kB / 0.9612 GB, free: 3.113 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.871e-05/0.499, allocations: 107.2 kB / 0.9613 GB, free: 3 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001251/0.4992, allocations: 99.34 kB / 0.9614 GB, free: 2.914 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001352/0.4993, allocations: 317.3 kB / 0.9617 GB, free: 2.594 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.016e-05/0.4993, allocations: 155.8 kB / 0.9619 GB, free: 2.441 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.104e-05/0.4994, allocations: 161.1 kB / 0.962 GB, free: 2.285 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 2.666e-05/0.4994, allocations: 102.7 kB / 0.9621 GB, free: 2.18 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.748e-06/0.4994, allocations: 79.22 kB / 0.9622 GB, free: 2.102 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.489e-05/0.4994, allocations: 151.7 kB / 0.9624 GB, free: 1.953 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.397e-05/0.4994, allocations: 154.6 kB / 0.9625 GB, free: 1.801 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.682e-05/0.4995, allocations: 155.6 kB / 0.9626 GB, free: 1.648 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000215/0.4997, allocations: 0.5388 MB / 0.9632 GB, free: 1.098 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 3.432e-05/0.4997, allocations: 170.2 kB / 0.9633 GB, free: 0.9219 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.235e-05/0.4997, allocations: 84.12 kB / 0.9634 GB, free: 0.8359 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.067e-05/0.4998, allocations: 75.28 kB / 0.9635 GB, free: 0.7617 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.599e-05/0.4998, allocations: 111 kB / 0.9636 GB, free: 0.6445 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 8.42e-07/0.4998, allocations: 0 / 0.9636 GB, free: 0.6445 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 0.0001382/0.4999, allocations: 58.73 kB / 0.9637 GB, free: 0.5938 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.947e-05/0.4999, allocations: 126.7 kB / 0.9638 GB, free: 468 kB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003215/0.5003, allocations: 431.6 kB / 0.9642 GB, free: 188 kB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.803e-06/0.5003, allocations: 25.7 kB / 0.9642 GB, free: 156 kB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.524e-05/0.5003, allocations: 134.8 kB / 0.9643 GB, free: 28 kB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.914e-06/0.5003, allocations: 4 kB / 0.9643 GB, free: 24 kB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.435e-05/0.5004, allocations: 72.59 kB / 0.9644 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 9.713e-05/0.5005, allocations: 339.6 kB / 0.9647 GB, free: 15.64 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001012/0.5006, allocations: 99.91 kB / 0.9648 GB, free: 15.59 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001329/0.5008, allocations: 162.9 kB / 0.965 GB, free: 15.47 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002624/0.501, allocations: 309.9 kB / 0.9653 GB, free: 15.28 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.501, allocations: 0 / 0.9653 GB, free: 15.28 MB / 0.7325 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0004245/0.5015, allocations: 328.3 kB / 0.9656 GB, free: 15.11 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.256e-05/0.5015, allocations: 11.66 kB / 0.9656 GB, free: 15.1 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.5015, allocations: 5.094 kB / 0.9656 GB, free: 15.1 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.016e-06/0.5015, allocations: 2.25 kB / 0.9656 GB, free: 15.1 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.993e-06/0.5015, allocations: 2.469 kB / 0.9656 GB, free: 15.1 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.519e-06/0.5015, allocations: 1.812 kB / 0.9656 GB, free: 15.1 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001354/0.5017, allocations: 52.86 kB / 0.9657 GB, free: 15.05 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.616e-06/0.5017, allocations: 3.781 kB / 0.9657 GB, free: 15.05 MB / 0.7325 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.0001571/0.5019, allocations: 239.1 kB / 0.9659 GB, free: 14.84 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.454e-05/0.5019, allocations: 132 kB / 0.966 GB, free: 14.71 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.098e-05/0.502, allocations: 118.3 kB / 0.9661 GB, free: 14.59 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.64e-05/0.502, allocations: 189.4 kB / 0.9663 GB, free: 14.39 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.417e-05/0.5021, allocations: 181.4 kB / 0.9665 GB, free: 14.21 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.397e-05/0.5021, allocations: 177.4 kB / 0.9667 GB, free: 14.03 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002318/0.5024, allocations: 476.3 kB / 0.9671 GB, free: 13.54 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.639e-05/0.5024, allocations: 102.4 kB / 0.9672 GB, free: 13.44 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.53e-05/0.5024, allocations: 106.4 kB / 0.9673 GB, free: 13.33 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.487e-05/0.5025, allocations: 188.2 kB / 0.9675 GB, free: 13.14 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.464e-05/0.5025, allocations: 181.5 kB / 0.9677 GB, free: 12.95 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.178e-05/0.5026, allocations: 181.6 kB / 0.9678 GB, free: 12.77 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.182e-05/0.5026, allocations: 177.7 kB / 0.968 GB, free: 12.59 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001094/0.5027, allocations: 338.1 kB / 0.9683 GB, free: 12.25 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 7.347e-05/0.5028, allocations: 195.6 kB / 0.9685 GB, free: 12.04 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.8e-05/0.5029, allocations: 187.7 kB / 0.9687 GB, free: 11.85 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001134/0.503, allocations: 109 kB / 0.9688 GB, free: 11.73 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.447e-05/0.503, allocations: 180.2 kB / 0.969 GB, free: 11.55 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.585e-05/0.5031, allocations: 104.5 kB / 0.9691 GB, free: 11.45 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001989/0.5033, allocations: 282.3 kB / 0.9693 GB, free: 11.27 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5033, allocations: 0 / 0.9693 GB, free: 11.27 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003031/0.5036, allocations: 76.72 kB / 0.9694 GB, free: 11.27 MB / 0.7325 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.0004663/0.5041, allocations: 0.951 MB / 0.9703 GB, free: 10.37 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001807/0.5042, allocations: 167.7 kB / 0.9705 GB, free: 10.28 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.5043, allocations: 0 / 0.9705 GB, free: 10.28 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.643e-06/0.5043, allocations: 0.8125 kB / 0.9705 GB, free: 10.28 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003362/0.5046, allocations: 0.5259 MB / 0.971 GB, free: 9.746 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002496/0.5071, allocations: 2.954 MB / 0.9739 GB, free: 7.551 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002501/0.5074, allocations: 0.7742 MB / 0.9747 GB, free: 6.809 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 1.272e-05/0.5074, allocations: 6.984 kB / 0.9747 GB, free: 6.805 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.482e-05/0.5074, allocations: 49.42 kB / 0.9747 GB, free: 6.758 MB / 0.7325 GB Notification: Performance of SimCode: time 2.3e-07/0.5075, allocations: 3.938 kB / 0.9747 GB, free: 6.754 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.991/4.499, allocations: 5.931 MB / 0.9805 GB, free: 3.949 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002936/4.499, allocations: 223.7 kB / 0.9807 GB, free: 3.695 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.152/6.651, allocations: 1.406 kB / 0.9807 GB, free: 3.695 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe ; mkfifo Buildings_9_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe >> ../files/Buildings_9_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med.fmu > Buildings_9_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches