Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.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_low,fileNamePrefix="Buildings_9_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_low",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low,fileNamePrefix="Buildings_9_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_low",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.000992/0.0009919, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009617/0.0009617, allocations: 195.2 kB / 16.53 MB, free: 6.664 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.193/1.193, allocations: 222.9 MB / 240.2 MB, free: 4.418 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.263/2.263, allocations: 390.3 MB / 0.6647 GB, free: 460 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001407/0.001408, allocations: 67.91 kB / 0.8126 GB, free: 14.39 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5813/0.5827, allocations: 140.4 MB / 0.9497 GB, free: 9.129 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low): time 0.002181/0.5849, allocations: 1.394 MB / 0.9511 GB, free: 8.023 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001697/0.5866, allocations: 1.929 MB / 0.953 GB, free: 6.496 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.759e-05/0.5867, allocations: 0 / 0.953 GB, free: 6.496 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0008208/0.5875, allocations: 390.6 kB / 0.9533 GB, free: 6.219 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 3.962e-05/0.5876, allocations: 15.72 kB / 0.9534 GB, free: 6.207 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 3.888e-06/0.5876, allocations: 4 kB / 0.9534 GB, free: 6.203 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001839/0.5878, allocations: 124.9 kB / 0.9535 GB, free: 6.137 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 5.169e-05/0.5878, allocations: 19.59 kB / 0.9535 GB, free: 6.125 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.47e-05/0.5879, allocations: 42.88 kB / 0.9535 GB, free: 6.109 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 9.679e-05/0.588, allocations: 62.92 kB / 0.9536 GB, free: 6.078 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.58e-05/0.588, allocations: 2.5 kB / 0.9536 GB, free: 6.078 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004453/0.5884, allocations: 181.7 kB / 0.9538 GB, free: 6.035 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.235e-05/0.5885, allocations: 30.91 kB / 0.9538 GB, free: 6.016 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 7.091e-05/0.5886, allocations: 76.78 kB / 0.9539 GB, free: 5.973 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003958/0.589, allocations: 290.9 kB / 0.9541 GB, free: 5.809 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.665e-06/0.589, allocations: 0 / 0.9541 GB, free: 5.809 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.813e-06/0.589, allocations: 0 / 0.9541 GB, free: 5.809 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 9.177e-06/0.589, allocations: 5.344 kB / 0.9542 GB, free: 5.805 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.0005392/0.5896, allocations: 485.3 kB / 0.9546 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.566e-05/0.5896, allocations: 9.281 kB / 0.9546 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.558e-05/0.5896, allocations: 107 kB / 0.9547 GB, free: 5.238 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001347/0.5898, allocations: 101.6 kB / 0.9548 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001397/0.5899, allocations: 296.8 kB / 0.9551 GB, free: 4.84 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.376e-05/0.5899, allocations: 161.2 kB / 0.9553 GB, free: 4.684 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.243e-05/0.59, allocations: 153.1 kB / 0.9554 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 3.476e-05/0.59, allocations: 112.9 kB / 0.9555 GB, free: 4.418 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.132e-05/0.59, allocations: 76.44 kB / 0.9556 GB, free: 4.344 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.745e-05/0.59, allocations: 154.6 kB / 0.9557 GB, free: 4.191 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.72e-05/0.5901, allocations: 150.6 kB / 0.9559 GB, free: 4.043 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.859e-05/0.5901, allocations: 155.9 kB / 0.956 GB, free: 3.891 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002088/0.5903, allocations: 0.5005 MB / 0.9565 GB, free: 3.367 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 3.667e-05/0.5903, allocations: 174.3 kB / 0.9567 GB, free: 3.188 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.305e-05/0.5904, allocations: 81.42 kB / 0.9568 GB, free: 3.105 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.129e-05/0.5904, allocations: 79.22 kB / 0.9568 GB, free: 3.027 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.719e-05/0.5904, allocations: 110.9 kB / 0.9569 GB, free: 2.91 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 8.51e-07/0.5904, allocations: 0 / 0.9569 GB, free: 2.91 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 0.0001489/0.5906, allocations: 48.08 kB / 0.957 GB, free: 2.867 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.538e-05/0.5906, allocations: 130.7 kB / 0.9571 GB, free: 2.727 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002418/0.5908, allocations: 324.1 kB / 0.9574 GB, free: 2.508 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.763e-06/0.5909, allocations: 25.7 kB / 0.9574 GB, free: 2.477 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.234e-05/0.5909, allocations: 120 kB / 0.9576 GB, free: 2.363 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.044e-06/0.5909, allocations: 0 / 0.9576 GB, free: 2.363 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.377e-05/0.591, allocations: 61.16 kB / 0.9576 GB, free: 2.324 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.542e-05/0.591, allocations: 328.5 kB / 0.9579 GB, free: 2 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.156e-05/0.5911, allocations: 68.45 kB / 0.958 GB, free: 1.965 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.619e-05/0.5912, allocations: 119.1 kB / 0.9581 GB, free: 1.867 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001591/0.5914, allocations: 211.2 kB / 0.9583 GB, free: 1.727 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.5914, allocations: 2.062 kB / 0.9583 GB, free: 1.727 MB / 0.7169 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0003457/0.5917, allocations: 237.3 kB / 0.9585 GB, free: 1.594 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.275e-05/0.5917, allocations: 6.062 kB / 0.9585 GB, free: 1.594 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.5917, allocations: 1.656 kB / 0.9585 GB, free: 1.594 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.31e-05/0.5918, allocations: 1.375 kB / 0.9585 GB, free: 1.594 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.815e-06/0.5918, allocations: 5.5 kB / 0.9586 GB, free: 1.59 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.5918, allocations: 2.438 kB / 0.9586 GB, free: 1.59 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001125/0.5919, allocations: 34.31 kB / 0.9586 GB, free: 1.562 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.908e-06/0.5919, allocations: 8.297 kB / 0.9586 GB, free: 1.559 MB / 0.7169 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.0001337/0.592, allocations: 222.9 kB / 0.9588 GB, free: 1.352 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.453e-05/0.5921, allocations: 127.9 kB / 0.9589 GB, free: 1.227 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.26e-05/0.5921, allocations: 109.6 kB / 0.959 GB, free: 1.121 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.81e-05/0.5921, allocations: 176.3 kB / 0.9592 GB, free: 0.9414 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.169e-05/0.5922, allocations: 186 kB / 0.9594 GB, free: 0.7539 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.807e-05/0.5922, allocations: 180.2 kB / 0.9596 GB, free: 0.5703 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001501/0.5924, allocations: 454.3 kB / 0.96 GB, free: 96 kB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.903e-05/0.5924, allocations: 104.9 kB / 0.9601 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.819e-05/0.5924, allocations: 110.7 kB / 0.9602 GB, free: 15.87 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.235e-05/0.5925, allocations: 184.2 kB / 0.9604 GB, free: 15.68 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001162/0.5926, allocations: 178 kB / 0.9605 GB, free: 15.5 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.694e-05/0.5927, allocations: 186 kB / 0.9607 GB, free: 15.32 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.467e-05/0.5927, allocations: 180.3 kB / 0.9609 GB, free: 15.13 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001359/0.5929, allocations: 320.5 kB / 0.9612 GB, free: 14.8 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 8.317e-05/0.593, allocations: 200.1 kB / 0.9614 GB, free: 14.59 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.914e-05/0.5931, allocations: 188.2 kB / 0.9616 GB, free: 14.4 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001152/0.5932, allocations: 107 kB / 0.9617 GB, free: 14.29 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001018/0.5933, allocations: 180.2 kB / 0.9618 GB, free: 14.11 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.001e-05/0.5933, allocations: 102.5 kB / 0.9619 GB, free: 14 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001815/0.5935, allocations: 216.4 kB / 0.9621 GB, free: 13.86 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5935, allocations: 0 / 0.9621 GB, free: 13.86 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003403/0.5939, allocations: 63 kB / 0.9622 GB, free: 13.85 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.0005458/0.5944, allocations: 0.9251 MB / 0.9631 GB, free: 12.98 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001999/0.5946, allocations: 105.9 kB / 0.9632 GB, free: 12.92 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.5946, allocations: 0 / 0.9632 GB, free: 12.92 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.272e-06/0.5946, allocations: 0 / 0.9632 GB, free: 12.92 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003568/0.595, allocations: 464.3 kB / 0.9636 GB, free: 12.47 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002387/0.5974, allocations: 2.434 MB / 0.966 GB, free: 10.55 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002777/0.5977, allocations: 0.7401 MB / 0.9667 GB, free: 9.82 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 1.351e-05/0.5977, allocations: 2.406 kB / 0.9668 GB, free: 9.82 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.059e-05/0.5978, allocations: 37.33 kB / 0.9668 GB, free: 9.785 MB / 0.7325 GB Notification: Performance of SimCode: time 3.7e-07/0.5978, allocations: 4 kB / 0.9668 GB, free: 9.781 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02802/0.6258, allocations: 4.791 MB / 0.9715 GB, free: 7.379 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.283/7.909, allocations: 9.938 kB / 0.9715 GB, free: 7.375 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe ; mkfifo Buildings_9_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe >> ../files/Buildings_9_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_low_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_low.fmu > Buildings_9_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_Transmission_Functions_Validation_SelectCable_low.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches