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.009486/0.009486, allocations: 100.3 kB / 15.73 MB, free: 5.609 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.001375/0.001376, allocations: 197.6 kB / 16.67 MB, free: 5.535 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.36/1.36, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.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.194/2.194, allocations: 390.3 MB / 0.6648 GB, free: 0.5977 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001337/0.001337, allocations: 60.09 kB / 0.9504 GB, free: 8.145 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8829/0.8843, allocations: 140.4 MB / 1.087 GB, free: 5.273 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med): time 0.00233/0.8867, allocations: 1.423 MB / 1.089 GB, free: 4.281 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002791/0.8895, allocations: 2.671 MB / 1.091 GB, free: 2.395 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.658e-05/0.8895, allocations: 0.875 kB / 1.091 GB, free: 2.395 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001529/0.8911, allocations: 0.5873 MB / 1.092 GB, free: 2.082 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 5.736e-05/0.8912, allocations: 20.47 kB / 1.092 GB, free: 2.07 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 4.599e-06/0.8912, allocations: 0.75 kB / 1.092 GB, free: 2.07 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002555/0.8914, allocations: 154.9 kB / 1.092 GB, free: 2 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 7.419e-05/0.8915, allocations: 33.67 kB / 1.092 GB, free: 1.984 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 9.091e-05/0.8916, allocations: 65.8 kB / 1.092 GB, free: 1.961 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001469/0.8918, allocations: 81 kB / 1.092 GB, free: 1.926 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.532e-05/0.8918, allocations: 2.125 kB / 1.092 GB, free: 1.926 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001133/0.8929, allocations: 465.9 kB / 1.093 GB, free: 1.824 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 6.255e-05/0.893, allocations: 37.2 kB / 1.093 GB, free: 1.809 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001234/0.8931, allocations: 96.81 kB / 1.093 GB, free: 1.758 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0007897/0.8939, allocations: 451.5 kB / 1.093 GB, free: 1.559 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.8939, allocations: 0 / 1.093 GB, free: 1.559 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.863e-06/0.894, allocations: 0.7188 kB / 1.093 GB, free: 1.559 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.154e-06/0.894, allocations: 0 / 1.093 GB, free: 1.559 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.0007798/0.8947, allocations: 0.5456 MB / 1.094 GB, free: 1.086 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.449e-05/0.8948, allocations: 9.156 kB / 1.094 GB, free: 1.086 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.718e-05/0.8948, allocations: 106.7 kB / 1.094 GB, free: 0.9727 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001567/0.895, allocations: 105.3 kB / 1.094 GB, free: 0.8828 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001982/0.8952, allocations: 307 kB / 1.094 GB, free: 0.5781 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.511e-05/0.8952, allocations: 153 kB / 1.095 GB, free: 440 kB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.025e-05/0.8953, allocations: 157.2 kB / 1.095 GB, free: 284 kB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.226e-05/0.8953, allocations: 107.3 kB / 1.095 GB, free: 172 kB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.475e-05/0.8953, allocations: 83.16 kB / 1.095 GB, free: 88 kB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.139e-05/0.8954, allocations: 154.6 kB / 1.095 GB, free: 15.93 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.904e-05/0.8955, allocations: 152.2 kB / 1.095 GB, free: 15.79 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.643e-05/0.8955, allocations: 155.4 kB / 1.095 GB, free: 15.63 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003972/0.8959, allocations: 0.5352 MB / 1.096 GB, free: 15.11 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 7.342e-05/0.896, allocations: 170.5 kB / 1.096 GB, free: 14.93 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.215e-05/0.896, allocations: 84.08 kB / 1.096 GB, free: 14.85 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 2.795e-05/0.8961, allocations: 76.06 kB / 1.096 GB, free: 14.77 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.035e-05/0.8961, allocations: 111.1 kB / 1.096 GB, free: 14.66 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=0): time 1.292e-06/0.8961, allocations: 0 / 1.096 GB, free: 14.66 MB / 0.8731 GB Notification: Performance of matching and sorting (n=0): time 0.0001877/0.8963, allocations: 56.02 kB / 1.096 GB, free: 14.61 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.98e-05/0.8964, allocations: 131.3 kB / 1.096 GB, free: 14.47 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005409/0.8969, allocations: 432.4 kB / 1.097 GB, free: 14.26 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 1.278e-05/0.8969, allocations: 29.64 kB / 1.097 GB, free: 14.23 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 8.279e-05/0.897, allocations: 131.7 kB / 1.097 GB, free: 14.11 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 2.845e-06/0.897, allocations: 0 / 1.097 GB, free: 14.11 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001226/0.8972, allocations: 93.05 kB / 1.097 GB, free: 14.07 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001185/0.8973, allocations: 336.1 kB / 1.097 GB, free: 13.75 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001409/0.8974, allocations: 98.88 kB / 1.098 GB, free: 13.71 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002181/0.8977, allocations: 169.9 kB / 1.098 GB, free: 13.61 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003671/0.898, allocations: 301.9 kB / 1.098 GB, free: 13.46 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.009e-06/0.898, allocations: 0.875 kB / 1.098 GB, free: 13.46 MB / 0.8731 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0005552/0.8986, allocations: 335.2 kB / 1.098 GB, free: 13.31 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.755e-05/0.8986, allocations: 8.938 kB / 1.098 GB, free: 13.31 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/0.8986, allocations: 1.891 kB / 1.098 GB, free: 13.31 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.415e-05/0.8987, allocations: 2.125 kB / 1.098 GB, free: 13.31 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.788e-06/0.8987, allocations: 3.688 kB / 1.098 GB, free: 13.31 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.136e-06/0.8987, allocations: 6.688 kB / 1.098 GB, free: 13.3 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001672/0.8989, allocations: 48.5 kB / 1.098 GB, free: 13.27 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.18e-05/0.8989, allocations: 8.203 kB / 1.098 GB, free: 13.26 MB / 0.8731 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.0002587/0.8991, allocations: 240.5 kB / 1.099 GB, free: 13.06 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.101e-05/0.8992, allocations: 128.5 kB / 1.099 GB, free: 12.94 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.338e-05/0.8993, allocations: 116.4 kB / 1.099 GB, free: 12.82 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.86e-05/0.8994, allocations: 177 kB / 1.099 GB, free: 12.64 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.749e-05/0.8994, allocations: 179.4 kB / 1.099 GB, free: 12.46 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.659e-05/0.8995, allocations: 184.8 kB / 1.099 GB, free: 12.27 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003179/0.8998, allocations: 477.1 kB / 1.1 GB, free: 11.8 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.259e-05/0.8999, allocations: 106.9 kB / 1.1 GB, free: 11.69 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.814e-05/0.8999, allocations: 106.5 kB / 1.1 GB, free: 11.58 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.117e-05/0.9, allocations: 189.8 kB / 1.1 GB, free: 11.39 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.817e-05/0.9, allocations: 182 kB / 1.1 GB, free: 11.21 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.409e-05/0.9001, allocations: 186.1 kB / 1.101 GB, free: 11.02 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.305e-05/0.9002, allocations: 182 kB / 1.101 GB, free: 10.84 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001411/0.9003, allocations: 327.1 kB / 1.101 GB, free: 10.5 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001055/0.9004, allocations: 199.1 kB / 1.101 GB, free: 10.29 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.727e-05/0.9005, allocations: 186.9 kB / 1.101 GB, free: 10.11 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001278/0.9007, allocations: 110.4 kB / 1.101 GB, free: 9.992 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.831e-05/0.9007, allocations: 179 kB / 1.102 GB, free: 9.812 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.795e-05/0.9008, allocations: 110.5 kB / 1.102 GB, free: 9.699 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0002995/0.9011, allocations: 275.9 kB / 1.102 GB, free: 9.574 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.31e-07/0.9011, allocations: 0 / 1.102 GB, free: 9.574 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0004438/0.9015, allocations: 82.72 kB / 1.102 GB, free: 9.566 MB / 0.8731 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.0006657/0.9022, allocations: 0.9628 MB / 1.103 GB, free: 8.688 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0002515/0.9025, allocations: 164.7 kB / 1.103 GB, free: 8.613 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.9025, allocations: 0 / 1.103 GB, free: 8.613 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 2.905e-06/0.9025, allocations: 1.891 kB / 1.103 GB, free: 8.613 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003849/0.9029, allocations: 468.2 kB / 1.104 GB, free: 8.152 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00311/0.906, allocations: 2.937 MB / 1.107 GB, free: 6.227 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003267/0.9063, allocations: 0.7729 MB / 1.107 GB, free: 5.523 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 1.986e-05/0.9064, allocations: 2.938 kB / 1.107 GB, free: 5.523 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.796e-05/0.9065, allocations: 51.75 kB / 1.107 GB, free: 5.48 MB / 0.8731 GB Notification: Performance of SimCode: time 7.22e-07/0.9065, allocations: 5.156 kB / 1.107 GB, free: 5.477 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02582/0.9323, allocations: 6.533 MB / 1.114 GB, free: 4.703 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.018/8.95, allocations: 4.375 kB / 1.114 GB, free: 4.703 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