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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.007326/0.007326, allocations: 103.9 kB / 15.74 MB, free: 5.953 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.001619/0.001619, allocations: 188.9 kB / 16.67 MB, free: 5.883 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.467/1.467, allocations: 222.9 MB / 240.4 MB, free: 4.141 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.295/2.295, allocations: 390.2 MB / 0.6648 GB, free: 160 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001222/0.001222, allocations: 62.97 kB / 0.9504 GB, free: 5.945 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2506/0.2519, allocations: 140.4 MB / 1.087 GB, free: 2.016 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med): time 0.002196/0.2541, allocations: 1.421 MB / 1.089 GB, free: 0.5859 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.002875/0.257, allocations: 2.672 MB / 1.091 GB, free: 13.91 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.864e-05/0.257, allocations: 0 / 1.091 GB, free: 13.91 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001281/0.2583, allocations: 0.5813 MB / 1.092 GB, free: 13.33 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 5.399e-05/0.2584, allocations: 27.89 kB / 1.092 GB, free: 13.3 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 4.338e-06/0.2584, allocations: 0 / 1.092 GB, free: 13.3 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002196/0.2586, allocations: 151 kB / 1.092 GB, free: 13.15 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 6.432e-05/0.2587, allocations: 40.67 kB / 1.092 GB, free: 13.11 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 6.058e-05/0.2588, allocations: 59.67 kB / 1.092 GB, free: 13.05 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001193/0.2589, allocations: 83.52 kB / 1.092 GB, free: 12.97 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.141e-05/0.2589, allocations: 0 / 1.092 GB, free: 12.97 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009488/0.2599, allocations: 467.3 kB / 1.093 GB, free: 12.51 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 4.949e-05/0.2599, allocations: 43.75 kB / 1.093 GB, free: 12.47 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 8.926e-05/0.26, allocations: 91.44 kB / 1.093 GB, free: 12.38 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0005801/0.2606, allocations: 442.2 kB / 1.093 GB, free: 11.95 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.397e-06/0.2606, allocations: 0 / 1.093 GB, free: 11.95 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.222e-06/0.2606, allocations: 0 / 1.093 GB, free: 11.95 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.591e-06/0.2606, allocations: 0 / 1.093 GB, free: 11.95 MB / 0.8575 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.0007283/0.2614, allocations: 0.549 MB / 1.094 GB, free: 11.34 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.789e-05/0.2614, allocations: 12.03 kB / 1.094 GB, free: 11.33 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.048e-05/0.2615, allocations: 106 kB / 1.094 GB, free: 11.22 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001623/0.2616, allocations: 103.9 kB / 1.094 GB, free: 11.12 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002102/0.2619, allocations: 302.2 kB / 1.094 GB, free: 10.78 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.274e-05/0.2619, allocations: 162.9 kB / 1.095 GB, free: 10.62 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.161e-05/0.262, allocations: 158.9 kB / 1.095 GB, free: 10.46 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.47e-05/0.262, allocations: 101.5 kB / 1.095 GB, free: 10.36 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.405e-05/0.2621, allocations: 83.22 kB / 1.095 GB, free: 10.28 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.691e-05/0.2621, allocations: 154.5 kB / 1.095 GB, free: 10.12 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.021e-05/0.2622, allocations: 150.6 kB / 1.095 GB, free: 9.977 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.11e-05/0.2622, allocations: 150.6 kB / 1.095 GB, free: 9.828 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003394/0.2626, allocations: 0.5367 MB / 1.096 GB, free: 9.242 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 6.849e-05/0.2626, allocations: 169.1 kB / 1.096 GB, free: 9.066 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.174e-05/0.2627, allocations: 80.14 kB / 1.096 GB, free: 8.984 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.779e-05/0.2627, allocations: 79.28 kB / 1.096 GB, free: 8.906 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.853e-05/0.2628, allocations: 109.8 kB / 1.096 GB, free: 8.789 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=0): time 1.022e-06/0.2628, allocations: 0 / 1.096 GB, free: 8.789 MB / 0.8575 GB Notification: Performance of matching and sorting (n=0): time 0.0001689/0.2629, allocations: 57.3 kB / 1.096 GB, free: 8.727 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.807e-05/0.263, allocations: 130.7 kB / 1.096 GB, free: 8.586 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003969/0.2634, allocations: 433.2 kB / 1.097 GB, free: 8.156 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.365e-05/0.2634, allocations: 29.64 kB / 1.097 GB, free: 8.121 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 7.678e-05/0.2635, allocations: 132.5 kB / 1.097 GB, free: 7.988 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.657e-06/0.2635, allocations: 7.984 kB / 1.097 GB, free: 7.98 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.426e-05/0.2636, allocations: 89.67 kB / 1.097 GB, free: 7.887 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001282/0.2637, allocations: 338.8 kB / 1.097 GB, free: 7.547 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001101/0.2638, allocations: 96.5 kB / 1.098 GB, free: 7.453 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001498/0.264, allocations: 169.3 kB / 1.098 GB, free: 7.266 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002856/0.2643, allocations: 313.6 kB / 1.098 GB, free: 6.938 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.2643, allocations: 0 / 1.098 GB, free: 6.938 MB / 0.8575 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.000465/0.2648, allocations: 325 kB / 1.098 GB, free: 6.613 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.473e-05/0.2648, allocations: 7.938 kB / 1.098 GB, free: 6.605 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/0.2648, allocations: 0 / 1.098 GB, free: 6.605 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.51e-05/0.2648, allocations: 4 kB / 1.098 GB, free: 6.602 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.936e-06/0.2648, allocations: 3.938 kB / 1.098 GB, free: 6.598 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.71e-06/0.2648, allocations: 4 kB / 1.098 GB, free: 6.594 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001364/0.265, allocations: 51.5 kB / 1.098 GB, free: 6.543 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.013e-05/0.265, allocations: 4 kB / 1.098 GB, free: 6.539 MB / 0.8575 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.0002028/0.2652, allocations: 241.1 kB / 1.099 GB, free: 6.293 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.416e-05/0.2653, allocations: 132.6 kB / 1.099 GB, free: 6.156 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.662e-05/0.2653, allocations: 115 kB / 1.099 GB, free: 6.035 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.445e-05/0.2654, allocations: 180.3 kB / 1.099 GB, free: 5.852 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.826e-05/0.2655, allocations: 184.2 kB / 1.099 GB, free: 5.664 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.367e-05/0.2655, allocations: 180.2 kB / 1.099 GB, free: 5.48 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002613/0.2658, allocations: 473.1 kB / 1.1 GB, free: 4.961 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.182e-05/0.2658, allocations: 109 kB / 1.1 GB, free: 4.848 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.738e-05/0.2659, allocations: 101 kB / 1.1 GB, free: 4.742 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.169e-05/0.2659, allocations: 192.2 kB / 1.1 GB, free: 4.547 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.4e-05/0.266, allocations: 176.3 kB / 1.1 GB, free: 4.367 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.469e-05/0.266, allocations: 188.4 kB / 1.101 GB, free: 4.176 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.347e-05/0.2661, allocations: 176.3 kB / 1.101 GB, free: 3.996 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001347/0.2662, allocations: 331.4 kB / 1.101 GB, free: 3.648 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 9.199e-05/0.2663, allocations: 205.8 kB / 1.101 GB, free: 3.422 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.051e-05/0.2664, allocations: 188.1 kB / 1.101 GB, free: 3.23 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001247/0.2666, allocations: 105 kB / 1.101 GB, free: 3.121 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.04e-05/0.2666, allocations: 184.2 kB / 1.102 GB, free: 2.934 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.636e-05/0.2667, allocations: 105 kB / 1.102 GB, free: 2.824 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0002461/0.2669, allocations: 279.1 kB / 1.102 GB, free: 2.551 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2669, allocations: 4 kB / 1.102 GB, free: 2.547 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003655/0.2673, allocations: 83.98 kB / 1.102 GB, free: 2.465 MB / 0.8575 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.0005857/0.2679, allocations: 0.9488 MB / 1.103 GB, free: 1.488 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002142/0.2681, allocations: 176 kB / 1.103 GB, free: 1.316 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.2681, allocations: 0 / 1.103 GB, free: 1.316 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 1.382e-06/0.2681, allocations: 0 / 1.103 GB, free: 1.316 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003828/0.2685, allocations: 457.1 kB / 1.104 GB, free: 0.8672 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002589/0.2711, allocations: 2.941 MB / 1.106 GB, free: 13.8 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002915/0.2714, allocations: 0.7822 MB / 1.107 GB, free: 13 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 1.278e-05/0.2714, allocations: 4 kB / 1.107 GB, free: 12.99 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.889e-05/0.2715, allocations: 55.41 kB / 1.107 GB, free: 12.94 MB / 0.8731 GB Notification: Performance of SimCode: time 3.01e-07/0.2715, allocations: 0 / 1.107 GB, free: 12.94 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2214/0.493, allocations: 6.435 MB / 1.114 GB, free: 6.648 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.109/8.602, allocations: 7.984 kB / 1.114 GB, free: 6.645 MB / 0.8731 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