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.005322/0.005322, allocations: 103.3 kB / 15.74 MB, free: 5.957 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.001194/0.001194, allocations: 192.2 kB / 16.67 MB, free: 5.879 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.292/1.292, allocations: 222.9 MB / 240.4 MB, free: 15.09 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.189/2.189, allocations: 390.3 MB / 0.6648 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001287/0.001288, allocations: 71.89 kB / 0.9504 GB, free: 8.199 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7888/0.7901, allocations: 140.4 MB / 1.087 GB, free: 5.285 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low): time 0.002274/0.7924, allocations: 1.404 MB / 1.089 GB, free: 4.305 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002036/0.7944, allocations: 1.923 MB / 1.091 GB, free: 2.973 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.04e-05/0.7945, allocations: 0.7812 kB / 1.091 GB, free: 2.973 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0009873/0.7955, allocations: 395 kB / 1.091 GB, free: 2.766 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 4.542e-05/0.7956, allocations: 11.8 kB / 1.091 GB, free: 2.762 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 3.717e-06/0.7956, allocations: 0 / 1.091 GB, free: 2.762 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002078/0.7958, allocations: 130.2 kB / 1.091 GB, free: 2.699 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 6.032e-05/0.7958, allocations: 22.88 kB / 1.091 GB, free: 2.684 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 5.817e-05/0.7959, allocations: 50.23 kB / 1.091 GB, free: 2.664 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001108/0.796, allocations: 61.89 kB / 1.091 GB, free: 2.641 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.404e-05/0.796, allocations: 3.5 kB / 1.091 GB, free: 2.641 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005057/0.7966, allocations: 181.3 kB / 1.092 GB, free: 2.613 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 4.714e-05/0.7966, allocations: 27.67 kB / 1.092 GB, free: 2.605 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 8.612e-05/0.7967, allocations: 76.16 kB / 1.092 GB, free: 2.566 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0004732/0.7972, allocations: 293 kB / 1.092 GB, free: 2.445 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.7972, allocations: 0.9688 kB / 1.092 GB, free: 2.445 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.382e-06/0.7972, allocations: 0 / 1.092 GB, free: 2.445 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.03e-06/0.7972, allocations: 4 kB / 1.092 GB, free: 2.441 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.00065/0.7979, allocations: 488.1 kB / 1.092 GB, free: 2.012 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.811e-05/0.7979, allocations: 9.312 kB / 1.092 GB, free: 2.012 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.885e-05/0.7979, allocations: 110.7 kB / 1.092 GB, free: 1.895 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001429/0.7981, allocations: 99.16 kB / 1.093 GB, free: 1.809 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001625/0.7983, allocations: 291.9 kB / 1.093 GB, free: 1.512 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.452e-05/0.7983, allocations: 156.1 kB / 1.093 GB, free: 1.359 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.528e-05/0.7983, allocations: 153.5 kB / 1.093 GB, free: 1.211 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 3.995e-05/0.7984, allocations: 106.5 kB / 1.093 GB, free: 1.102 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.274e-05/0.7984, allocations: 75.28 kB / 1.093 GB, free: 1.027 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.25e-05/0.7984, allocations: 151.6 kB / 1.093 GB, free: 0.8789 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.14e-05/0.7984, allocations: 159.3 kB / 1.094 GB, free: 0.7227 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.181e-05/0.7985, allocations: 155.6 kB / 1.094 GB, free: 0.5703 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002528/0.7987, allocations: 0.5079 MB / 1.094 GB, free: 60 kB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 7.898e-05/0.7988, allocations: 166.3 kB / 1.094 GB, free: 15.89 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.94e-05/0.7988, allocations: 80.94 kB / 1.094 GB, free: 15.8 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 2.735e-05/0.7989, allocations: 84.31 kB / 1.095 GB, free: 15.72 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.26e-05/0.7989, allocations: 110.5 kB / 1.095 GB, free: 15.61 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=0): time 1.042e-06/0.7989, allocations: 3.938 kB / 1.095 GB, free: 15.6 MB / 0.8731 GB Notification: Performance of matching and sorting (n=0): time 0.0001718/0.7991, allocations: 46.02 kB / 1.095 GB, free: 15.56 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.722e-05/0.7992, allocations: 127.2 kB / 1.095 GB, free: 15.43 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003594/0.7995, allocations: 323.5 kB / 1.095 GB, free: 15.25 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 1.432e-05/0.7996, allocations: 30.77 kB / 1.095 GB, free: 15.22 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 7.206e-05/0.7996, allocations: 112.3 kB / 1.095 GB, free: 15.12 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 1.923e-06/0.7996, allocations: 0.9062 kB / 1.095 GB, free: 15.12 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.428e-05/0.7997, allocations: 61.89 kB / 1.095 GB, free: 15.09 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001171/0.7999, allocations: 330.5 kB / 1.096 GB, free: 14.77 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.821e-05/0.8, allocations: 63.59 kB / 1.096 GB, free: 14.75 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001423/0.8001, allocations: 130.1 kB / 1.096 GB, free: 14.65 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002673/0.8004, allocations: 202.1 kB / 1.096 GB, free: 14.55 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.8004, allocations: 0.6875 kB / 1.096 GB, free: 14.55 MB / 0.8731 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0004624/0.8009, allocations: 247 kB / 1.096 GB, free: 14.43 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.666e-05/0.8009, allocations: 7.094 kB / 1.096 GB, free: 14.43 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.203e-06/0.8009, allocations: 0.9844 kB / 1.096 GB, free: 14.43 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.427e-05/0.8009, allocations: 7.156 kB / 1.096 GB, free: 14.43 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.687e-06/0.8009, allocations: 2.516 kB / 1.096 GB, free: 14.43 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.475e-06/0.8009, allocations: 6.484 kB / 1.096 GB, free: 14.43 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001258/0.8011, allocations: 26.73 kB / 1.096 GB, free: 14.41 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.12e-05/0.8011, allocations: 4.125 kB / 1.096 GB, free: 14.41 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.0002145/0.8013, allocations: 221.9 kB / 1.097 GB, free: 14.21 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.207e-05/0.8014, allocations: 127.9 kB / 1.097 GB, free: 14.09 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.778e-05/0.8014, allocations: 115.1 kB / 1.097 GB, free: 13.97 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.789e-05/0.8015, allocations: 185.9 kB / 1.097 GB, free: 13.79 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.614e-05/0.8016, allocations: 177.9 kB / 1.097 GB, free: 13.61 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.46e-05/0.8016, allocations: 178 kB / 1.097 GB, free: 13.43 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002625/0.8019, allocations: 453.1 kB / 1.098 GB, free: 12.96 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.314e-05/0.8019, allocations: 114.3 kB / 1.098 GB, free: 12.85 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.008e-05/0.802, allocations: 106.5 kB / 1.098 GB, free: 12.74 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.303e-05/0.802, allocations: 178.2 kB / 1.098 GB, free: 12.56 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.438e-05/0.8021, allocations: 177.8 kB / 1.098 GB, free: 12.38 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.263e-05/0.8022, allocations: 185.5 kB / 1.098 GB, free: 12.19 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.745e-05/0.8022, allocations: 178.7 kB / 1.099 GB, free: 12.01 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001288/0.8023, allocations: 318.3 kB / 1.099 GB, free: 11.69 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 9.104e-05/0.8024, allocations: 205.1 kB / 1.099 GB, free: 11.47 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.595e-05/0.8025, allocations: 178.4 kB / 1.099 GB, free: 11.29 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001215/0.8026, allocations: 103.7 kB / 1.099 GB, free: 11.18 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.305e-05/0.8027, allocations: 185.5 kB / 1.1 GB, free: 11 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.562e-05/0.8028, allocations: 107 kB / 1.1 GB, free: 10.89 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0002233/0.803, allocations: 214.8 kB / 1.1 GB, free: 10.78 MB / 0.8731 GB Notification: Performance of sort global known variables: time 3.11e-07/0.803, allocations: 0 / 1.1 GB, free: 10.78 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0003859/0.8034, allocations: 68.28 kB / 1.1 GB, free: 10.77 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.0006064/0.804, allocations: 0.9321 MB / 1.101 GB, free: 9.895 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0001989/0.8042, allocations: 103.4 kB / 1.101 GB, free: 9.855 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.8042, allocations: 4.062 kB / 1.101 GB, free: 9.852 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 1.252e-06/0.8042, allocations: 0.5938 kB / 1.101 GB, free: 9.852 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003625/0.8046, allocations: 459.6 kB / 1.101 GB, free: 9.402 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002688/0.8073, allocations: 2.433 MB / 1.104 GB, free: 7.656 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003239/0.8076, allocations: 0.7367 MB / 1.104 GB, free: 6.957 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 1.947e-05/0.8077, allocations: 7.75 kB / 1.104 GB, free: 6.953 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.62e-05/0.8077, allocations: 36.66 kB / 1.105 GB, free: 6.922 MB / 0.8731 GB Notification: Performance of SimCode: time 3.11e-07/0.8077, allocations: 0.7188 kB / 1.105 GB, free: 6.922 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02402/0.8318, allocations: 4.846 MB / 1.109 GB, free: 6.266 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.521/8.353, allocations: 6.781 kB / 1.109 GB, free: 6.266 MB / 0.8731 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 & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.csv","/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